G'day,
It seems basic that i would be able to keep my script when updating definitions, but they are overwritten each time. Is there a way to update without losing script in the rules?
Also is there a way to change the names of the elements without having to amend the flexilayout and update the definition?
Thanks,
Tom
It seems basic that i would be able to keep my script when updating definitions, but they are overwritten each time. Is there a way to update without losing script in the rules?
Also is there a way to change the names of the elements without having to amend the flexilayout and update the definition?
Thanks,
Tom
Comments
5 comments
What method are you using to update the document definitions?
Tools-->update flexilayouts
You can change how the elements are displayed to the user and also how they are named in the output (ex: xml)
For the option 1, you can right click the field and give a name under the general tab.
For option 2, you can look at field mapping in export settings.
Open export settings and click edit, select options under data format and select setup field mapping.
Under export fields section, you can rename them as desired.
Thanks
Thanks for your reply.
Please note i'm using FC-10 if this changes anything.
Yes-- using flexilayout to update definitions. Due to the trail and error nature of what i'm trying to achieve it means i am constantly needing to go back to the original flexilayout and make changes. Bu the problem lies when i update the document definition because i also have script in it which is deleted when updating. I don't want to have to re-write the script each time a change is needed.
As for the name you can't change it in the properties due to being from a flexilayout-- you can add a caption but this is not what is exported in an XML scenario.
You are certainly correct about changing the name of an element in the export settings but unfortunately i'm trying to change the name of a group and this cannot be done in the export settings.
Is there anyway around this or is it just an unfortunate quirk of the software?
Thanks
Tom.
If you are updating document definitions with an .fcdot file it will always lead to losing all your current settings.
In order to save any scripts and not have to rewrite them in document definition consider moving these scripts to an external assembly.
As for groups naming, you are correct that it is not possible to rename group names using standard functionality in order to do so you will need to use a script export where you can define your xml structure as desired.
Regards,
Tim
I would like to add that updating the FlexiLayout in an existing Document Definition using the function Tools-->update flexilayouts should not delete scripts or fields you created. If this is the case something is not going as expected.
If you rename a block in FlexiLayout, the old field will still exist in the Document Defintion with the script you might have created for this field.
The new field will of course not have this script, but you can copy and paste it from the old field.
I hope this helps you further.
Please sign in to leave a comment.