The custom Blocks Usage Report is a unique report in that it sits outside of Go ePower at a different web page. It cannot be accessed like the other reports.
The main reason and challenge for this report is that every block file could have a different amount of blocks. No one report can be for every Block file. Therefore, in order to access this Report we need to create some type of link and authentication between GoePower and the Reports page. In order to do this you need to create a page that will authenticate the manager and create a token for that manager as it sends him to the reports page. This page can be created using Bootstrap Extended Pages.
Creating a Page for Managers
Every manager that wants to have access to this report must have their own Boostrap Extended Page that is accessible by their Go ePower portal. The Bootstrap Extended page can be used to create static html pages like an About Us page. However, there is dynamic content as well. By using this code in the page {Username} you can actually print the username of the person visiting this page. Other dynamic variables are listed on the bottom of the Extended Bootstrap page. To access that page go to
Company Settings -> Bootstrap -> Extended Pages
Creating Link to Reports Page
We must now create the link from this page to the reports page by passing a token with the user's username as well. This will authenticate that the user in fact is allowed to see these reports and that he successfully logged into Go ePower. The link should also include the server version ie UK or leave blank.
The link can look like this:
<a href="http://reports.racadtech.com/Reports/Report_Generator?Token={Token}&Username={Username}&Server=UK" target="_blank">Product Report Link</a> <BR>
This is an example using a button
<a href="http://reports.racadtech.com/Reports/Report_Generator?Token={Token}&Username={Username}&Server=UK" target="_blank"><button type="button" class="btn btn-default">Product Report Button</button></a>
The rest of the page can be designed byyou to look however you want the main thing is that the link is pointing to the correct reports page and that it has the user's username and token for authentication.
Reports Page
Once at the reports page the user can select the different products to view from his company.
PRODUCT USAGE REPORT FOR PRODUCER
The link for the producer is going to be made in the exact same way. Except that the bootstrap Extended Page must be created in the company that belongs to that. When the producer logs in he will be able to select the company and product to view.
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article