Forum Discussion
CAIGuySeanF
4 years agoContributor
Reporting - Books - File (xfDoc)
Hello,
I would like to create a report book that includes several cube views and an xfdoc (ppt cover page).
I added the xfdoc as an application database file and pointed it to the working URL. ...
- 4 years ago
Hi Sean,
I did some further testing this morning and found you can use '.docx' files and they will work for PDF books. With this being the case, I'd actually recommend using the "Text Editor" page in OneStream. You can utilize dynamic parameters that will present the current date (e.g. '|WFTime|' will return '2022M5'). Below I created a quick example of this. You can see the dynamic parameters pulling in my Workflow time. I just saved this file to the File Explorer with the same '.xfdoc.docx' naming convention and added it to my book as the first file.
Let me know if you have any trouble with this or have any further questions!
CAIGuySeanF
4 years agoContributor
Thanks Kelly. That appears to be the missing piece. However, I have some xfgets (dates) in my cover page, so I think I need to leave that as a PPT for the extensible formula/function to work.
I tried the zipbook option, but it doesn't seem to retain ordering or put them together as one doc?
Is my best bet for one "PDF Doc" to build a cover page using a cube view with no data?
Kelly_Reed
OneStream Employee
4 years agoHi Sean,
I did some further testing this morning and found you can use '.docx' files and they will work for PDF books. With this being the case, I'd actually recommend using the "Text Editor" page in OneStream. You can utilize dynamic parameters that will present the current date (e.g. '|WFTime|' will return '2022M5'). Below I created a quick example of this. You can see the dynamic parameters pulling in my Workflow time. I just saved this file to the File Explorer with the same '.xfdoc.docx' naming convention and added it to my book as the first file.
Let me know if you have any trouble with this or have any further questions!
- CAIGuySeanF4 years agoContributor
This is great! After creating a file in the Text Editor and using that '.xfdoc.docx' naming convention, I get the following error message.. am I doing something wrong?
- Kelly_Reed4 years ago
OneStream Employee
Oh interesting. At what exact point in the process did you get that error? Right after you hit 'OK' on this screen?
- CAIGuySeanF4 years agoContributor
I'm able to save the "xfdoc.docx" extension from the text editor, but anytime I try and open that file again via text editor, file explorer, or report book preview it produces the error message.
I was able to create a word document on my machine locally and upload it as an xfdoc, it's working great. Also, if I edit that working xfdoc initially built in word and save it from the text editor, it goes right back to that same error message. It seems to be related to the xfdoc / text editor combination?
- BrittaniaH2 years agoNew Contributor II
I am trying to add a cover to a book. This post is fantastic, but I am not able to find where I can add a file in my cubeviews. I am wondering if we might be on an early version of OneStream or if I am just doing something incorrect. Can you tell me what version you are running. Thank you.
- CAIGuySeanF2 years agoContributor
Hey. We are currently running 7.2.4. Once the file (xfdoc.docx) was imported through the File Explorer, I'm adding the file within Books. Screenshot below. Hope this helps!
Related Content
- 4 years ago