Report from feature details?
Hello:
I just realized that Reports are not available from feature details - or anywhere else in the HTML5 viewer. Has anyone tackled this yet and feel like sharing?
Nate
-
I got reports working in our HTML5 viewer from a link in the feature details using this:
<a href="command:RunWorkflowWithArguments?workflowId=VicReport&gisLink={GISLINK}" style="font-weight: normal;">Create Parcel Report</a>
It is case sensitive, at first I had workflowID=VicReport and it didn't work. It had to be workflowId.
We use the same workflow for our Silverlight reports and HTML5 reports -- let me know if you want to see the xaml.
We are running GE 3.15.1/GVS 1.10.1/GVH 1.2.1
0 -
Stephanie, if you don't mind posting the xaml I'd appreciate the head start!
Nate
0 -
No problem - (https://support.geocortex.com/Data/Sites/1/userfiles/2784/sqlreport.zip) here you go!
0 -
Wow, that's not a trivial workflow for something that's a core function of GCX.
Latitude, are you planning on including reporting in GVHTML soon?
Nate
0 -
Yeah, Latitude built the report for us. I am afraid I can't help much with that part, it is over my head. It would be great if there was a guide for building reports.
I didn't realise you were starting from scratch, I figured you had a report working in the Silverlight viewer and it was being problematic in HTML5! Sorry I can't help.
0 -
I'm not starting from scratch - I have an existing parcel report that already works great in the GVS, but my point is that GVHTML does not seem to have a link to feature reports built in. I just took a look at the sample sites provided with GCX 4 and Latitude has provided an example config and workflow for this. Still seems strange that a core function is accomplished through workflow, but at least now I can see how it should be done (hyperlink in Feature Details).
Nate
0 -
Any new updates on having the ability to create a report from core HTML5 viewer without having to do a workflow, similar to that of the Silverlight viewer?
Any "how to's" or documentation on how to do this with HTML5 viewers?
Using GC 4.2.2 and GVH5 2.3.
Also, the search is incredibly difficult to search and find relevant results.
Thank you,
Nate
0 -
I also have the same issue. I need to use reports in the HTML5 that I created. I added the report to the feature class in the map just like I do in Silverlight but there is no report link or button to press to create a report in the viewer. 0 -
This has been native to the viewer since version 2.5. There should be a report option in the menu of the Details view, as well as any maptips. You may be able to run the command from the feature descriptions with something like <a href="command:ListReports"> Run a report </a>. 0
Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.
Kommentare
9 Kommentare