Home > Forum > User Voice > WebCon BPS Studio EXE with run parameters - Portal Address and Database

WebCon BPS Studio EXE with run parameters - Portal Address and Database
3

MVP

Hi,
In DEV-TEST-PROD Architecture environment also containing multiple BPS Content Database it would be helpful to runas BPS Studio to the exact environment and exact content database.
Then it would be possible to create .bat script to run exact environment, e.g. TEST to the specific database e.g. BPS_Content_1
The script "BPS Studio PROD Database 1.bat" could then alike below
runas /user:Domain\Login "C:\...\WEBCON Designer Studio.exe -portalAddress https://abc.xyz -databaseID or -databaseName"
That feature would be helpful :)
Best Regards, Dominik

MVP

Hi Dominik,
this is already possible, at least if you are using the "REST"/remote version of Designer Studio.

Here's an example:
"C:\Install\DesignerStudio\2023.1.2.44\app-20231.2.44\WEBCON Designer Studio.exe" -protocol "webcon://https://xxx.cosmocloud.eu/?Context=/db/3/app/9&parameters="

"C:\Install\DesignerStudio\2023.1.2.44\app-20231.2.44\WEBCON Designer Studio.exe" -protocol "webcon://https://xxx.cosmocloud.eu/?Context=/db/1/app/9&parameters="


If someone who is wondering why the path looks "strange":
https://daniels-notes.de/posts/2022/open-designer-studio-in-a-specifc-version

Best regards,
Daniel