Apply a Local ID Generator: Difference between revisions

From IMSMA Wiki
Jump to navigation Jump to search
Joe (talk | contribs)
No edit summary
 
(15 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{note| If an existing template does not have the [[File:AddLocalIDButtonGrayedOut.png|20px|<span title=""></span>]]  button next to the object ID data field you want to apply a local ID generator to the:
# clear/delete the ID field including the label
# drag it back in again from the source tree.}}
To specify which [[Add a Local ID Generator | item ID number series]] to be used:
<ol>
<ol>
<li>From the '''Customisation''' menu, select '''Data Entry Forms'''.</li>
<li>Double-click the [[File:AddLocalIDButtonGrayedOut.png|20px|<span title=""></span>]] button next to the element.</li>
<li>From the '''Data Entry Forms''' menu, select '''Design Templates'''.</li>
::The Data Entry Form Template Designer window displays.
<li>Create or modify a data entry form template following the instructions in the ''[[Data Entry Form Templates]]'' section.</li>
</ol>
 
{{note| If an existing template does not have the [[File:Local ID Type Button.png|20px|<span title=""></span>]] button next to the object ID data element you want to apply a local ID generator to, drag the data element to the Data Elements pane to remove it from the template and then add a new object ID data element to the template.}}
 
<ol start="4">
<li>From the data entry form template, apply the local ID generator to the object ID data element that you want to have IDs automatically generated for.</li>
::a.Double-click the [[File:Local ID Type Button.png|20px|<span title=""></span>]] button next to the object ID data element you want to have IDs automatically generated for.
:::The Component Property Editor window displays.
 
 
   
   
[[File:Accessing the Component Property Editor Window.png|440px|''Figure 168.Accessing the Component Property Editor Window'']]
[[File:ApplyLocalIDGenerator.png|600px|center|''Applying a Local ID Generator to the Template'']]


<li>Click the [[File:Generate ID Number.png|20px|<span title=""></span>]] button on the Component Property Editor window.</li>
<li>Select a row in the Local ID Type Selection window, and click the '''OK''' button.</li>
<li>Click the '''OK''' button to close the Component Property Editor window.</li>
</ol>


::b.Click the [[File:Apply Local ID Type Button.png|20px|<span title=""></span>]] button.
{{NavBox HowTo Data Entry Forms}}
:::The Local ID Generator Selection window displays.
::c.Select the row associated with the local ID generator you want to apply to the object ID data element.
::d.Click the '''OK''' button.
::e.On the Component Property Editor window, click the '''OK''' button.
::f.From the Data Entry Form Template Designer window, save the template following the instructions in the ''[[Save a Data Entry Form Template]]'' section.
::g.Publish the template following the instructions in the ''[[Publish a Data Entry Form Template]]'' section.
 
</ol>


{{NavBox HowTo ID Generator}}
[[Category:NAA]]

Latest revision as of 22:25, 17 June 2017

If an existing template does not have the button next to the object ID data field you want to apply a local ID generator to the:
  1. clear/delete the ID field including the label
  2. drag it back in again from the source tree.

To specify which item ID number series to be used:

  1. Double-click the button next to the element.
  2. Applying a Local ID Generator to the Template
    Applying a Local ID Generator to the Template
  3. Click the button on the Component Property Editor window.
  4. Select a row in the Local ID Type Selection window, and click the OK button.
  5. Click the OK button to close the Component Property Editor window.

{{#switch:|subgroup|child=|none=|#default=

{{#if:|<th scope="col" style="border-left:2px solid #fdfdfd;width:100%;|}}{{#if:|{{#if:Customising IMSMANG|}}}}{{#if:{{#switch:{{#if:|{{{border}}}|child}}|subgroup|child=|none=|#default=

}}{{#ifeq:|Template|{{#ifeq:{{#if:|{{{border}}}|child}}|child||{{#ifeq:{{#if:|{{{border}}}|child}}|subgroup||{{#switch:apply a local id generator

|doc
|sandbox
|testcases =
|#default = {{#switch:
 |plainlist
 |hlist
 |hlist hnum
 |hlist vcard
 |vcard hlist = 
 |#default = 
 }}
}}

}}}}}}|{{#if:Customising IMSMANG|}}{{#if:|

{{{imageleft}}}

}}{{#if: Design Data Entry Forms| Design Data Entry Forms<td style="text-align:left;border-left-width:2px;border-left-style:solid;|

{{#switch:{{#if:|{{{border}}}|child}}|subgroup|child=

|none=|#default=

}}{{#ifeq:|Template|{{#ifeq:{{#if:|{{{border}}}|child}}|child||{{#ifeq:{{#if:|{{{border}}}|child}}|subgroup||{{#switch:apply a local id generator

|doc
|sandbox
|testcases =
|#default = {{#switch:
 |plainlist
 |hlist
 |hlist hnum
 |hlist vcard
 |vcard hlist = 
 |#default = 
 }}
}}

}}}}}}{{#if:|

{{{image}}}

}}}}{{#if:|{{#if:Customising IMSMANG{{#switch:{{#if:|{{{border}}}|child}}|subgroup|child=|none=|#default=

}}{{#ifeq:|Template|{{#ifeq:{{#if:|{{{border}}}|child}}|child||{{#ifeq:{{#if:|{{{border}}}|child}}|subgroup||{{#switch:apply a local id generator

|doc
|sandbox
|testcases =
|#default = {{#switch:
 |plainlist
 |hlist
 |hlist hnum
 |hlist vcard
 |vcard hlist = 
 |#default = 
 }}
}}

}}}}}}|}}{{#if:|{{{group2}}}<td style="text-align:left;border-left-width:2px;border-left-style:solid;|

{{{list2}}}

}}{{#if:|{{#if:Customising IMSMANG{{#switch:{{#if:|{{{border}}}|child}}|subgroup|child=|none=|#default=

}}{{#ifeq:|Template|{{#ifeq:{{#if:|{{{border}}}|child}}|child||{{#ifeq:{{#if:|{{{border}}}|child}}|subgroup||{{#switch:apply a local id generator

|doc
|sandbox
|testcases =
|#default = {{#switch:
 |plainlist
 |hlist
 |hlist hnum
 |hlist vcard
 |vcard hlist = 
 |#default = 
 }}
}}

}}}}}}|}}{{#if:|{{{group3}}}<td style="text-align:left;border-left-width:2px;border-left-style:solid;|

{{{list3}}}

}}{{#if:|{{#if:|{{{group4}}}<td style="text-align:left;border-left-width:2px;border-left-style:solid;|

{{{list4}}}

}}{{#if:|{{#if:|{{{group5}}}<td style="text-align:left;border-left-width:2px;border-left-style:solid;|

{{{list5}}}

}}{{#if:|{{#if:|{{{group6}}}<td style="text-align:left;border-left-width:2px;border-left-style:solid;|

{{{list6}}}

}}{{#if:|{{#if:|{{{group7}}}<td style="text-align:left;border-left-width:2px;border-left-style:solid;|

{{{list7}}}

}}{{#if:|{{#if:|{{{group8}}}<td style="text-align:left;border-left-width:2px;border-left-style:solid;|

{{{list8}}}

}}{{#if:|{{#if:|{{{group9}}}<td style="text-align:left;border-left-width:2px;border-left-style:solid;|

{{{list9}}}

}}{{#if:|{{#if:|{{{group10}}}<td style="text-align:left;border-left-width:2px;border-left-style:solid;|

{{{list10}}}

}}{{#if:|{{#if:|{{{group11}}}<td style="text-align:left;border-left-width:2px;border-left-style:solid;|

{{{list11}}}

}}{{#if:|{{#if:|{{{group12}}}<td style="text-align:left;border-left-width:2px;border-left-style:solid;|

{{{list12}}}

}}{{#if:|{{#if:|{{{group13}}}<td style="text-align:left;border-left-width:2px;border-left-style:solid;|

{{{list13}}}

}}{{#if:|{{#if:|{{{group14}}}<td style="text-align:left;border-left-width:2px;border-left-style:solid;|

{{{list14}}}

}}{{#if:|{{#if:|{{{group15}}}<td style="text-align:left;border-left-width:2px;border-left-style:solid;|

{{{list15}}}

}}{{#if:|{{#if:|{{{group16}}}<td style="text-align:left;border-left-width:2px;border-left-style:solid;|

{{{list16}}}

}}{{#if:|{{#if:|{{{group17}}}<td style="text-align:left;border-left-width:2px;border-left-style:solid;|

{{{list17}}}

}}{{#if:|{{#if:|{{{group18}}}<td style="text-align:left;border-left-width:2px;border-left-style:solid;|

{{{list18}}}

}}{{#if:|{{#if:|{{{group19}}}<td style="text-align:left;border-left-width:2px;border-left-style:solid;|

{{{list19}}}

}}{{#if:|{{#if:|{{{group20}}}<td style="text-align:left;border-left-width:2px;border-left-style:solid;|

{{{list20}}}

}}{{#if:|{{#if:Customising IMSMANG{{#switch:{{#if:|{{{border}}}|child}}|subgroup|child=|none=|#default=

}}{{#ifeq:|Template|{{#ifeq:{{#if:|{{{border}}}|child}}|child||{{#ifeq:{{#if:|{{{border}}}|child}}|subgroup||{{#switch:apply a local id generator

|doc
|sandbox
|testcases =
|#default = {{#switch:
 |plainlist
 |hlist
 |hlist hnum
 |hlist vcard
 |vcard hlist = 
 |#default = 
 }}
}}

}}}}}}|}}

{{{below}}}

}}{{#switch:|subgroup|child=

|none=|#default=}}{{#ifeq:|Template|{{#ifeq:|child||{{#ifeq:|subgroup||{{#switch:apply a local id generator
|doc
|sandbox
|testcases =
|#default = {{#switch:hlist
 |plainlist
 |hlist
 |hlist hnum
 |hlist vcard
 |vcard hlist = 
 |#default = 
 }}
}}

}}}}}}