Template Report Activity & Server Replacement Tokens
Does anyone know if there is a method to reference a Server Replacement Token in the Template Report Activity's Template Uri ?
Currently:
"E:/Program Files/Latitude Geographics/Geocortex Essentials/McGIS_Intranet/REST Elements/Sites/Resources/TemplateReports/"+sReportFileName
Since our drive letters are different for Development and Production servers it would be best to use a replacement token if possible.
-
Hi Bill,
Since the file you are referencing is in your Sites directory you can use: "gcxfile:///Sites/Resources/TemplateReports/MyReport.rpx".
--Ryan
0 -
Ryan,
Thanks for the quick reply.
This is what worked for me:
"gcxfile:///Resources/TemplateReports/MyReport.rpx"
0 -
Ahh you are right. I had an extra "Sites" in there. "gcxfile:///" is rooted at the Sites directory.
--Ryan
0
Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.
Kommentare
3 Kommentare