How to disable portal to overwrite BSP themeRoot?
We created a BSP-application (copy of HAP_DOCUMENT) and assigned a theme to it (themeRoot="/sap/bc/bsp/sap/zstyles/myRoot/"). But when we open the BSP-application in the portal (via the themeviewer) the portal overwrites the themeroot setting and causes the BSP-application to use the standard sap_tradeshow theme.
If we open the application from the WAS (testing) then the theme is applied.
Can anybody help me?
With regards,
Frank Roels
Hi
From your description it looks like you are hosting the BSP applications through an ITS interface and the ITS theme is being applied.
You can modify the teamviewer code to launch BSP application directly instead of ITS.
You can take a look at following weblog by Brian for creating custom themes for BSP application BSP In-Depth: ABAP Look and Feel Service
Hope this helps
~Deshdeepak
Similar Messages
-
How to Disable Portal Links with Web Dynpro Java?
Hi all,
I have configured some access to my apps through iviews in my portal content, each application is included in a PCD Structure inside a User Role; according the roles asigned to my users are the access to the applications the user wolud have
For example:
Role 1
RootApp
iView1.1
iView1.2
iView1.3
Role 2
RootApp
iView2.1
iView2.2
Role 3
RootApp2
iView3.1
My users might have one or even the 3 roles, and depending on their roles is the access to the applications that they may have.
Now I have a requirement of the user wherein when the user logs in to the portal and clic in the RootApp link the Dynpro Application must to present an iView showing a set of terms and conditions; if the users accept the terms then they can continue using the application defined by the PCD definition, but if the users don't accept the terms, the aplication links in the portal must be disabled and the user can not use the aplications defined, but this only has to be applied to the root link selected (RootApp) in wich the user doesn't agreet the terms and conditions, however, other applications that are non dependent of the root link (RootApp) can be used (RootApp2).
Are there any way to disable only certain portal links using a web Dynpro implementation?
Thanks In AdvanceHi
IMyService portalservice=(IMyService)WDPortalUtils.getServiceRefrence(IMyService.KEY);
portalservice.myMethod();
This is the code to get portal service reference and call methods implemented in the service
Also, add prtapi.jar to build path. Add sharing refernce to portal:sap.com/<Portal Application name>
Regards,
Yoga -
How to disable extra visit to portal server
hi Experts,
I am using wcp11.1.1.8, in a customized page template with portal builder, I used an EL expression to generate link like this:
"http://localhost/webcenter/portal/Portal1/page1?_adf.ctrl-state=1dvjebskda_596"
I clicked this link, using httpwatch to monitor network traffic, found IE visited portal server twice: first visit is a "Get" method for ""http://localhost/webcenter/portal/Portal1/page1?_adf.ctrl-state=1dvjebskda_596"", result code is 200, the second visit is a "Post" method for "http://localhost/webcenter/faces/oracle/webcenter/page/scopedMD/s64679523_e5d0_454a_952a_55128e607e07/Page7.jspx?wc.contextURL=/spaces/Portal1&_adf.ctrl-state=1dvjebskda_596", result code is 200.
If I paste this url "http://localhost/webcenter/portal/Portal1/page1?_adf.ctrl-state=1dvjebskda_596" to ie addressing field, and press return, httpwatch showed me there is no "second visit" for "/faces/oracle/webcenter/page/scopedMD/s64679523_e5d0_454a_952a_55128e607e07/Page7".
Seems the "second visit" is auto generated by portal framework, how to disable it?
Best regardsHi.
Sorry about the delay, I was too busy and I only could do a small testing.
I was checking quickly how WebCenter Portal (formerly Spaces) works with links compared to Framework Portal.
The responsible of the "possible twice visit" is the following ViewHandler: oracle.webcenter.webcenterapp.internal.view.navigation.NavigationViewHandler in spaces-model.web.jar (method getPageTargetViewId, getActionURL and also isRedirectRequired).
First of all, try to check that you're Pages have the "Redirect" checkbox unchecked (or you're navigation-model links). In case of being checked it will be 2 Requests.
There are following behaviors:
Using <af:commandLink> just will navigate using PPR and doing a POST.
Using <af:goLink> using goLinkPrettyUrl there are many behavior:
Already wc.contextURL is present in the URL and then it will call just one GET.
If not is present, getActionURL it will add it in order to maintain the correctly the relationship Page - Space. It will generate you're behavior.
I'm trying to understand why sometimes just call one GET and why sometimes generate a GET,POST,GET behavior.
Anyway if it's urgent open a SR to Oracle.
I think that If you try to add to your goLinkPrettyUrl the wc.contextURL parameter it just should do a visit once time (one GET). Try it if you have free time .
I hope this information helps.
Regards. -
How to disable right click on SAP portal login page
Hi,
How to disable right click on SAP portal login page. Our requirement is one should not be able to right click -
>view source. on the portal login page.
Best Regars,
TusharHi Tchanvan,
If you search google with "javascript disable right click" you will get loads of javascript code. This will also help you to gain knowledge.
@Explanation to last post : You need to import standard logon par file in NWDS. Create javascript file to disable right click and then include this file in your logon page. i think login page name is portalLogin.jsp and then deploy this new PAR file.
regards,
Jigar Oza -
How to disable "overwrite exisintg files" checkbox from Upload.aspx
Hi Folks,
I have a requirment to disable 'Overwrite existing files' check box from upload.aspx for only 2 specific libraries and it should be in visible for rest of libraries.
could you please share the code snippet / any other suggestions to make it full this requirement.
Thanks,
janaiahHi
you can use jquery to do so.
$(document).ready(function()
var
form = $('form');
if
( form.attr('action').indexOf('YOUR 36 character List ID - Without Braces') > -1 )
var
checkbox = $('#ctl00_PlaceHolderMain_UploadDocumentSection_ctl03_OverwriteSingle');
checkbox.prop('checked',false);
checkbox.parent().hide();
var
multiple = $('#ctl00_PlaceHolderMain_UploadDocumentSection_ctl03_UploadMultipleLink');
multiple.hide();
https://sharepoint4u.wordpress.com/2013/08/13/how-to-disable-overwrite-exisintg-files-in-a-library/
Regards,
Rajendra Singh
If a post answers your question, please click Mark As Answer on that post and Vote as Helpful
http://sharepointundefind.wordpress.com/ -
How to disable GLOBAL query variants in Portal (ANALYSIS Template)
Hello Experts,
Does anybody know how to disable the saving of global query variants on the selection screen?
Currently if anybody goes in and saves the variant with Description and puts something in the Technical Name, it saves that variant as global, so that everybody can see it. If they put something in the description only and leave the technical name blank, then it saves the variant as local. Therefore, how would I go about disabling the saving of global query variants?
Thank you,
Andrei
Message was edited by:
AGThis object S_ALV_LAYOgoverns the way ALV layouts are saved.
For more info see the OSS Note 601803.
Hope This Helps
Anand Raj -
Creation of Portal iview, with BSP on internal server, call portal external
Hi all,
folowing issue:
we have a test portal link with the internet via apache reverse proxy:
e.g. http://www.xxx.at/irj is linked with http://cscinternal.csc.com:51000/irj
The portal can be started without any problem.
further we have a bsp applikation on an other internal SAP Server which can be reached with
http://cscinternal02.csc.com:8047.
the server is also listed in the apache reverseproxy list as http://www.xxx.at/its
The bsp application link: http://www.xxx.at/its/sap/bc/bsp/sap/y_test_pdf_01/main.htm
can be reach via internet without any problem.
The bsp shows an radiobutton list + button, with the button one can show a list in an second window.
so, now i will call this bsp in an iview via portal
01. i tried the "URL iview", result: i can reach the html but on any action the side do nothing
02. i tried to config "iview BSP" BUT .... i have now idea what system i should put in,
the second sap system is configured but there is the internal name in (i guess) ...
so i'm newbee in portal things, so i don't know where i can configure a system ...,
BUT beside this, PLEASE can anyone describe me how i can manage this internal BSP
in the portal to call it from external?
thanks a lot
bye MikeHi Mike,
Try below steps to make sure your have proper connection between Portal and back end SAP system.
1) Create a system object , Enter required details for "Web Application Server" Properties with below two options
A) Enter Direct SAP Server details
Web AS Host Name : cscinternal02.csc.com:8047
Web AS Path: /its/sap/bc/bsp/sap
Web AS Protocol: http
B) Enter apache reverseproxy
Web AS Host Name : www.xxx.at/its
Web AS Path:/sap/bc/bsp/sap
Web AS Protocol: http
2) Create a Alias . Run the connection test for Web Application Server (WAS). Make sure connection tests are successfull
3) Create a BSP Iview ,
BSP Definition Type: Application
Selct System Alias
Customer Namespace: sap
Application NameSpace: sap
Business Server Page (BSP) Application: y_test_pdf_01
Start Page: main.htm
Let me know if it works.
Thanks
Aravind
Intelligroup -
How to Disable File Listing of UCM Content in WebCenter
Hi Experts,
We have a WebCenter custom portal application integrate with UCM. UCM hosts all static HTMLs, images, files for download, etc and WebCenter is provided the following link to access the html, images, etc.
http://host/PortalApp/content/conn/UCM_Connection/path/Contribution Folders/web/Public/images/some_image.gif
We notice that if we access http://host/PortalApp/content/conn/UCM_Connection/path/Contribution Folders/web/Public/images/ in browser, it provides full file listing and Up one folder link for viewer to navigate the full structure.
Our question is simple how to disable this behavior but we found nowhere in the documentation / google / forum have answer to this. So hope the experts here can answer, thanks.
Best Regards,
ZihoNo, I am not using Webtier. The content listing is the UCM content structure, not physical file structure. And the UI obviously is rendered by WebCenter with WebCenter image resource http://host/PortalApp/adf/webcenter/uponefolder_qualifier.png.
Edited by: Ziho on 2011年4月19日 上午1:43 -
How to disabled 'user settings' in ALV by right clicking
Hi,
How to disable the 'user setting' context menu and corresponding popup after right clicking in the ALV.
I already tried parameter wddisableuserpersonalization = X but still I can do a right click and go to user settings.
Hope you can provide the right solution/method etc.
Thanks, JohnHi,
In my opinion this has nothing to do with auth settings... Has everything been transported cleanly?
You should double check the settings on your Acceptance machine, especially considering WD_GLOBAL_SETTING. If User-Personalization is allowed here, it will overwrite everything else.
Maybe also check WD_ANALYZE_CONFIG_USER on Acceptance machine and delete all personalizations for the user you are testing with. I once successfully messed up my Personalization with conflicting entries there...
best regards, Lukas -
How to disable the context menu
Hi folks,
we have an application running in EP. We want to disable the context menu (right click hand). Any help is welcome.Hi!
I have the same problem because we want to run WDA applications in th internet and there it is "not allowed" to "overwrite" the user's normal browser context menu.
Additionally we are interested in how to disable the F1 and Ctrl.-F1 help features for the whole WDA application. We do not want to present technical details in the internet.
Any help very welcome!!!!
Regards,
Volker -
Dear All,
How to disable Refresh,Reload in browser and end user should not allow to multiple browser sessions in portal.Where we need to configure the settings or any code in masthead or any other component. My server version is 7.4 - SP5 .Please help us.
Thanks for advance,
BR,
Durga Rao.Dear all,
i am able to logoff the click refresh button on keyboard.I am using this code to log off the user into the portal.
document.onkeydown = function(e)
var key;
if (window.event) key = event.keyCode
else
var unicode = e.keyCode ? e.keyCode : e.charCode
key = unicode
switch (key)
{ //event.keyCode
case 116: //F5 button
LSAPI.sessionPlugin.logoff();
event.returnValue = false;
key = 0; //event.keyCode = 0;
return false;
case 82: //R button
if (event.ctrlKey)
LSAPI.sessionPlugin.logoff();
event.returnValue = false;
key = 0; //event.keyCode = 0;
return false;
case 91: // ctrl + R Button
LSAPI.sessionPlugin.logoff();
event.returnValue= false;
key=0;
return false;
Thanks.
But i am unable to control the multiple windows opening the browser.So any one can tell me the how to block the new window and new tab/duplicate tab option.
BR,
Durga Rao. -
How to disable Create Order in Mobile Device
Hi All,
How to disable create order in the mobile device. We implemented MAM3.0 scenario, we just wanted to maintain Edit Order, Display Order in the Order Management. We don't want Create Order functionality in the mobile device. How can we achieve this?
Please through some light.
Thanks and Regards,
Ameer.Hi,
You can find all relevant enhancement documents for MAM30 at:
http://service.sap.com -> Under Sap support portal -> software download ->Sap Installations And Upgrades -> Installation and Upgrade guides ->SAP xApps -> SAP xApps for Mobile Business -> SAP xMAM -> There you can find for both xMAM 3.0 (For NW 04 and 04s).
You can see the Enhancemnt guide for Frontend for more details.
Hope this helps.
Best Regards,
Siva.
PS: Reward with some points if you find the post useful. -
Urgent : How to manage language translation in BSP iViews
Hi All,
I am required to maintain my Poratl in bi-lingual ie (German and English) language.
Now my Portal has got BSP iViews.
Through OTR I can maintain both English and German texts for translation in the BSP application.
When one logs in through R/3 system and executes the BSP application then depending on the sy-langu value the text is dispalyed in EN or DE.
But if I log in through the portal how do I get the User language maintained in UME and depending on that do the translation of the BSP iViews.
Please guide me through this.
Waiting for your reply,
Thanks & regards,
SwetaYou can modify the default portal language or even force a language for all users by modifying the following file :
<J2EE root>\WEB-INF\portal\system\properties\prtDefault.properties
Look at the following lines :
This is the default language to be used when none is specified
request.defaultlanguage=en
request.defaultcountry=us
If you prefer to have the same language for all users no matter their user locale, change the lines to this :
This is the default language to be used when none is specified
request.mandatorylanguage=en
request.mandatorycountry=us -
How to disable end user personalisation for all webdynpro application.
Dear Experts,
I have a requirement where I have to disable the end user personalization of each and every
webdynpro application in my server.
I know how to disable the personalization of a single application or a single component, but my requirement is to disable the personalization of all applications.
Request you to please suggest.
Warm Regards,
Upendra AgrawalHi,
As per SAP help,
Customizing: User-Independent, Client-Wide Modifications
While a single user u2013 during a personalization process u2013 can manipulate his or her own settings, an administrator has the option of executing Customizing settings for all users. Technically, this procedure is not different from personalization; both take place at runtime of an application. The difference lies in the range of the settings. In addition, for these global settings an application must run in a special administration session. This is always automatically the case if an application was started in the portal in the preview session. Independently of the portal, you can start an application in the following manner from within the workbench in administration mode:
Double-click the name of the application in the object list.
In the Web Dynpro Applications menu in the upper, left-hand corner of the Workbench window, choose Test Execute in Admin Mode .
The configuration mode is passed to an application as the sap-config-mode=X URL parameter.
Note
All the adjustments made by the administrator in admin mode are stored as client-specific. Presently no option is available for structuring smaller user groups on an administrative basis. Since cross-client adjustment applies to the respective configuration, the structuring of smaller groups can be implemented currently through the maintenance of different configurations.
End of the note.
You start personalization by calling up the context menu for the respective UI element in your application. In the corresponding context menu for an administrator (that is, with URL parameter sap-config-mode=X), in addition to the standard settings administrators have the option within a UI element container to sort either single lines (Grid, Matrix aund RowLayout) or single elements (FlowLayout).
Note
Administrators require special authorization for client-wide modifications. This can be a developer authorization or the special authorization S_WDR_P13N. You cannot create configurations at design time with this authorization, but you can make modifications at runtime.
End of the note.
These modifications are valid for all users but take place in the current client only.
Thanks,
Chandra -
How to disable the certificate hostname verification?
In JSSE changes file <http://java.sun.com/products/jsse/CHANGES.txt>
It states the following:
"It is sometimes useful to "disable" the certificate hostname
verification during project development. A single certificate can now be shared among many development machines so that the hostnames don't need to match. A bug was fixed in the HttpsURLConnection hostname verifier code that now allows this functionality to work."
Any idea on how to disable it
Thanks
- rayedthis is easily achieved :
create your own class (for example 'MyHostNameVerifier' ..) as a subclass of the JSSE HostNameVerifier and overwrite the method :
public boolean verify(String parm1, String parm2)
to your special needs. This method implements the verifying of hostnames..
For your HttpsURLConnection then call
setHostnameVerifier(new MyHostNameVerifier());
so the HttpsURLConnection will then use MyHostNameVerifier in order to verify the hostname registered in the certificate.
Maybe you are looking for
-
How do I force iDVD to exceed maximum content limit?
I have a MacBook with a single layer burner. With iMovie/iDVD, I have created a project that is 131 minutes, 4.52 GB in size, which is slightly larger than what can be burned onto a single-layer disc. The project is from two 60 min. MiniDV tapes, so
-
Hey Gang, I need to track the User and table activity. My goal is to find out what tables are static and which are not. Which user classes should be changed and how access should be assigned. This will also allow me to tune the database accordingly.
-
Re: Satellite A200-1BQ, not responding after screen saver
Hi, I have a Satellite A200, Windows 7 32 bits OS. When running the screen saver the PC stop responding. Have to switch of because no response. If you have report the some problem please send.
-
Hello experts ! I'm trying to configure group in LDAP, and add members to this group : The group : ~~~~~~~~~ objectClass: groupOfNames objectClass: top cn: billingdept member: o=ibm,c=us,uid=c0001,ou=people member: o=ibm,c=us,uid=
-
What kind of classes I can use with JSP in tomcat? Please Help
Hi people, I tried use the classes that I did for others application and it throw this exception : "org.apache.jasper.JasperException: Unable to compile class for JSP An error occurred at line: -1 in the jsp file: null Generated servlet error: [javac