Can I get the current portal user in the VC?
Hello all,
I create a iView to change the SQL server data record by VC.Now I want to write the user information of the portal into the SQL server database when someone use the iView to change the SQL server data record.How can I do?
Thanks!
Hi Lin,
This is a very good question. However, in VC we can use function modules or any query to connect to various back-ends. There is no funda of using global variables in VC, by which you can store the data of logged in users. If you have any function module or query to fetch the data of logged in user, you can use that in VC, but i doubt, it is not feasible.
Similar Messages
-
9i forms/sso - at runtime can I display the current oid user on the form
Hi ,
Is it possible programically retrieve the current oid user name so that I can display this name on the form at run time.
I am also wanting to use the oid user name as a parameter to call a stored procedure inside the form,
is there a built-in to do this ?
Thanks
sd.Hi,
guess that
declare
currentuser Varchar2(100);
begin
currentuser := get_application_property(sso_userid);
end;
does a better job.
Frank -
Get current portal user password?
Is it possible to get the current portal user's password? If so, I need the pl/sql api to accomplish this.
Hi there,
I was looking for the same thing but as I understood it is saved in a HASH format and their is NO way to decrypt it.
The thing I do now is storing the password in a selfmade table besides the SSO tables for administrative use.
Greets
cumQuat
Dave Ruzius -
Hi all,
Can somemone tell me how to get the current portal request in the Repository Manager. Because I need to have the current portal User and for that I need the request object in the RM.
Plz. guide.
It's urgent.
Thanx in advance.Hi,
I think the solution could be:
IPortalComponentRequest request =(IPortalComponentRequest) this.getProxy().getDynamicPage().getPageContext().getRequest
IUserContext user = (IUserContext) request.getUser();
It works for me on the render() method of my layout controller.
I found the answer in this <a href="https://www.sdn.sap.com/irj/sdn/thread?messageID=549647#549647">thread</a>
regards
Anders -
How we can get the current running user information in BusinessOne
Hi experts,
How we can get the current running user information in BusinessOne Application,
Based on the user details i want to assign some functionality,
Regards,
Saidarao yakkalaHi,
As per me you can't get detail by server side.
If you want to know who are connected then you can use sp_who2 procedure in SQL query.
That will display who are login.
For more detail you have to check LOG file on client side in SAP B1 > Log folder.
Thanks
Kevin -
Connect the current portal session to another user
We have to do application management for portal users. Often it's necessary to have the same view as the customer. So administrators need a portlet for specifying the user credentials and connecting the current portal session to this user. It's not possible to ask every user for his password.Has anybody created such a portlet?Is it possible to do this? Can I use the EDK or do I need the plumtreeserver - DLL? Which class do I need? Thanks for any help
Thank you - It works! Now I have an IPTSession-Object for the given user. But how can I set this to the current portal instance? I get only new sessions but I didn't find any way to change the current session.
-
Get the current client-user password
Hello,
I implement the following code:
IWDClientUser user = WDClientUser.getCurrentUser();
String name = user.getFirstName() + " " + user.getLastName();
that works without any problems.
But I need also the password of the current client-user.
Is it possible to get the password?
PatrickPatrick,
you mean a "login"? the hash-value won't help you, because as Dominik already mentioned: it's a <b>one-way</b> has, that means you can derive the hashcode from the password and not vice versa.
your solution would be e.g. to implement a saplogonticket authentication in your second web-server.
kr, achim -
I have a old copy of Final Cut Express 2 that I never installed. Can I get a current upgrade instead of repurchasing the new Final Cut Pro?
The Apple Store does not show does not contain purchase information of the old unused Final Cut Express. What can I do to register Final Cut Express 2 will not operate in the current OS systems on my iMac. It only is compatible with the G3 or G5.If you have a record/documentation of your FCS full version purchase, you can contact Apple here:
https://ssl.apple.com/support/proapps/serialnumbers/
to obtain your serial number.
MtD
Message was edited by: Meg The Dog to fix typo -
how can i get itunes to quit skipping to the currently playing song when i'm working on the library somewhere else?
You might be able to achieve what you want by using Party Shuffle. Set the source for Party Shuffle to be the playlist you want to listen to or add the tracks you want to listen to by control clicking on them and selecting Add to Party Shuffle. Once everything is in Party Shuffle, you can rearrange them to your satisfaction. As the songs are played, they'll roll off the queue. You can quit iTunes and even when you restart, all your songs will be there, in the order you want, waiting for you to hit play.
-
I currently have aT-Mobile sim, and therefore, a UK telephone number. Can I get a sim from EE with the same number to use in my iphone 5?
The easiest way to find out what carrier it's locked to would be to call the store where you purchased the phone.
The phone can be unlocked from any location. However, most carrier have restrictions about unlocking and you have to contact them for details. -
I have an 80 gig ipod classic. I have a new Macbook Pro running 10.8.2 and I can't get my current podcasts to sync onto my iPod. I have restored the ipod and dragged the current podcasts to the add list to no avail. What is up?
I have an 80 gig ipod classic. I have a new Macbook Pro running 10.8.2 and I can't get my current podcasts to sync onto my iPod. I have restored the ipod and dragged the current podcasts to the add list to no avail. What is up?
-
I can not get my Skylanders Portal of Power to sync with my iPad. Blue Tooth is on in the settings and I push the sync button on the bottom of portal but it never finds the device. HELP
Has anyone found a fix to this?
-
Can't get messages from iphone users on my new Samsung g allaxy and don't have my old iphone anymore ! Please help !
Read here under no longer have device:
http://support.apple.com/kb/ht5661
Be aware, changing your Apple ID password doesn't always work, & can take up to 45 days to work.
It's either that, or you call AppleCare & have them fix. -
To begin with, in file-explorer (.\system32\explorer.exe) normally, the new ribbon user interface in Win 8.1 does indeed display appropriate buttons depending on the currently displayed folder within the explorer.exe window.
But when one re-parents the explorer window handle to any window handle other than 0000 (desktop's window handle), then the UIRibbon fails to do so.
You might ask 'Who does that ?' and I would say no-one usually, however I use BrightExplorer which
is a great little app that gives me a tabbed file-explorer experience.
Now, this app works fine since Windows 7, but with Windows 8 the file explorer introduced the new UIRibbon in its UI. It's that new UIRibbon that gets confused by what I think may be be caused by the re-parenting that BrightExplorer does
to pull a file explorer session into its tabbed control.
This phenomenon relates to Windows 8 + and is observed only by doing the following steps:
Download BrightExplorer from BrightNewWorlds.com by going here: BrightExplorer,
In the address bar go to This PC,
then go to any other folder and note that the UIRibbon is not keeping track of the changing folder selections.
Does anyone out there feel that they can do something about this, or have advise?
Kind regards,
Robert van der MeijdenTo begin with, in file-explorer (.\system32\explorer.exe) normally, the new ribbon user interface in Win 8.1 does indeed display appropriate buttons depending on the currently displayed folder within the explorer.exe window.
But when one re-parents the explorer window handle to any window handle other than 0000 (desktop's window handle), then the UIRibbon fails to do so.
You might ask 'Who does that ?' and I would say no-one usually, however I use BrightExplorer which
is a great little app that gives me a tabbed file-explorer experience.
Now, this app works fine since Windows 7, but with Windows 8 the file explorer introduced the new UIRibbon in its UI. It's that new UIRibbon that gets confused by what I think may be be caused by the re-parenting that BrightExplorer does
to pull a file explorer session into its tabbed control.
This phenomenon relates to Windows 8 + and is observed only by doing the following steps:
Download BrightExplorer from BrightNewWorlds.com by going here: BrightExplorer,
In the address bar go to This PC,
then go to any other folder and note that the UIRibbon is not keeping track of the changing folder selections.
Does anyone out there feel that they can do something about this, or have advise?
Kind regards,
Robert van der Meijden -
URL of the current portal page loaded using Javascript ?
Hello:
I am trying to add programmatically the url of the current
page loaded in the portal to the 'Favorites List'. There
is a pre-built KM iview to store your 'favorites'.
I can extract and write to this 'favorites' using KM java
API. But only challenge is to extract the current loaded
page URL and title using Javascript.
I would appreciate any help in this regard.
Thank you very much,
Prasad NutalapatiDude i was having the exact same problem. I solved it using the SAP-provided EPCM (javascript client framework).
Javascript Code
var pageName = "";
var URL = "";
function bookmarkPage()
/* page url */
var fullURL = "https://<%=request.getServerName()%>/irj/portal?NavigationTarget=" + URL;
/* IE bookmark */
if(EPCM.getUAType() == EPCM.MSIE)
window.external.AddFavorite(fullURL , pageName);
else
var msg = "Sorry. The \"Add To Favorites\" feature only works with Internet Explorer. " +
"The URL to this page is " + fullURL;
alert(msg);
/* get pagename from eventObject from subscribed event */
function getPageObject(eventObj) {
pageName = eventObj.dataObject.title;
URL = eventObj.dataObject.URL;
/* subscribe to event in pagetoolbar area */
EPCM.subscribeEvent("urn:com.sapportals:navigation", "AddNavTargetAllowDuplicate", getPageObject);
End of code
Basically, what this does is that everytime a page loads, the innerpage, where the content is, raises an event using the EPCM.raiseEvent() method. EPCM.subscribeEvent subscribes to an event called AddNavTargetAllowDuplicate which has an object holding the page information (i.e. page title and URL (ROLE://...)). Everytime that it notices an event raised, the function getPageObject gets called to go get data from the event object that is available globally in the framework.
You should be able to put this code anywhere in any iview and it should work. Thou i have only tried putting it in the masthead. Try and if you still have questions please let me know.
Maybe you are looking for
-
Error invoking Web Service from Web application in BEA
I have a web service wich run fine at bea weblogic. If i invoke it from webapp in sunappserver no problem , from plain client no problem , from oc4j no problem, but if a invoke from same webapp from weblogic i get this error: <b>java.rmi.RemoteExcept
-
hi experts, i have a problem on oracle application framework(OAF). as per our client requirement ,page is there in particular day(like sunday or saturday) some columns should be disable stage. i need a logic for this how to approach. if you provide a
-
GRC EAM Authorizations: Few Anomalies in Standard Roles
Hi GRC/ Security Experts, To brief you quickly, we have an SAP GRC AC 10 SP13 about to be deployed with ARA & EAM Modules as a first phase deployment. All of the functionality is almost setup, just refining few things before going live. About the GRC
-
Reg:Binding Option is not appeared in Property Inspector
Hi All, Binding option in property Inspector is not appearing . How can I add this in to my application . Thanks In advance .
-
Firefox loads in Japanese however my options clearly state english
On opening, the tool bar at the top is in english, however the language for everything below 'Most visited' is in Japanese. I have gone tp the options menu under tools and ensured on ly english language is selected but it still only shows Japanese