No diagram configuration when export throught DNG view
Hello
Context :
I am following this explanation : https://jazz.net/wiki/bin/view/Main/DNGModuleViewExternalRequest, and using the attachment ModuleView_custom_report_template_example.zip at the bottom of the page.
Steps
Following the tutorial, I want to export my DNG view throught RPE. So I configure my data source with the url
Note : elements surrounded by __ are replaced by differents id
Because I want to export the view in differents stream, I add the configuration at the end
&vvc.configuration=__CONFIGURATION__
So my URL looks like this :
But there is a problem. The configuration is not working for the diagram. In other words :
- I have a diagram A in my main stream.
- I create a new stream X based on it.
- I update diagram A to diagram B in my stream X.
- I export the view of my stream X with RPE.
In the result, I still have diagram A, while I would have wanted diagram B!
Any ideas how I could fix this ?
Accepted answer
Ok I found out my problem thanks to you. In my canva, I was adding the configuration in the url in the data source configuration. But I forgot that RPE can force to be in one specific context in the dsx. In that way, RPE does not need to have the configuration in parameter in the URL.
Comments
For those who do not get it : there are two way to specifies the contexts in ELM.
The first one (which I used) is to set a parameter in the url (vvc.configuration).
The other one is to add a parameter in the header of the request (Context-Configuration).
My problem was that I was not able to add the configuration in the URL. Because RPE allows us to use the second way I can access to the good configuration without modifying my URL. Do to so, we just need to set the property Context Configuration, either in the .dsx or in Data source configuration in the .dta.
One other answer
Please make sure you are adding the correct configuration context parameter in your url.
You can copy the artifact link and in Launcher right click on data source >> Configure Data Source >> Click on Find in left corner >> Enter the web url and click on configure . This will prepare the datasource url on the basis of the artifact link which you can use to generate the document.