Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello Gurus,
I want to distribute a report with name as [Document Name]-[Parameter Value] format. e.g. Document Name = SALE, Parameter = RunDate, Parameter Value = 20120801
then, My distributed document shuold have name as SALE-20120801.QVW
I have tried using Reduce Document Name functionality with %SourceDocumentName%-%ScriptParameter% but it produces document as "SALE-RunDate=20120801"
I dont want parameter to appear on the name.
Please help.
Hi, I have tha same your needs.
Did you fix it ?
Please let me know.
Thanks
Andrea
I think the solution is to load the parameter variable into a document field, and then use the Field name as part of the reduced document name. For example, in the script add:
LOAD '$(RunDate) ' as _RunDate AUTOGENERATE 1;
Then in the template:
%SourceDocumentName%-%DocumentField,_RunDate%
-Rob