Author Topic: Create a new field on an existing folder with existing documents  (Read 1239 times)

Andreas Baaserud Hauge

  • Jr. Member
  • **
  • Posts: 46
    • View Profile
Create a new field on an existing folder with existing documents
« on: November 30, 2021, 06:05:31 AM »
Hi,

If I want to create a new field on an existing folder with existing documents, what happends to the existing documents in that folder?
  • will the existing documents get the new field with some kind of default / null value so I can update this field on the existing documents?
  • will only new documents created after the field has been created, get this new field?

Its snowing in Norway today
ABH

Darrell Bryant

  • Full Member
  • ***
  • Posts: 104
  • Sed fugit interea fugit inreparabile tempus-Virgil
    • View Profile
Re: Create a new field on an existing folder with existing documents
« Reply #1 on: December 01, 2021, 02:52:34 PM »
If the new folder field maps to an existing application group field, the value in the AG field will be displayed in the folder.
If the new folder field maps to a new application group field, for existing rows the new AG field will be populated with default values when the field is added. The default values depend on the field type. That is documented somewhere, but I could not put my hands on it.
#IBMi #iSeries #PDF #XML #400 Indexer #ASM