View Single Post
  #5  
Old 11-07-2022, 01:05 PM
smitchell smitchell is offline
Registered User
 
Join Date: 07-31-2022
Posts: 10
Thank you for taking a look at this.
I tried your sample and I found it works as you describe.

To try to isolate the problem I am experiencing, I created a separate database with a custom Repository item type (as described in my previous post)
and created two Repository items -- it is Repository-Sample.urd in the attached Zip file.

For one of the Repository items, all Attributes are populated, for the "unpopulated" item, it only has an Item Title.

I tried three tests:
  • Case 1 - Copy fully-populated Repository item to Root of a new default db.
  • Case 2 - Copy Repository Item template to Templates folder of a new default db.
  • Case 3 - Copy unpopulated Repository item to Root of a new default db.

The results that I see are:
  • Case 1 - works as expected, form, attributes, and template are correct.
  • Case 2 - custom attribs are not copied, form&template are missing custom attribs.
  • Case 3 - custom attribs are not copied, form&template are missing custom attribs.

These resulting databases are included in the zip file and are named CaseN....urd.

It appears that a new Item type is not completely copied to a different database if any of its attributes are not assigned values.

This is a fairly simple case. I wonder how a template Item type that contains references to other InfoItem types will transfer to a new database.

Thanks,
-Stan
Attached Files
File Type: zip Repository-Tests.zip (323.8 KB, 175 views)
Reply With Quote