cancel
Showing results for 
Search instead for 
Did you mean: 

Hidding URL and Navigator

david_fryda2
Participant
0 Kudos

Hi everyone,

We want the user not to see the URL of the page he is opening and not to see the navigator tree (the one on the left side) of the page.

Here is the URL of our page :

http://server:50000/irj/index.html?NavigationTarget=pcd:portal_content/com.mrc.company/isdav/CFolder...

Is there a way (like changing some properties of the page or adding parameters to the URL) to hide URL and navigator ?

Thanks.

Regards.

Accepted Solutions (0)

Answers (3)

Answers (3)

vijayakhanna_raman
Active Contributor
0 Kudos

Hi,

Check this

Removing address and other functionalities from a window

Regards,

Vijayakhanna Raman

david_fryda2
Participant
0 Kudos

Hi,

Thanks for your post.

In fact, in the portal is configured CFolder.

The URL of the page is written in an input field and the user must click on a button provided by CFodler to open the URL.

I tried to remove the URL and Navigator using the properties of the page....Is it possible that way ?

Thanks.

Former Member
0 Kudos

David,

The navigator pane is part of the default page template of the portal. If you don't want to view the pane, you will need to modify the template or use a template of your own.

You can go into the Content Administrator and look for the default page template.

As for the URL, you will need to remove the address bar of the window. You can use removeWindowFeature() for that only if you have control over the new window.

Regards,

Satyajit.

david_fryda2
Participant
0 Kudos

Thanks for the helpfull answer.

By the way, I used the removeWindowFeature() methode to remove the address bar...but there is still a way for the user to put the address bar back using right click.

I do not want to change the default page template of the portal because there are other application that need this default page.

But is there a way to load an URL that will close itself ; but before closing itself it can call the WD application without the navigator ?

Thanks.

Former Member
0 Kudos

Hi,

First of all we can not open your page as the server IP address is not in the public domain.

A hyperlink may be possible using a linktourl, button or image.

It should be possible to hide the url before clicking and also to hide the navigator tree.

I don't know whether it is possible to prevent the viewer from seeing the URL in the address bar after clicking. The standard HTTP protocol prescribes a "POST REQUEST" (vs "GET REQUEST") for this scenario. I don't know however if this distinction can be made with web dynpro's, since SAP made modifications to the HTTP protocol in the WDP framework.

Good luck,

Roelof

Good luck,

Roelof

david_fryda2
Participant
0 Kudos

Hi Knibbe,

Thanks for the little help.

The question is still open.

Regards.

Former Member
0 Kudos

David,

Have you tried the option IWDWindow.<a href="https://media.sdn.sap.com/javadocs/NW04/SP12/webdynpro/com/sap/tc/webdynpro/services/session/api/IWDWindow.html#removeWindowFeature(com.sap.tc.webdynpro.services.session.api.WDWindowFeature)">removeWindowFeature</a>(WDWindowFeature feature)

~ Bala

Message was edited by: Bala Krishnan

Former Member
0 Kudos

David,

Have you tried the option IWDWindow.<a href="https://media.sdn.sap.com/javadocs/NW04/SP12/webdynpro/com/sap/tc/webdynpro/services/session/api/IWDWindow.html#removeWindowFeature(com.sap.tc.webdynpro.services.session.api.WDWindowFeature)">removeWindowFeature</a>(WDWindowFeature feature)

~ Bala

Former Member
0 Kudos

Hi

You can set the enabled property of the URL by an attribute and assign it by check the user is valid or not.

Kind Regards

Mukesh

david_fryda2
Participant
0 Kudos

Hi Mukesh,

Sorry, I didn't understand what you tried to explain me.

Thanks.

Former Member
0 Kudos

Hi

As per I understand

You want to hide the Url UI element(Is it correct?).

For that Create an attribute with bolean type.Bind it to the Link To URL UI element's ennabled property.And assign the value at runtime as ennabled= true or false.

To hide The UI Element you can assign the visible (type com.sap.ide.webdynpro.uielementdefinitions.Visibility)Property at runtime.

Kind Regards

Mukesh

Message was edited by: Mukesh mani

david_fryda2
Participant
0 Kudos

Hi,

Maybe I didn't make myself clear.

I want to hide the URL of the page (the URL described in my first post).

I am not talking about the URL UI element.

Thanks.