Community

Export Unique ID number on PDF images and also create field in data file

Hi,

 

I am new to FC12 currently taking beginner course.

 

I require when exporting out data and pdf Images I need the pdf file name to output a unique ID number and also have that populate into a field in the data (.csv file). 

Is this possible hoping someone could point me in the right direction. 

 

 

0

Comments

3 comments

  • Avatar
    Scott Chau

    How do you want it unique?  Do you want to create a GUID or merge some values of the field together?    So for example, if you wanted to merge some field value like Date and Time into the field and it could make a unique value.  Otherwise, you could script a GUID into the field and it would create a unique value.  This would accomplish having the value in the field.  As for getting the file name, enable Index Field option in that field.  Then during export, you can name the file based on the Index field.

     

    0
  • Avatar
    Anthony Barrass

    Thank you this is very helpful.

     

    I will go about creating GUID script to generate a unique value and then index the field to name the image files and output the field in the data. 

    I guess I need to create a custom script inside the Validation Rule field?

     

    Any tips to write a script, apologies I am very new to all this. 

    0
  • Avatar
    Scott Chau

    Yes a rule script would be needed.  The script would be something like the following link.

     

    https://stackoverflow.com/questions/968756/how-to-generate-a-guid-in-vbscript

    0

Please sign in to leave a comment.