Question

Document Macro

  • 12 January 2021
  • 7 replies
  • 87 views

Userlevel 1
Badge +6

 

The creation of the View document (PDF file) can be supported with a macro ? if yes, can someone help me to build it ?

 

And is a macro can create a structure doc with a child document ?


7 replies

Userlevel 6
Badge +14

hi @Carole 

I will assume the document is a .docx

i believe you would have to check the document out, print/save it to PDF, then check it back in.  

The print/save to PDF part could be recorded as a macro.

You would still need to check it out and check it back in manually.  I don’t see how a macro could do that.  Maybe someone will see it differently. 

Badge

Hi @Carole 

Such a script would be on the complex side to accomplish. Not impossible, though.

Could something like this be helpful? 

Userlevel 1
Badge +6

@ADDGREGEL 

Yes, this is what we would like…

 

Userlevel 5
Badge +9

> The creation of the View document (PDF file) can be supported with a macro ?

Yes, either a macro that Docman starts when the user checks in the document, or an “auto macro” in Word could create the PDF when the user saves or closes (I think) the document in Word. In both cases Docman will pick up the PDF file if it finds it alongside the original.

> And is a macro can create a structure doc with a child document ?

That would be quite complex, if you mean that the macro should connect to IFS in the background and create a child document revision. In theory, possible, but hard to pull off without someone with good technical knowledge of IFS and Docman.

 

Userlevel 1
Badge +6

@Mathias Dahl

Is there any doc on macro building for the PDF file which can help me because I am not confortable with that. I remember that in the previous IFS community, there was a lot of documentation and examples but not able to reach anymore  :-(

 

Userlevel 5
Badge +9

@Mathias Dahl

Is there any doc on macro building for the PDF file which can help me because I am not confortable with that. I remember that in the previous IFS community, there was a lot of documentation and examples but not able to reach anymore  :-(

I’m sure some might have copies of such macros lying around. Perhaps @Hans Andersen has one?

The documentation should mention how to setup the basic data for macros though, but it would not include details like how to create PDF files for different applications/formats.

 

Userlevel 5
Badge +13

I’m sure some might have copies of such macros lying around. Perhaps @Hans Andersen has one?

 

He does not.

Reply