Web_article object of WPC within Light framework for an anonymous user
When we place web_article object within a container of a page created in Web Page Composer. It causes error message: Cannot render container : com.sap.engine.lib.xml.util.NestedException: Function with name 'wpc:getString' not found in context library.
We use Light Framework.
Vladimir,
Please refer to this Note 1133788 - Com.sap.engine.lib.xml.util.NestedException in WPC
Hope this helps.
Cheers,
Sandeep Tudumu
Similar Messages
-
Image asking for Logon (Userid/Password) for an anonymous user
Hello,
I have created the HTML file in <b>Portal -> Content Administration-> KM Content -> root -> documents -> MyFolder</b> which I have access through an KM Document iView which contains the <b>text</b> and <b>image</b>. Also I have changed the Authentication Scheme property of iView to anonymous for an anonymous user.
Now the problem is that when I click on the KM iView for an anonymous user, then I am able to see the text of the HTML file but image does not comes, instead it asks for Logon ie User Id and Password.
Can someone tell me how I can see both the image and text.
Best Regards,
NiveditaHi ,
I also faced the same problem .
Solved by doing the following.
Open the PCD Editor as Content Administrator: Content Administration > Portal Content > Portal Content > Portal Users > Standard Portal Users > Standard User Role > Open > Object
a) Navigate to Home (note the tooltip "com.sap.km. home_ws") > Hidden > URL Access.
b) Open all contained iViews (Basic Search, Details, Document, Highlighted Content) for editing
c) Select the property category "Advanced"
d) Change the property "Authentication Scheme" to "anonymous"
e) Save your changes.
Regards
Naveed Ahmed -
Delete last name in welcome area for guest(anonymous users)
Hi Experts
I don't want to put the user last name on the Welcome message of anonymous default framework page.
But I can not try bcoz user last name is must fill .
Pls help me if anyone can.
Regards
Nge ZarDear Syed Zammer,
Thanks for ur answer.
I saw on sdn home page they haven't show the last name in welcome area for the guset.My user also want like sdn.But i can not try.
Are they make special or they change in backend program?
Whatever thanks Syed Zammer for ur reply
Regards
nge zar -
Is a session created for an anonymous user?
Hi all
Does the JEE server create a session even when an anonymous user accesses the server? Does he get a session Id? Do I have to setup the server to track anonymous users?
Thank you.
regards
Lakshminarayanan.VHi,
>Does the JEE server create a session even when an anonymous user accesses the server?
Yes. The anonymous user has the user ID J2EE_GUEST by default.
>Does he get a session Id?
Yes.
>Do I have to setup the server to track anonymous users?
Depends on your use case.
Regards,
Satyajit. -
Problem in EPCM in Light Framework
Hi All,
We are using 2004s EP 7.0.
We are implementing external facing portal using light framework for anonymous users. All the portal objects have anonymous authorization.
We have an iView in framework with code:
<a href ="javascript:open("ROLES://<pcd path>");">LINK</a>
And in the script tags:
<script language = "Javascript">
EPCM.doNavigate(pageID);
</script>
The iview corresponding to the pcd path is assigned to a role. But when we click on LINK it opens the iview but throws an error in Top Level and DetailLevel navigation Iview. But the same thing works fine in default framework.
Thanks,
SarangHi Sarang,
Light Framework does not support EPCF. Light framework has some limitations and this is one of them. For more details about the limitations of LF, see the SAP note number: <b>853509</b>. You can also refer the documentation at help.sap.com
Hope this helps you.
Regards
Ranjith -
ESS Business Package with External Facing / Light Framework
Hi all,
We are using an external facing portal with light framework page and we now start with ESS/MSS Business Packages.
Unfortunately e.g. ESS szenarios aren't working in our framework. I found out, that "strange" urls are used and that the session is terminated with the dsm.Terminator
(http://XXXX/irj/servlet/prt/portal/prtroot/com.sap.portal.dsm.Terminator)
Strange url which is called within light framework:
Browser submitted values to
http://XXXX/irj/portal?standAlone=true&WebDynproNamespace=sap.com/pcui_gp~xssutils&WebDynproApplication=XssMenuArea&DynamicParameter=sap.xss.menuhdr%3DSAPDEFAULT%26sap.xss.menuargrp%3DSAPDEFAULTESS_ERP2005%26sap-epcm-guid%3D4B4BF671AD569E176974193671944A9426C53F2A1765A289E821F4F42AF23713%26sap.xss.menuarea%3DEMPLOYEE_SEARCH_ERP2005&HistoryMode=0&windowId=WID1216035848750
If I use ESS with the default desktop it works.
I found the following Note with restrictions for External Facing Portal and Light Framework Page:
Note 916545 - Central Note for External-Facing Portal (NW 7.0) =>
https://service.sap.com/sap/support/notes/916545
Here an extract:
=====================================================================
IV RESTRICTIONS
=====================================================================
Unsupported Content: SAP business packages and applications that use the EPCM's WorkProtect Mode feature may not work properly when using the light framework page. (e.g. Web Dynpro based applications of the portal administration UI or custom build applications.)
What does may not work properly mean? Does anyone know if there are some "features" that makes it possible to run ESS szenarios in an external facing portal?
Is it possible to activate the WorkProtected Mode and Session Termination in the framework having in mind that some performance gain for the light framework is gone?
How did you implement ESS?
Thanks and regards,
StefanHi Gopal,
I already tried to replace e.g. in the inner page the Light Content Area iview with the normal Content Area iView.
With this change at least the height of the Overview Page will be displayed correct.
I'm still facing other problems that the DSM Terminator is being called regardless of the EPCF level (0, 1, 2).
Changing the epcf level doen't change anything.
Do you know what's the technical difference between the Light Content Area iView and the normal one?
Regards,
Stefan -
WPC content for anonymous user
Dear SDNites
We have recently started a project in which we are using Web Page Composer(WPC) for web content development. We have configured the WPC content for anonymous users. After the configurations, anonymous users could access this content without entering any user id and password. But after the restart of the portal, it started prompting login screens even for the anonymous users.We have checked all the required configurations and these seem fine to me. Can you please help me on how to resolve this issue?
Best Regards
PavanHi Pavan,
Please refer to this thread.
https://forums.sdn.sap.com/thread.jspa?threadID=948170&tstart=0
https://www.sdn.sap.com/irj/sdn/thread?threadID=943740&tstart=150
Hope this helps.
Cheers,
Sandeep Tudumu
Edited by: Sandeep Tudumu on Jul 7, 2008 10:22 PM -
Hello,
I have some problems with displaying the site content for the anonymous user.
First, I specify that I've done all the steps provided as a solution in this thread: [Web page composer and end user;
Some of the containers from a web page are showed correctly but some are displaying the following error message:
"Cannot render container : com.sap.engine.lib.xml.util.NestedException: Function with name 'wpc:getHrefValue' not found in context library."
This container uses a Simple Link List - template and as a link item contains an external link; so trying to trace the error I saw that xsl file corresponding to the template calls a method 'wpc:getHrefValue' for displaying the hyperlink value and for unknown reasons this is not available for the anonymous user.
The same thing happens if the template uses an internal link and brings the error:
"Cannot render container : com.sap.engine.lib.xml.util.NestedException: Function with name 'wpc:getWebDavAccess' not found in context library." refering to the getWebDavAccess method.
The par file containing the xslt helpers should be visible to everyone so the only thing it can represent is the way the "wpc:" call is made - which I couldn't track it.
Please tell me if you have any clues on this issue.
Thanks,
IoanaHello Ioana,
May I enquire which SP of WPC you are on ?
Just out of curiosity as I keep getting an authentication pop up despite assigning read user access to anonymous users group.
Did you come across a similar problem ?
Prem -
How to use search REST api to get custom managed property data for anonymous user?
I am trying build a public portal with anonymous access and i am trying to read some
content from custom managed property using search REST api in sharepoint 2013. I have tried to enable all possible attributes of the managed prop. Like searchable,queryable,safe etc. also i am including queryparametertemplate in my REST api search query. But
still i am not able to retrieve the managed prop. For an anonymous user. The same query returns the value if i am logged in.
Any Help is greatly appreciated.
Thanks,
Rakesh
Thanks, RakeshHi Rakesh,
To enable anonymous Search REST queries, we need to create queryparametertemplate.xml and upload it to the correct library in SharePoint.
From your description I can know that you have created the file, then I recommend to check the things below:
Please use “QueryTemplatePropertiesUrl” instead of “queryparametertemplate” in the Search REST API query as following: &QueryTemplatePropertiesUrl='spfile://webroot/queryparametertemplate.xml'.
Make sure that the Query Properties you need have been added to the QueryProperties element in the queryparametertemplate.xml file.
Make sure that the query parameters you need have been added to the WhiteList element in the
queryparametertemplate.xml file. For example, if you want to use Refiners in the REST API, then the Refiners should be added to the
WhiteList element in the queryparametertemplate.xml file as following:
<a:string>Refiners</a:string>.
You can also debug setting properties in anonymous Search Rest queries following the link below:
http://www.mavention.com/blog/debugging-setting-properties-anonymous-search-rest-queries
More references about anonymous Search REST:
http://blog.mastykarz.nl/configuring-sharepoint-2013-search-rest-api-anonymous-users/
http://msdn.microsoft.com/en-us/library/office/jj163876%28v=office.15%29.aspx#bk_AnonymousREST
Thanks,
Victoria
Forum Support
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
[email protected]
Victoria Xia
TechNet Community Support -
IView Personalization (Web Dynpro Java) for Anonymous User
Hello All,
Is it possible for anonymous user to see iView personalization (Web Dynpro Java) when personalized by an administrator? What I did was create new role and iView making available to anonymous user. This work fine meaning I can view iView using URL http://<servername>:<port>/irj/portal/anonymous . But the personalization I made to iView using administrator mode launching iView in preview mode and then using personalization dialog by choosing Ctrl and secondary mouse button to personalize is not showing. Iu2019m currently on EP7 SP15 and using iView type Web Dynpro Java for the development component sap.com/tcsecumewdenduser application name LogonHelpApp.
Any help is very much appreciated.
Many Thanks,
GaryHello Michael,
Yes, the Web Dynpro for Java Personalization is working perfect for non-anonymous users. The issue is when I view same iView using anonymous URL http://<servername>:<port>/irj/portal/anonymous the personalization is not showing just defaults back to the original Web Dynpro Java application settings. The iView that I created and personalized is the new Logon Help Dynpro Java application (LogonHelpApp). Is there some permissions that restricts anonymous user to view personalization?
Koti Reddy Iu2019m using the Web Dynpro for Java Administrator Personalization. Here is the documentation [http://help.sap.com/saphelp_nw70/helpdata/en/42/ed3ce7f8593eebe10000000a1553f7/frameset.htm |http://help.sap.com/saphelp_nw70/helpdata/en/42/ed3ce7f8593eebe10000000a1553f7/frameset.htm ]
Thank You for your help,
Gary -
Can we assign account for anonymous user
Hi,
Is this possible to assign account for the anonymous user using idoc script or by any rule concept.??
Thanks,
AbhijitThere is no straightforward out of the box way to do this.
Accounts are instrinsically linked directly to a user and not a role. There is a DefaultNetworkAccounts config variable but this only applies to users who have logged in.
Two options are
1) a Java filter on 'alterUserCredentials' there is an example of this in the HowToComponents SecurityFilter
2) User Credential Mapping (Not used this on 11g)
Go to Administration > Credential Maps
Create a new map with a Map Identifier of myMap
Add the following lines to the map
|#all|, %%
@|#all|, @%%
guest, @your_account(R)
Add the following to config.cfg and restart
ExternalCredentialsMap=myMap
This should pull through all other existing roles/accounts and for guests it should give them R permissions to your_account
Not tested it but from memory this should work
Enjoy
Tim -
I have created an HTML file in content management and a corresponding URL iview to display the file. I can preview this iview.
I have set the authentication scheme to anonymous and have assigned anonymous user as an end user with read permissions. When I tried toload the iview as anonymous user, a pop up login screen is being displayed. How can I remove thisIf you have a way to get to your portal anonymously, you should be able to copy the permissions for the anonymous user and use it in the iview. I'd first go back and recheck the permissions.
-
No style applied when using light framework and WPC content
Hi,
Iu2019m facing a strange behavior, and Iu2019m almost pretty sure that is an error in the WPC, but I decided to post it here, maybe someone can confirm it. When using both, Light Framework and WPC, for some reason, the text inserted in the WPC containers, using the Web Forms, doesnu2019t appear correctly (no style/font applied), but viewing the same information, using the Default Framework Page, it works correctly.
Any hint?
Thanks and Regards,
JohnHi,
The reason why I decide to use Light Framework, itu2019s because Iu2019m creating an EFP, and Iu2019m using the WPC to publish the content (articles, news, and link list), using the standard Web Forms.
The problem is, after adding to a WPC Page something so simple like an article (using the Web Form Article), no Portal iView, HTMLB or other stuff included, the preview of the WPC Page using the Default Framework Page is ok, but when using the Light Framework Page, the text in the article doesnu2019t have the correct font-family. It looks like there are some styles missing in the Light Framework Page, that WPC content is expecting.
Thanks and Regards,
John -
Performance Light Framework page and R/3 transactions
Hello,
I have a customer running an enterprise portal 6.0 containing basically R/3 transaction iViews.
Some of the users of this solution are using fairly low bandwidth and are complaining about performance problems.
My question is whether there is anything to gain from switching to the light framework page, or is the loading of the R/3 transaction the main bottleneck.
Has anyone made an estimate of the performance gains obtained by using the light framework page over the standard ones?
I have just found one such estimate on this forum, indicating a size improvement of almost a magnitude of 8 (100K vs 800K) (thread: portal performance optimization over low speed links)Here is the text that explains the disappointing restriction in the release of External Facing Portal with KM in NW04s SP5 and NW04 SP14.
NOTE 709354 relevant snippet below>>>>>>>>>>>>>>>>>
Release with restrictions
Knowledge Management in external facing portals
Knowledge Management is released in a restricted way for scenarios where the external facing portal capabilities of NW'04 SP 14 are used (i.e. reducing the network load by using the 'light framework page' concept of the portal): - KM iViews will work within the light framework page without erros. However, the network load will not be decreased since the navigation within the KM iViews requires the full range of scripts to be downloaded from the portal. - Browser Back/Forward navigation within KM will not work in all cases - Indexing of KM content by external search engines (Google, etc.) will not work on all content In addition, the general usage of KM in scenarios where untrusted (e.g. with a self-registered user ID) or anonymous users are accessing an external facing portal is recommended in a restricted way only to avoid upload of malicious files or code (e.g. disable file upload or discussion forum entries). This recommendation is true even if the 'light framework page' concept of NW'04 SP14 is NOT used. For more information on how to enable KM (and Collaboration) for anonymous users, please refer to the following notes. SAP NetWeaver '04 SP11 and below: Note 728106. SAP NetWeaver '04 SP12 and higher: Note 837898.
( Changed at 23.12.2005 ) -
Selection of a mobile framework - for enterprise mobility app.
There have been many plethora of mobility frameworks (e.g Kony, HTML5 based frameworks) that have same features as Cordova - write your code once and run it on multiple platforms. Some are free,others are not. Having recently implemented enterprise mobility app (integrating with ECC, CRM) using one such framework, there are a certain I would like to consider before choosing a framework:
a) How easy it to build security into the app (the login module)?
b) How do I know that the requests for my data is an authenticated source?
c) How good is the vendor support with plugins, upgrades to SDK?
d) For frameworks that are free, do vendors really pay attention to issues that you are facing during (very specific to) your implementation.
e) Scalability of the framework to support the app with newer mobile OSs, mobility sets (Motorola, Micromax, Blackberry), tabs.
f) All mobile sets have limited memory at most to 2GB (or little more). How will the framework help in viewing huge amount of data that is there in SAP?
From my experience, I would say it is big pain, implementing a enterprise mobility app with open framework adhering with the go live dates.
SAP products are more easy to handle. A lot of featues comes inbuilt. Mobile apps comes as pre-packaged apps. One needs to customize it according to it needs. Product support from SAP is remarkable. Implementing and going live with such product becomes automatically easy adhering to the timelines. So is the maintenance. But of course comes the licensing price for SAP.Sukanta Rudra,
I love to work with SAP products and so i m in SAP. Having worked on several other mobile applications before , i can clearly see the ease in development of Enterprise applications using SAP products portfolio.
Often I have seem blogs in SCN, advocating for frameworks other than that of SAP. No harm
Please mention the blogs as a reference for more understanding. I can always only see Cordova / appcelerator being the recommended platforms by SAP for cross platforms development.
SAP Partners with Adobe-Cordova/phonegap , Appcelerator, Sencha (the three big players in cross platform development)
Developer Announcement: Third Party Tools
SAP Drives Openness and Choice for Millions of Mobile App Developers
More over i have worked mostly on all the three for a while and have experienced the ease in development with cordova.
Also the HWC (Hybrid Web Container ) - the former way for developing hybrid applications on SAP Mobile Platform till 2.x has Cordova/phonegap plugins inbuilt in it. Literally it followed the approch of Cordova and ui framework was of Jquery Mobile .
But Now with the release of SMP 3.X things are completely under the control of developer. There are no restrictions to use a particular framework for development and developers are free to use their choice for development (SMP 3.x highlights BYOT - Bring Your Own Tools for Developers).
Adding to above , just would like to mention there are few products mainly focused and developed on cordova technology (KAPSEL plugins, Appbuilder, Fiori Client , River RDE in future integrating Kapsel plugins)
SMP 3.x is all open for developers , we are free to use any platform as per our requirements and convenience now.
PLease have a look at these videos on how SMP 3.x strategy stands for
My experience has been using Kony-SKY framework for developing the mobility apps (not mobile web). SKY plugins has been certified by SAP, to be used for developing mobility applications. (SAP does embrace other vendors). My questions pointed out above, was out of the struggles we had while implementing the project. Many at times, I felt I was reinventing the same tools while integrating into the SAP backends.
I am not a Kony guy, but will surely look into this and would check if i can help you.But out of my experience with Cordova /HWC/ Kapsel , it was satisfactory.
I presume you might have used/using SAP's Fiori apps, SAPUI5, mobile architecture and would like to gather some more information very specific to SAP's environment. I have no experience now on delivering apps using SAP's products. Maybe three months from now, I would get deep with 'SAP Fiori UX and SAP Screen Personas'. Maybe you could throw some light on few more queries.
Yeah , thanks to SAP for Fiori being out of License now and UI5 an Opensource. I have had the opportunity to also work and implement Fiori transnational applications and also develop Custom UI5 applications .
Note : Personas is really a good product , but on the down side is n't responsive in nature , so might not be a best fit for mobile devices
How are builds generated for different platforms? (Android uses.apk, Blackberry uses .cod, iPhone uses .ipa)
I can help you understand this with an Android Phone Gap project example
Typically Native Android apps are developed using Core Java.
Initially all the Core libraries of Android and java are loaded with import command
import android.os.Bundle;
Now Cordova libraries are added to existing libraries
import android.os.Bundle;
import org.apache.cordova.*;
and Android uses the concept activities and layout for screen navigation and designing.
and by default any android project should have an activity and layout for launching the application, for which the code looks something similar to this
setContentView(R.layout.main);
so , a Relative layout is initially launched as main view.
As mentioned in the blog in " How does it actually work section " cordova loads web views instead of the native layouts /activities
How Does it actually work ?
Technically the User Interface of a Cordova Application is effectively a WebView that occupies the complete screen and runs in the native Container. So , it is the same web view that is used by the Native Operating systems. This purely means that only the Native Containers changes according to the OS and internally the web pages remain the same. (Since the browser rendering of webpages are different for each operating systems)
For IOS it is UIWebView class
Android it is in android.webkit.webview
Windows it is WebViewClass and the similar goes to other OS .
This line of code is responsible for that
super.loadUrl("file:///android_asset/www/index.html");
our developed web applications should reside in the above mentioned location to access as any native web view
also few other hacks are to be done at
public class [appname]Activity extends Activity {
to
public class [appname] Activity extends DroidGap {
and to the android manifest file accordingly to get the permissions
Now internally the android applications works just like any native applications but accessing the web applications files in the web view. and just generates the .apk accordingly to the application.
Say a query is executed from a mobility app, say the result set is some 1000 rows, how does the data fetch mechanism work. Do you use some delta data fetch mechanism?
if i were to handle this , would try to filter this out to sections. Lets imagine huge PO s are resulted upon a query, i would try to create some sections/categories for Unreleased/Open/Approved /... and again try to perform some dynamic filter operations on each category selection/ or make use of pagination property to move across the items/records
Also user would not be interested to scroll and search for his item from a huge collection of items.
More over for handling of huge records Native approach is preferred to Hybrid/mobile web.
When a mobility connection snaps while the user is using the app, does the app stop immediately? Or rather how is user informed about non availability of the network connection?
Lets assume two cases here
1) Complete Online application
2) Online Offline Application
1) If user is trying to access the data from the application , since this being an online application , a proper network connectivity id to be checked properly before making any request .
for phone gap/cordova , Network Object helps us to check if network connectivity is available to make any request. else throw an alert to check the connectivity/ turn on the connectivity.
Similarly a Connectivity manager API exists for Android . Here is an example. Same would apply for other OS also.
2) For online - offline application . user wouldn't be able to read records from back end , but can perform other necessary operations on the device, and once the device gets connected to network, can sync with the back end . An alert should be thrown to inform the user about the loss in network connectivity and the limitations in accessing the data .
Build/release mechanism and subsequent tracking for mobility apps for periodic release of apps - say there would regular fixes to bugs, upgrades to framework SDK, device OSs might get upgraded - Is there a tool for tracking all these, etc
Yes. MDM tools are perfect fit for these. Afaria and Mocana are doing well now.
And, anything that you would like to share, related to SAPs environment, that makes implementation easier.
SAP Mobility is really booming and will grow , dominate in enterprise mobility in future.
For our understanding:
Let us know for more.
Edit :
IG is a part of SMP 3 but not a separate component as NWG
Regards
Virinchy
Message was edited by: Virinchy P
Maybe you are looking for
-
Can't Log-in or change password..​.help
So, I have seen this a few times on these forums, but I can not figure it out. I have the can't login or change password or email do not match problem, basically I can not do anything. Any help would be appreciated.
-
Hi, I'm quite new to abap oo but...anyway: I get a exception when I try to call call method lo_bcs->set_sender 1. Any pointers to why this code doesn't work. 2. Why can't I do a CREATE OBJECT on lo_bcs. method SETADDRESS_TO_FROM . data: lo_sender typ
-
Final Year Project, pls help me! _
Does anyone knows how to open the serial port in Palm for read/write? I have tried many times but always fail. Pls help! Urgent!
-
10 dim 1 fact data level restrict
All, I have 10 dimension tables and 1 fact table. and my Country Dimension table like below data Name,Country A UK B US C MY D SG My requirment is When user "A" logged in,he wants to view only UK country values simillarlly other user data. How will r
-
Please help me with this error message when processing IDOC. Message no.AM034 : An address has already been created for this handle. I have checked the sales order and delivery, and there is no duplication. Can anyone tell what is this error message