It's all about the answers!

Ask a question

Getting the resourceURI for a DNG module


Sterling Ferguson-II (1.6k7245253) | asked Sep 18 '17, 3:16 p.m.

CLM 602

RPE 2.1.2

Hello all,

I have been playing with RPE and DNG. I was looking through some workshop documentation and it says to use the DNG Module's resourceURI for the launcher. Doesn't explain how to get it though. When I click on the Module, the address is too long for it to be that easy...

Can I get some help please?

thanks

3 answers



permanent link
Sunil Shenoy U (362) | answered Sep 18 '17, 10:29 p.m.
JAZZ DEVELOPER
edited Sep 18 '17, 10:30 p.m.

Hi Sterling,

To return the artifacts that are in a DNG module, you need to use the below URL

Filter by module
https://server:port/rm/publish/[artifact_format]?moduleURI=xyz
https://server:port/rm/publish/resources?moduleURI=_9a168d1ba7ad4b57b1926f1a003c5b62

xyz is the resource URI which you can get from the module share link.
https://server:port/rm/resources/_9a168d1ba7ad4b57b1926f1a003c5b62

Take a look at the DNG Reportable REST documentation to get more details
https://jazz.net/wiki/bin/view/Main/RRCReportableRestAPI#Module_support

Thanks /Sunil


Comments
Subramanya Prasad Pilar commented Sep 18 '17, 11:39 p.m.

To make it easy, you can use "Find data source URL" option in RPE while configuring data source. Here are the steps:
1. In Launcher perspective, right click on the data source and select "Configure Data Source..."
2. Click Find button
3. Paste the web URL (copied from the browser address bar) and click Find button
4. Proceed with authentication
5. Click Configure and the click OK
The REST URL for the resource will be set as data source URL.


permanent link
Sterling Ferguson-II (1.6k7245253) | answered Sep 19 '17, 8:35 a.m.

Thanks for responding,


@Sunil, I am not looking for how to get a list of the artifacts in a module after I have the module resourceURI, I am looking for how to get the module resourceURI. The link provided about the API doesn't show anything like, "Hey, are you looking for a URI...do this...so that didn't help me, but thanks.

@Subramanya, when I launch the Launcher, it tells me to select an already configured Doc Spec, which I don't have, or create a new one, which I need to do. I choose the template and then click Next and I am on the Configure the data sources page. No Find button or option, but thanks.

I called support, and they don't know what I'm talking about, so maybe this is just a bad Interconnect workshop packet. I'll see if our rep has something else for us.

Thanks for the help though.


permanent link
Subramanya Prasad Pilar (3.4k13) | answered Sep 19 '17, 1:14 p.m.
edited Sep 19 '17, 1:20 p.m.

Hi Sterling,
It would be useful if you specify which workshop documentation you are looking through. Does it include any template for which you are trying to configure data source? If not, you can use the sample template that ships with RPE (DNG_Module.dta under %rpe_home%\templates\DNG).

Once you open the RPE template (in RPE Studio), please click "RPE Launcher" on the top right corner.

You will be switched to Launcher perspective. In Launcher perspective, right click on the data source and select "Configure Data Source..."

Click Find button
Paste the web URL (copied from the browser address bar) and click Find button

Proceed with authentication
Click Configure and the click OK
The REST URL for the resource will be set as data source URL. This method works equally well for all artifact types (resource or module).

You can save this configuration as document specification file (.dsx).

Your answer


Register or to post your answer.