Use of DefaultFolder ('nmsFolder') function

Avatar

Avatar
Validate 1
Level 2
manishc97360515
Level 2

Like

1 like

Total Posts

17 posts

Correct reply

1 solution
Top badges earned
Validate 1
Boost 1
Affirm 1
View profile

Avatar
Validate 1
Level 2
manishc97360515
Level 2

Like

1 like

Total Posts

17 posts

Correct reply

1 solution
Top badges earned
Validate 1
Boost 1
Affirm 1
View profile
manishc97360515
Level 2

28-02-2018

<srcSchema _cs="Test Agents (onem)" created=" " createdBy-id="0"

entitySchema="xtk:srcSchema" img="" label="Test Agents"

labelSingular="Test Agent" lastModified=" "

mappingType="sql" md5="" modifiedBy-id="0"

name="testAgent" namespace="onem" xtkschema="xtk:srcSchema">

          <element autopk="true" img=""

                         label="Test Agents" labelSingular="Test Agent" name="testAgent"

               pkgStatus="default">

          <attribute desc="Technical Key For Agent" label="Technical Key For Agent" length="255"

               name="technicalKeyAgent" type="string"/>

          <attribute desc="Advisor No." label="Advisor No." length="255" name="advisorNo"

               type="string"/>

          <attribute desc="Test Agent Location" label="Test Agent Location" length="255"

               name="testAgentLocation" type="string"/>

                    <element defOnDuplicate="true" default="DefaultFolder('nmsFolder')"

                              label="Folder" name="folder" revDesc="Insurance Agents included in this folder"

                         revIntegrity="define" revLabel="Insurance Agents" target="xtk:folder"

                         type="link"/>

          </element>

     <createdBy _cs=""/>

     <modifiedBy _cs=""/>

</srcSchema>

Hi, in the above mentioned schema what should be the value of 'nmsFolder' for the DefaultFolder function above (marked in red) . Should it be the internal name of the folder present in the xtk:Folder or should it be its primary key? Please let me know soon.

Replies

Avatar

Avatar
Give Back 50
Level 10
florentlb
Level 10

Likes

237 likes

Total Posts

1,109 posts

Correct reply

239 solutions
Top badges earned
Give Back 50
Give Back 5
Give Back 3
Give Back 25
Give Back 200
View profile

Avatar
Give Back 50
Level 10
florentlb
Level 10

Likes

237 likes

Total Posts

1,109 posts

Correct reply

239 solutions
Top badges earned
Give Back 50
Give Back 5
Give Back 3
Give Back 25
Give Back 200
View profile
florentlb
Level 10

04-04-2018

Hi,

Sorry I must have missed your question. It should be the internal name of the folder.

Florent