JRS - Creating Hyperlinks with the Advanced Query tab (SQL / SPARQL)
Hello hello,
I'm currently using JRS v6.0.2 iFix015 and have been taking to the advanced query section with SPARQL and have returned the results I've been looking for.
However, one thing I noticed in our LQE-configuration aware reports resulted in a URL that did not contain the selected configuration uri. Instead, the result looked like this: "https://localhost.com/rm/resources/resourceUri?oslc_config.context?"
To the point:
- Can we pass variables to and from the report builder and the sparql / sql queries?
- Is there any way for us to join that configuration context uri to our url?
- Is it possible to apply the hyperlink to another attribute? (i.e. Title, ID)
Sincere thanks!
David
One answer
Okay, I guess I have to answer my own question again.
After generating a decent report, you should see your results with funky column names. You can change them in the SPARQL query or update the column label in the "Format" options.
In order to get your hyperlinks to display and be usable in your report, change the "Variable Type" for whichever string returns the URL to be URI. Then your report should apply those hyperlinks to the neighboring column, making everyone happy campers.
Column label |
Variable |
Variable Type |
Dng_merged_Requirement1 |
Dng_merged_Requirement1 |
Uniform Resource Identifier |
Comments
David Reilly
Jul 23 '18, 4:06 p.m.Did some searching and found the following post which was helpful on using variables in the report builder: