Community Tip - Learn all about PTC Community Badges. Engage with PTC and see how many you can earn! X
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:
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.
Solved! Go to Solution.
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.
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
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.
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.