Jump to content

PCM/PiWeb report folder creation


---
 Share

Recommended Posts

Is there a way to create a folder based on a user variable when auto saving the reports?  If so, what syntax would I have to put in the pdf settings? I'd like to have the report saved in a folder based on the Job number to keep them organized.

Edited
More context
Link to comment
Share on other sites

there is probably a better way to do this, but one way is like this


image.png.2391ddae9445fde0e81db7d669b0da52.png

 

after i put in the directory, i chose "order" in the report header fields. this is the folder that gets created by the user input. afterward, you manually type:

+"\"

im not 100% sure on how it works, but i believe that is what makes the "order" user input be created as a folder. afterward i put in another variable which is what it saves the files name as, and then file ending.

this menu is under "measurement" "multiple report" then the 3 dots right under "output media for cnc run"

i also only use the default presentation report instead of piweb so i have no idea if this also works for piweb, but i hope this helps.

  • Thank you! 1
Link to comment
Share on other sites

Sort of, you can set any recordhead variables you wish, and use them. Eg:

 

normalVar = getActual("something").x

setRecordHead("mySneakyVar",normalVar)

"c:\path\"+getRecordHead("mySneakyVar")+"\..."


Well you get the point....

Link to comment
Share on other sites

  • 3 weeks later...
 Share

×
×
  • Create New...