cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Learn all about PTC Community Badges. Engage with PTC and see how many you can earn! X

Translate the entire conversation x

How to Generate "integrity://si/viewproject" URLs for Windchill RV&S Projects?

NKen_521
4-Participant

How to Generate "integrity://si/viewproject" URLs for Windchill RV&S Projects?

Version: Windchill 13.0

 

Use Case: To create e-mail with URL to open specific project, currently I manually type link like following. "integrity://localhost:9001/si/viewproject?project=%2FTestProject%2Fproject.pj" (suggested in documentation.) How can I easily generate such URL?


Description:

I'm looking for an efficient way to generate URLs that directly open a specific project folder (e.g., .../project.pj) in the Windchill RV&S Client GUI. My goal is to use these URLs in email notifications.

 

What I've found so far:

  1. Manual URL Entry: I've found documentation on how to manually construct these integrity://... URLs to open projects, but manual typing is prone to errors.
  2. Automatic URL Generation (Partial Success): The documentation states:
    "You can create e-mail notifications with Windchill RV&S client URLs by clicking a highlighted user name in any visible field in the GUI or Web." 
    I've successfully used this method to generate URLs that invoke the im (Integrity Manager) command.

 

My Challenge:

I need to generate URLs that invoke the si (Source Integrity) command to view a project, specifically in the format similar to:

"integrity://localhost:9001/si/viewproject?project=%2FTestProject%2Fproject.pj&filtersubs"

The issue is that when trying to select a source project in the GUI, there isn't a "highlighted user" element to click on that would generate an si command URL. The method described seems to be specific to user-related im commands.

 

My Question:

Is there an easier, automated way to generate URLs that open specific project.pj folders using the si viewproject command within the Windchill RV&S Client GUI? I'm trying to avoid manually constructing these URLs.

Any advice or alternative methods would be greatly appreciated!

Thank you.

ACCEPTED SOLUTION

Accepted Solutions
ssaul
15-Moonstone
(To:NKen_521)

Hi,

we implemented auto-creation of URLs via server triggers, but also via custom actions and VBScript.

It is a larger script, I have extracted the relavant parts of it for URL creation (see attachment).

It is called (as custom script from within RV&S) via

wscript.exe "C:\pathtoscript\VBScript.vbs" /i

It will create an output like

 

****** Web link:
http://ourservername:7001/si/viewrevision?projectName=d:/ServerPath/project.pj&revision=:memberbranchtip&selection=Archivename
****** GUI Project link:
integrity://ourservername:7001/si/viewproject?project=d:/ServerPath/project.pj
****** GUI Project link (Member):
integrity://ourservername:7001/si/viewproject?project=d:/ServerPath/project.pj&selection=Archivename
****** GUI File History link:
integrity://ourservername:7001/si/viewhistory?project=d:/ServerPath/project.pj&selection=Archivename

Hope it helps to give you a starting point.

View solution in original post

3 REPLIES 3

Hi @NKen_521,

Thank you for your question. 

Your post appears well documented but has not yet received any response. I am replying to raise awareness. Hopefully, another community member will be able to help.

Also, feel free to add any additional information you think might be relevant. It sometimes helps to have screenshots to better understand what you are trying to do.

 

Best Regards,

Vivek N
Community Moderation Team

ssaul
15-Moonstone
(To:NKen_521)

Hi,

we implemented auto-creation of URLs via server triggers, but also via custom actions and VBScript.

It is a larger script, I have extracted the relavant parts of it for URL creation (see attachment).

It is called (as custom script from within RV&S) via

wscript.exe "C:\pathtoscript\VBScript.vbs" /i

It will create an output like

 

****** Web link:
http://ourservername:7001/si/viewrevision?projectName=d:/ServerPath/project.pj&revision=:memberbranchtip&selection=Archivename
****** GUI Project link:
integrity://ourservername:7001/si/viewproject?project=d:/ServerPath/project.pj
****** GUI Project link (Member):
integrity://ourservername:7001/si/viewproject?project=d:/ServerPath/project.pj&selection=Archivename
****** GUI File History link:
integrity://ourservername:7001/si/viewhistory?project=d:/ServerPath/project.pj&selection=Archivename

Hope it helps to give you a starting point.

NKen_521
4-Participant
(To:ssaul)

Thank you so much for the helpful reply! The example scripts for retrieving information from Windchill and generating a URL are a huge help. Now I know where to get started.

Announcements

Top Tags