openurl - embedded view no login

openurl - embedded view no login

I have a view embedded in my website. I have it configured to allow for no login.  Everything works fine.  The view has a function assigned to display for each record in the view (shows a button on the righthand column of the view).  The function uses OpenURL to call another view that has been configured to open without login.

In my function, I have tried calling the view using the methods shown below.  I prefer the first method using the #View: syntax because the view pops up inside my website. Browsers don't stop the pop up window because it is embedded in my website.  The problem is that when I try to apply the code that allows for accessing the view without login, the view no longer opens. (I have shortened the "no login code" for readability.)

    searchUrl = "#View:Perfect_Fit_Results_Test/yjAadBR...........BeWjq?rs4994= + input.rs4994";
    openUrl(searchUrl, "popup window");

The code shown below will open the view without login and pass the parameter through correctly but opens the view as a pop up window over top of (or outside of) my website. Browsers ask if I want to allow pop ups, the window can end up behind other browser windows and I just don't have the same control over the user experience that I do when the pop up is embedded.

   openUrl("https://creator.zoho.com/skittlebiscuit/biotrain/view-embed/Perfect_Fit_Results_Test/yjAadBR...........BeWjq?rs4994=" + input.rs4994,"popup window");

So, how can I make the code in the first example work?


Thanks in advance for your assistance.

John