Dictionary "_Title" Doesn't Pass to Report
I have a workflow that queries a flat table without geometry from a REST service therefore I don't have a Layer ID from Geocortex Manager. We have designed it this way to prevent direct connection to our database which we want to avoid. I have set up a STRING,OBJECT IDictionary to pass the data to the template report I have set up. I used the Assign command to assign dictionary("_Title") = "Cost Center: " + strTextEntry (strTextEntry is a value the user inputs to query a cost center ID).
I am able to pass the "_Title" value to the template report successfully until I try to add the FeatureSet to the DataTable. The FeatureSet contains attributes from the query that is run against the flat table. Once I do that, the "_Title" value does not pass through the report. I've set up alerts and have confirmed that "_Title" is still populated before the DisplayHyperlink command. I've tried moving the Assign function to different spots along the flowchart, but results are the same.
Does anyone have an idea why the "_Title" value isn't passing to the report?
-
Resolved. I just called the field I was trying to pass into a new Label box on the report.
0 -
Do you have an example of how you did this? 0 -
Mark,
On the report REST endpoint you can see the built in report parameters. It might actually be "__title" or "__Title" (2 underscores).
-Kevin0
Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.
Kommentare
3 Kommentare