I have a requirement to create a Bar chart report and when a particular chart is clicked then open in a grid and open that grid in a new tab.
I am having problems opening the report in a newtab .
I have a workaround for this, Please follow the steps below and you should be able to open report in new tab
1. Save your environment URL in constant and make it environment specific so that when you deploy it to higher env you can update constant with new URL
2. Open the report you are trying to open in new tab and save the last part of URI to constant. Look at the below image for reference, Link highlighted with yellow is the part you need to store in constant, this part will be same for report in all the environments
3. Use the below code to generate safelink with report and use it in the chart to open in new tab
a!safeLink( label : "Test", uri: cons!AF_TEXT_SITE_URL &"tempo/reports/view/"&cons!your_report_uri )
I have like like 10 grids that should be displayed in a new tab if once clicked on it. Can your solution be used on this. How do I pass a rule input to the report.
Screenshot of my barchart.
Safelink opens in a new tab alright but it displays the report object's name. Is there a way to hide it? But the report object's name does not appear when using reportlink but then it opens in the same window...
Discussion posts and replies are publicly visible
© 2019 Appian. All rights reserved.