Now I assume the answer is no, but has anyone ever come up with a method of getting a rendition to generate a document code that matches the source document code other than an additional attribute that you nominate?
Example - Source Doc Code 111-XXX-001 (Additional attribute: NATIVE) to generate Target Doc Code 111-XXX-001 (Additional attribute: PUBLISHED) in the same (or different for that matter) environment.
This is now possible in the most recent release by setting the config property SerialNumberAttributeMap=1. That instructs iCS for PDF to honor rendition profile attribute mappings for serial number attributes. In earlier releases, serial number attributes could not be mapped; their values were always populated automatically, with no ability to re-use a serial number within the same datasource environment context. With SerialNumberAttributeMap=1, the responsibility for preventing errors due to document code conflicts (those whose formula includes a serial number) is shifted to the user.
Excellent news Andrew, thank you! By latest release we're talking ProjectWise server version yes? Ours is 03.140 but 03.299 would be required?
I know it's in 3.299. The capability might have been introduced in 3.280, it would take some research to find out, but 3.299 is the superior version.
Thanks Andrew. So to confirm then if we did have 299 then I would see SerialNumberAttributeMap=1 command as an option in the rendition destination settings? Whereabouts is it configured?
It's an iCS for PDF server setting, affecting all jobs, not a rendition profile setting. In iCS Admin (aka Orchestration Framework Administrator), Configuration / Advanced / Edit brings up a property grid control where "Serial Number Attribute Map" is displayed with a True/False value. Set it to True via that technique and there's no need to restart the shepherd service.
The next step would be to ensure that all the components of your document code (including the serial number attribute) were mapped appropriately in the rendition profile destination option. That's in PW Admin as you already know.
If you're not familiar with iCS Admin, you either need to open a support ticket if your iCS server is Bentley-hosted, or talk with your iCS server admin if your organization is running an on-premise iCS deployment.
I brought up the Advanced Configuration on my 280 server and do not see "Serial Number Attribute Map" so I'm assuming it's not available unless it's via a registry entry or cfg file edit instead.
No, it's not available as an undocumented setting. The item was added to the configuration dialog at the same time it was added to the server logic.