How to open a Harness with in Cosmos User portal using a direct link?

Hi,

We have a requirement to launch a harness(screen) with in user portal using direct link from share point webpage. Our application is Cosmos based app in Pega 8.5.4 version.

I tried to use below url, its not launch the harness and launched only user portal home page.

https://hostnamexxx/prweb/PRAuth/app/Appnamexxx?pyActivity=RedirectAndRun&&AccessGroupName=Accessgroupxxx&Location=pyActivity%3DData-Portal.ShowDeskTop%26action%3Ddisplay%26harnessName%3DHarnessnamexxx%26className%3DData-Portal%26pzPrimaryPage%3DpyDisplayHarness%26performPreProcessing%3Dtrue%26preActivity%3DPreactivityxxx%26preActivityParams%3DFormType:xxx

Also tried using doUIAction and its launched the harness without portal.

https://hostnamexxx/prweb/PRAuth/app/Appnamexxx?pyActivity=RedirectAndRun&&AccessGroupName=Accessgroupxxx&Location=pyActivity%3D%40baseclass.doUIAction%26action%3Ddisplay%26harnessName%3DHarnessxxx%26className%3DData-Portal%26pzPrimaryPage%3DpyDisplayHarness%26performPreProcessing%3Dtrue%26preActivity%3DPreactivityxxxm%26preActivityParams%3DFormType:xxx%26pzSkinName%3DWorkHub%26pyMashupSkeletonName%3DpyMyWorklistSkeleton

Please suggest.

Thanks,

Sri

I have used pyMobileSnapStart to solve this problem and its worked. Below is the example url:

https://hostnamexxx/prweb/PRAuth/app/appnamexxx_?pyActivity=pyMobileSnapStart&Action=showHarness&className=classnamexxx&Purpose=HarnessNamexxx&pyShowFullPortal=true

Thanks,

Sri