Document Generator - Multiple Items
Hi,
I have a list of temporary employees with a view that groups the temporary employees by current job (called "By Current Job" view). The view allows the user to see the temp employees assigned to that current job and their IDs, names, positions, companies, and rates.
I am attempting to set up a contact list document generator for the user to "print" the contact information from the "By Current Job" view for one job at a time. I have the action item set up for when the user selects a job the "Print Contacts" action shows up in the command bar. The problem I'm having is with an expression in the template.
The template above shows the current expressions I have in place, including a loop to allow for multiple temp employee entries. However, I would like to include the name of the one current job that they all share at the top of the template. Currently, I have [[CurrentJobView]] in place, but it does not return a value. The only time it returns a value is if I include a loop at the beginning and end of the formula. If I do this, the resulting data shows the job name multiple times, which is not what I'm looking for.
Is there a formula I could use to place the job name at the top of the page?
Thank you!
Sydney
-
I'm also interested to find out how to fix this. Does anyone have any information about this?
0 -
Hi Sydney Berkowitz,
the configuration as you have it right now in your template is for a document generator action for multiple items. I guess you have your action configured for a single item, right?
Otherwise can you please send a screenshot of the list action and DG action configuration?
I think you have to extend your loop with the sublist name as in the example here under "Filtered Loops": https://my.skybow.com/hc/en-us/articles/360012039660#:~:text=%5B%5Bend%20loop%5D%5D-,Filtered%20Loops,-Where%20%27SomeView%27%20is
BR Matthias
0
Please sign in to leave a comment.
Comments
2 comments