OnDemand Users Group

Support Forums => CMOD for Multiplatforms => Topic started by: kbsiva on October 16, 2013, 04:33:02 PM

Title: Add a new field definition to existing folder
Post by: kbsiva on October 16, 2013, 04:33:02 PM
All,
  We have an requirement to add a new field definition to existing Folders. What's the best way to go about it apart from deleting and recreating them? Any ideas on back end table updates?

Thanks,
Siva
Title: Re: Add a new field definition to existing folder
Post by: jeffs42885 on October 16, 2013, 07:14:58 PM
I usually just do the way you mentioned

1) Version Existing
2) Add field
3) Add appgroup(s)
4) Verify permissions

Probably quicker than touching the db and less-risky I also would say.
Title: Re: Add a new field definition to existing folder
Post by: LWagner on October 24, 2013, 05:30:59 PM
Copy the folder, then it is "new" and you can add or delete fields, without having to start from scratch.

Title: Re: Add a new field definition to existing folder
Post by: pankaj.puranik on November 26, 2013, 06:41:29 PM
If you are on version 9, you can add the new field to the existing Folder without having to duplicate it first.
As far as Folder fields are concerned, they do not govern the index tables.
The index tables are governed by the Application Group.

So if you add a field to the folder and want to associate it to an Application Group field, you will have to add it to the Application Group as well.