Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hi,
I'm trying to import data into an existing site. In each page, I have an archetype, and for that archetype I'm trying to programmatically update a property to a new but existing file listed in media.
I've collected the new file....
IPublishedContent newFile = _uh.TypedMedia(newFileID);
Can anyone point me in the right direction to change the value of the property?
I know once I've done this I need to serialise the archetype and save it, but how do I update the property with the new file?
TIA. Rich
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.
Continue discussion
Archetype Update Value of File Property
Hi,
I'm trying to import data into an existing site. In each page, I have an archetype, and for that archetype I'm trying to programmatically update a property to a new but existing file listed in media.
I've collected the new file....
IPublishedContent newFile = _uh.TypedMedia(newFileID);
Can anyone point me in the right direction to change the value of the property?
I know once I've done this I need to serialise the archetype and save it, but how do I update the property with the new file?
TIA. Rich
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.