Document Generator - Sorting a sub list loop & hyperlink question
AnsweredI'm using the Onboarding template and have made a report on the list 'Recruitment Tracker' and its sub list 'Employee Onboarding'. It works fine except when I'm trying to sort the sub list. Following what I can find in the documentation I tried to add view('myview') (shown in red in the image below), but this give me an error.
1. How can I sort the sub list 'Employee Onboarding' on either 'Title' or 'DueDate'?
2. Also, I'm unable to get a Hyperlink working to the 'Recruitment Tracker' list item. The top line produces nothing and the next line does produces a proper url but it's not in hyperlink format. Instructions I'm looking at show to use [[link ([[Hyperlink]])]].
Template:
-
Hi Dale,
to order a looped list you would have to add the view parameter inside the double brackets right after the list name: [[loop Employee Onboarding view('myview')]]
The link has to build like this to get a propre hyperlink in the final document:
[[link (url=[[@Web.Url]]+'/Lists/RecruitmentTracker/DispForm.aspx?ID='+[[ID]], text='Open Task')]]
Kind regards
Matthias
1 -
Thanks very much Matthias, I got it working now.
0
Please sign in to leave a comment.
Comments
2 comments