Skip to content

Commit 2bb7617

Browse files
committed
Merge branch 'hotfix/fix-import-error'
2 parents 0bda6d3 + fae8634 commit 2bb7617

File tree

2 files changed

+124
-122
lines changed

2 files changed

+124
-122
lines changed

Import/com/aras/innovator/tdf/tp_XmlSchema/Standard.xml

Lines changed: 110 additions & 109 deletions
Original file line numberDiff line numberDiff line change
@@ -155,115 +155,7 @@
155155
&lt;/xs:schema&gt;</content>
156156
<name>Standard</name>
157157
<Relationships>
158-
<Item type="tp_Stylesheet" id="E6B0F93E610A41DE85642363BCFFFB20" action="add">
159-
<parent_stylesheet keyed_name="Custom Style Settings" type="tp_Stylesheet">E574711605AF4ADEABF09CFABF4FB829</parent_stylesheet>
160-
<sort_order>128</sort_order>
161-
<source_id keyed_name="Standard" type="tp_XmlSchema">41EBFC4BCC754274B494BF525F49A6E1</source_id>
162-
<style_content>.Standard-Doc {
163-
text-align: left;
164-
font-family: "Tahoma", Geneva, sans-serif
165-
}
166-
167-
.Standard-Doc &gt; .Title {
168-
margin-top: 15px;
169-
font-size: 2em;
170-
text-align: center;
171-
color: blue;
172-
}
173-
174-
.Standard-Doc .Subtitle {
175-
margin-top: 0px;
176-
font-size: 1.3em;
177-
text-align: center;
178-
color: #0066FF;
179-
}
180-
181-
.Standard-Doc .Graphic-Block {
182-
display: block;
183-
margin-top: 8px;
184-
margin-bottom: 8px;
185-
}
186-
187-
.Standard-Doc .Graphic-Block img {
188-
display: block;
189-
margin-left: auto;
190-
margin-right: auto;
191-
}
192-
193-
.Standard-Doc .Graphic-Block .Label {
194-
color: green;
195-
font-size: 1em;
196-
text-align: center;
197-
}
198-
199-
.Standard-Doc .Section &gt; .Title {
200-
font-size: 1.5em;
201-
font-style: italic;
202-
font-weight: bold;
203-
color: #505050;
204-
padding-top: 10px;
205-
padding-bottom: 10px;
206-
text-align: left;
207-
}
208-
209-
.Standard-Doc table {
210-
width:100%;
211-
}
212-
213-
.Standard-Doc .Table, .Standard-Doc .Entry{
214-
border: 1px solid white;
215-
border-collapse: collapse;
216-
}
217-
218-
.Standard-Doc .Entry {
219-
padding: 2px;
220-
text-align: left;
221-
font-size: 1em;
222-
}
223-
224-
.Standard-Doc .Row:nth-child(even) {
225-
background-color: #ddd;
226-
}
227-
228-
.Standard-Doc .Row:nth-child(odd) {
229-
background-color:#eee;
230-
}
231-
232-
.Standard-Doc .Row:nth-child(1) {
233-
background-color:#ccc;
234-
text-align: center;
235-
font-size: 1.1em;
236-
font-weight: bold;
237-
}
238-
239-
.Standard-Doc .Row:nth-child(1) .Text {
240-
text-align: center !important;
241-
}
242-
243-
.Standard-Doc .List, .Standard-Doc .Table {
244-
margin-top: 8px;
245-
margin-bottom: 8px;
246-
}
247-
248-
.ItemInfo .Row:nth-of-type(-n+2) {
249-
min-height: 20px;
250-
background-color: #DDE7F5;
251-
font-size: 1em;
252-
font-weight: bold;
253-
}
254-
255-
.ItemInfo .Title {
256-
padding: 2px;
257-
text-align: center;
258-
}
259-
260-
.ItemInfo .Row:nth-of-type(2) {
261-
font-size: 1em;
262-
}
263-
</style_content>
264-
<name>Standard Style Settings</name>
265-
</Item>
266-
<Item type="tp_Stylesheet" id="E574711605AF4ADEABF09CFABF4FB829" action="add">
158+
<Item type="tp_Stylesheet" id="E574711605AF4ADEABF09CFABF4FB829" action="add">
267159
<sort_order>256</sort_order>
268160
<source_id keyed_name="Standard" type="tp_XmlSchema">41EBFC4BCC754274B494BF525F49A6E1</source_id>
269161
<style_content>/* These CSS rules will override the rules in Standard Style Settings */
@@ -512,6 +404,115 @@ body {
512404
</style_content>
513405
<name>Custom Style Settings</name>
514406
</Item>
407+
<Item type="tp_Stylesheet" id="E6B0F93E610A41DE85642363BCFFFB20" action="add">
408+
<parent_stylesheet keyed_name="Custom Style Settings" type="tp_Stylesheet">E574711605AF4ADEABF09CFABF4FB829</parent_stylesheet>
409+
<sort_order>128</sort_order>
410+
<source_id keyed_name="Standard" type="tp_XmlSchema">41EBFC4BCC754274B494BF525F49A6E1</source_id>
411+
<style_content>.Standard-Doc {
412+
text-align: left;
413+
font-family: "Tahoma", Geneva, sans-serif
414+
}
415+
416+
.Standard-Doc &gt; .Title {
417+
margin-top: 15px;
418+
font-size: 2em;
419+
text-align: center;
420+
color: blue;
421+
}
422+
423+
.Standard-Doc .Subtitle {
424+
margin-top: 0px;
425+
font-size: 1.3em;
426+
text-align: center;
427+
color: #0066FF;
428+
}
429+
430+
.Standard-Doc .Graphic-Block {
431+
display: block;
432+
margin-top: 8px;
433+
margin-bottom: 8px;
434+
}
435+
436+
.Standard-Doc .Graphic-Block img {
437+
display: block;
438+
margin-left: auto;
439+
margin-right: auto;
440+
}
441+
442+
.Standard-Doc .Graphic-Block .Label {
443+
color: green;
444+
font-size: 1em;
445+
text-align: center;
446+
}
447+
448+
.Standard-Doc .Section &gt; .Title {
449+
font-size: 1.5em;
450+
font-style: italic;
451+
font-weight: bold;
452+
color: #505050;
453+
padding-top: 10px;
454+
padding-bottom: 10px;
455+
text-align: left;
456+
}
457+
458+
.Standard-Doc table {
459+
width:100%;
460+
}
461+
462+
.Standard-Doc .Table, .Standard-Doc .Entry{
463+
border: 1px solid white;
464+
border-collapse: collapse;
465+
}
466+
467+
.Standard-Doc .Entry {
468+
padding: 2px;
469+
text-align: left;
470+
font-size: 1em;
471+
}
472+
473+
.Standard-Doc .Row:nth-child(even) {
474+
background-color: #ddd;
475+
}
476+
477+
.Standard-Doc .Row:nth-child(odd) {
478+
background-color:#eee;
479+
}
480+
481+
.Standard-Doc .Row:nth-child(1) {
482+
background-color:#ccc;
483+
text-align: center;
484+
font-size: 1.1em;
485+
font-weight: bold;
486+
}
487+
488+
.Standard-Doc .Row:nth-child(1) .Text {
489+
text-align: center !important;
490+
}
491+
492+
.Standard-Doc .List, .Standard-Doc .Table {
493+
margin-top: 8px;
494+
margin-bottom: 8px;
495+
}
496+
497+
.ItemInfo .Row:nth-of-type(-n+2) {
498+
min-height: 20px;
499+
background-color: #DDE7F5;
500+
font-size: 1em;
501+
font-weight: bold;
502+
}
503+
504+
.ItemInfo .Title {
505+
padding: 2px;
506+
text-align: center;
507+
}
508+
509+
.ItemInfo .Row:nth-of-type(2) {
510+
font-size: 1em;
511+
}
512+
</style_content>
513+
<name>Standard Style Settings</name>
514+
</Item>
515+
515516
<Item type="tp_Stylesheet" id="336FAF0248FA4A6CA19BD94A9D1B3A65" action="add">
516517
<sort_order>384</sort_order>
517518
<source_id keyed_name="Standard" type="tp_XmlSchema">41EBFC4BCC754274B494BF525F49A6E1</source_id>

README.md

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2,26 +2,27 @@
22

33
Demonstrates how to create a custom content generator for Tech Doc schema elements.
44

5-
## Project Details
5+
## How It Works
66

7-
See [TESTSTATUS file](./TESTSTATUS.md) for latest testing information.
7+
![Customized ItemInfo Element](./Screenshots/catalog-in-editor.png)
88

9-
#### Built Using:
10-
Aras 11.0 SP9
9+
The project's import package adds a new content generator method for the ItemInfo schema element, replacing the out-of-the-box implementation. The new content generator method, `labs_ItemInfoContentGenerator`, populates every new ItemInfo element with the name, description, cost, major revision/generation, state, and created date for the selected assembly (Part item). The method also adds the assembly's BOM in a tabular layout.
1110

12-
#### Versions Tested:
13-
Aras 11.0 SP9 (open release)
11+
## History
1412

15-
#### Browsers Tested:
16-
Firefox 38 ESR
13+
This project and the following release notes have been migrated from the old Aras Projects page.
1714

18-
> Though built and tested using Aras 11.0 SP9, this project should function in older releases of Aras 11.0.
15+
Release | Notes
16+
--------|--------
17+
[v1.1](https://github.com/ArasLabs/custom-tech-docs/releases/tag/v1.1) | Fixes an import error.
18+
[v1.0](https://github.com/ArasLabs/custom-tech-docs/releases/tag/v1.0) | First release. Though built and tested using Aras 11.0 SP9, this project may function in older releases of Aras 11.0.
1919

20-
## How It Works
20+
#### Supported Aras Versions
2121

22-
![Customized ItemInfo Element](./Screenshots/catalog-in-editor.png)
23-
24-
The project's import package adds a new content generator method for the ItemInfo schema element, replacing the out-of-the-box implementation. The new content generator method, `labs_ItemInfoContentGenerator`, populates every new ItemInfo element with the name, description, cost, major revision/generation, state, and created date for the selected assembly (Part item). The method also adds the assembly's BOM in a tabular layout.
22+
Project | Aras
23+
--------|------
24+
[v1.1](https://github.com/ArasLabs/custom-tech-docs/releases/tag/v1.1) | 11.0 SP9
25+
[v1.0](https://github.com/ArasLabs/custom-tech-docs/releases/tag/v1.0) | 11.0 SP9
2526

2627
## Installation
2728

0 commit comments

Comments
 (0)