Author Topic: Add field to CMOD Application Group  (Read 3478 times)

jg

  • Jr. Member
  • **
  • Posts: 11
    • View Profile
Add field to CMOD Application Group
« on: March 12, 2014, 05:25:13 AM »
I hope this question is not too trivial...
Is there a way to add a field to an existing (and already in use) Application Group?

Thanks!

Jochen

jeffs42885

  • Guest
Re: Add field to CMOD Application Group
« Reply #1 on: March 12, 2014, 05:40:51 AM »
In my experience..copy

example-

rename from jeff to jeff_a
copy jeff_a to jeff
relink folder fields
call it a day

Justin Derrick

  • IBM Content Manager OnDemand Consultant
  • Administrator
  • Hero Member
  • *****
  • Posts: 2230
  • CMOD Guru for hire...
    • View Profile
    • Tenacious Consulting
Re: Add field to CMOD Application Group
« Reply #2 on: March 12, 2014, 05:54:36 AM »
In newer versions of CMOD, you can add a field to an existing Application Group, but that field will not become populated for previously loaded data, leading to strange situations when it comes to searching...

If you do a search that includes the new field, it will only find new documents, as the old documents have no value to search against in the new field.  Some of the old documents might match the search criteria, but that index data isn't available in the database, so it will be excluded from the results -- which your users probably aren't expecting.

Do a lot of testing in your Development regions first!

-JD.
IBM CMOD Professional Services: http://TenaciousConsulting.com
Call:  +1-866-533-7742  or  eMail:  jd@justinderrick.com
IBM CMOD Wiki:  https://CMOD.wiki/
FREE IBM CMOD Education & Webinars:  https://CMOD.Training/

Interests: #AIX #Linux #Multiplatforms #DB2 #TSM #SP #Performance #Security #Audits #Customizing #Availability #HA #DR

jg

  • Jr. Member
  • **
  • Posts: 11
    • View Profile
Re: Add field to CMOD Application Group
« Reply #3 on: March 17, 2014, 01:44:09 AM »
I never played with the copy command. Does the copy include copying the data?

Regards
Jochen

Frederick Tybalt

  • Full Member
  • ***
  • Posts: 124
    • View Profile
    • Personal Website
Re: Add field to CMOD Application Group
« Reply #4 on: March 17, 2014, 03:16:33 AM »
Data loaded in the old application group will not copied to the new one. Only the definition will be copied.
rIcK
======------------------======
www.rick.co.in | www.tekbytz.com

jg

  • Jr. Member
  • **
  • Posts: 11
    • View Profile
Re: Add field to CMOD Application Group
« Reply #5 on: March 17, 2014, 07:17:58 AM »
That means, I would have to export all index data and documents from the 'old' AG and load them to the new AG?

Frederick Tybalt

  • Full Member
  • ***
  • Posts: 124
    • View Profile
    • Personal Website
Re: Add field to CMOD Application Group
« Reply #6 on: March 17, 2014, 11:35:38 PM »
If you require data to be populated for the newly added field, then it is good to extract the data from the old AG and re-index to the new AG.

If you are ok to have the newly added field as blank, the simple way is to have the folder mapped with the old AG and new AG. So that data from both the AG will be displayed. However if you are going to make a search based on the new field, as JD mentioned the search results could be inconsistent in this approach.
rIcK
======------------------======
www.rick.co.in | www.tekbytz.com