Create portal action use UME API

Hi all,
    I'm now wanna create a new portal-action use UME API, or get all the defined actions in the portal, how can i do that?
    Demo code the better, thanks.

Hi Bo Wang,
maybe you could support my idea in SAP's idea place "UME api: Extend the api to ume actions"
https://ideas.sap.com/ct/ct_a_view_idea.bix?c=97F64433-5773-403E-A7C6-D7EB3BD6428D&idea_id=15F5C66D-B75E-4A60-9527-743CB0A279CB
Regards,
Jochen

Similar Messages

  • How to get Portal Login user ID and Groups using UME API in JSPDynpages

    Hi Experts,
    How can I get the portal logged user ID and bsed on that ID need to get his assigend groups.
    For this Initially I need to get the logged user ID using UME API.
    Can you drop the code to write and display using JSP Dynpages?
    Thanks
    Venkat.

    Hi,
    Try the below code
    IUserFactory userfact=UMFactory.getUserFactory();
    IUser user=userfact.getUserByUniqueName(request.getUser().getUserId());
    String usrid=user.getUniqueName();
    And also you can get the groups assigned to user by using the below code
    Iterator groups = user.getParentGroups(true);
    while (groups.hasNext()) {
         String groupstr = (String) groups.next();
         IGroup g = UMFactory.getGroupFactory().getGroup(groupstr);
         response.write("Group name "g.getUniqueName()"<br>");
    Regards
    Suresh

  • Creating a mapping using the API

    Hi Brian, I am curious about this use case - what's the reason you are looking to do it using the API? You can create several objects using the API and the most typical use case we have observed is where mapping developers create a pattern or what we call as a "template" - which is a mapping with various properties parameterized. For example you can create a mapping with the filter parameterized, or define a very generic mapping with source, target and the field map between those all parameterized. Once you do that, you can create a "task" for this mapping (known as Mapping Configuration Task) - that can be done using our UI or using our REST API. If you choose the latter, you can pass on parameter values as part of the API request. Suggest you to take a look at our new Developer Portal, and specifically at the sections Templates and REST API there. Feel free to post any further questions here. If you sign up to the developer program there, you will get much more direct help.https://community.informatica.com/community/technology_partner_network Amol

    I was wondering about creating a mapping using the API. It clearly states in the Dev guide that this is possible, but when I perform a get mapping request, I don't see all the information given for a certain object.  For example, I don't see an expression in the mapping object (although one exists when I view the object in Cloud).   Has anyone else done this? Is it easy to create objects via the API?  Thanks!

  • Create portal user using web dynpro abap application

    Dear All,
    I would like to know is it possible to create portal user-id through web dynpro abap application.
    My requirement is
    > I have to create a web dynpro abap application. In the web dynpro abap application I have name email-id and phone number as entry fields.
    > I will click on submit, one unique id will get created. This unique id will be the login id for portal.
    I found how to create portal user using web dynpro java, but i could not find regarding web dynpro abap.
    If it is possible to create the portal users using web dynpro abap pls share the code as well.
    Regards,
    Swapnil Indulkar

    Hi swapnil,
    I think by using BAPi.. BAPI_USER_CREATE1 you can create.
    Please check this...
    Create portal user from webdynpro abap
    Creating user and assigning a group through code
    user administration su01
    How can i get the portal user id from logon ticket in the webdyn 4 ABAP
    Cheers,
    Kris.
    Edited by: kissnas on May 21, 2011 8:47 AM

  • WLCS 3.5 - Creating portals not using GUI tools

    are there any docs that describe how to create portals not using the GUI,
    ie, what data gets added and where so that we could automate the creation of
    a portal if we wanted to?
    thanks
    Filip
    ~
    Namaste - I bow to the divine in you
    ~
    Filip Hanik
    Software Architect
    [email protected]
    www.filip.net

    are there any docs that describe how to create portals not using the GUI,
    ie, what data gets added and where so that we could automate the creation of
    a portal if we wanted to?
    thanks
    Filip
    ~
    Namaste - I bow to the divine in you
    ~
    Filip Hanik
    Software Architect
    [email protected]
    www.filip.net

  • How to create RMA lines using OE_ORDER_PUB API

    Hi All,
    We are trying to create RMA lines using OE_ORDER_PUB API but every time API creating <b>Standard Order Line</b> line type in application.
    My program is creating order header as a <b>Return Order</b>, i am passing corrent line type ids (1028 - RMA Shipment, 1027 - RMA Receipt) but oracle API is creating Standard Order Lines (ID 1001).
    Can any one tell me about that?
    Thanks
    Ravi
    null

    Check the defaulting rules setup. Defaulting rule will derive the line type based on the order type and shippable flag etc.
    Also check the line flows assigned to the order type in transaction types window.
    Thanks / Bhaskar Akkala

  • Execute GP Action using GP API

    Hi Experts,
    I would like to execute a GP Action using GP API from a web service. Can someone let me know the process to be followed in fullfilling my requirement
    Thanks in advance
    Satya

    hi,
    check the following links that will help you
    http://help.sap.com/saphelp_nw04s/helpdata/en/44/55a0b999d44de2e10000000a1553f7/frameset.htm
    http://help.sap.com/saphelp_nw04s/helpdata/en/43/fcdf77fc6510b3e10000000a11466f/frameset.htm
    The specified item was not found.
    with regards
    shanto aloor

  • EMail Notification for the Newly Created users using UME API

    Hi ,
    In my application ,the user creation is handled by custom Admin module which uses the UME APIs. Upon creating the user, we need to send a notification mail to the user's email id which he provided in the Add new user form.
    <b>Is there any direct APIs available to notify the user via email. I hope the Standard user creatin module in User Administration also uses the same UME APIs.</b>
    Please let me know the possibilities.
    Appreciate your help.
    <b><b>Sample Code:</b>
         <b>IUserFactory mUserFact = UMFactory.getUserFactory();
         IUserMaint mUserMaint = mUserMaint = mUserFact.newUser(aUser.getLogin());
         IUserAccountFactory mAccountFact =UMFactory.getUserAccountFactory();
         IUserAccount portalAccount = null;
         mUserMaint.setDisplayName(aUser.getLogin());
         mUserMaint.setXXX();
         mUserMaint.save();
         mUserMaint.commit();
         portalAccount = mAccountFact.newUserAccount(aUser.getLogin(), mUserMaint.getUniqueID());
         mAccount.setPassword("XXXXXX");
         aUser.setPassword(mPassword);
         mAccount.save();
         mAccount.commit();</b></b>
    Thanks and Regards,
    Sekar

    Hi,
    I have used the Java Mail API directly send the notification upon new user creation.
    Thanks and Regards,
    Sekar

  • Help required to create portal without using any vendor specific API's

    Hi All,
    I am trying to develope a portal without using any vendor specific API or tool like Weblogic workshop or Vignette Wizard. I would like to know whether Sun Microsystem provides any API for developing portal. I would also appreciate if I can get few links for developing portal using java API's...
    Thanks in advance...
    Dgk

    Sure Sun provides the tools: it is called the compiler. Now all you need to do is write the code for a portal. But since there are vendor specific solutions available that could make your life a lot easier, writing one yourself is like reinventing the wheel.
    Pardon my mild sarcasm, but avoiding API's not developed by Sun is not the general idea behind the Java platform. You are encouraged to use those API's.

  • Set Security Question & Answer using UME API in Web dynpro Java

    Hi Experts,
    I;ve developed a Web Dynpro java application to create a user in UME.
    I am able to set all the user account related attributes but I am not able to set the security question and answer as I do not see any attribute for the same.
    Can anyone please suggest how to set the Security question and answer in UME?
    This is required so that if the user wishes to reset his password / forgets password, we can ask him the security question which he selected at the time of registration.
    Please let me know if it can be achieved at the code level and whether UME API supports security question and answer or any such attribute.
    Also, if no such attribute is present by default in UME at the moment; can we create/configure some custom attributes in UME and store the security question and answer into those attributes. This would serve our purpose.
    Kindly assist.
    Regards,
    Anurag

    Hi,
    Thanks a lot for the reply!!!
    I have one doubt here:
    You've mentioned the below code to fetch the security questions in your reply:
    IUser user = WDClientUser.getCurrentUser().getSAPUser();
    String CUSTOMER_NAMESPACE = "com.sap.security.core.usermanagement";
    String attmotname [] = user.getAttribute(CUSTOMER_NAMESPACE,"MotherName");
    String attlucknum [] = user.getAttribute(CUSTOMER_NAMESPACE,"LuckyNumber");
    String attmobnum [] = user.getAttribute(CUSTOMER_NAMESPACE,"MobileNumber");.
    But this would be only applicable when the user has already logged on to the portal as it uses "WDClientUser.getCurrentUser().getSAPUser();" code.
    On the contrary, I want the security questions and answer to be accessed even when the user is not logged on to Portal so that based on the question & answer, the user can reset his password.
    Please suggest, how can we achieve this and where and how to set the custom attributes for the same?
    Do we have to set the Publicly Viewable Custom Attributes present at location you mentioned in your reply?
    Also, if yes; please let me know how to set the custom attributes?
    Thanks & Regards,
    Anurag

  • Creating Job material using public API from WIP

    Take the entered component part number and search in the WIP job material requirements. This should use a WIP API. If the material is found, increment the quantity. If material is not found, create the job material using public API. (Provide WIP API details)
    The java object, oracle.apps.csd.schema.server .CsdHvWipJobPvtEO is a wrapper to call WIP API. This should be used to create material requirements is this the procedure to create job material Req.
    from OAF how we have to create Job material transaction

    Hi Pat,
    What is your SBO version? I've seen several cases in which the login/connection procedure (both in the client and via DI API) has become much slower after upgrading to SBO 2005.
    Do you experience the same slowness when connecting via DI API in a non-WebService setting?
    I would not recommend using DI API in a web service context in the first place. DI Server would give you a much more robust, stable and scalable infrastructure to build upon.
    Henry

  • Issue in creating sales order using process_header API

    Hi all,
    We have a requirement to create sales order using apps adapter in ebiz from SOA suite composite.I used OE_ORDER_PUB.Process_header API to create order header.
    When I pass the inputs and test the service,I get output with return_status='S'. But no record falls at the OE_ORDER_HEADER_ALL table.
    I cant identify where the problem is.Pls suggest me with the things to resolve this issue.
    Thanks,
    goutham

    Hi all,
    We have a requirement to create sales order using apps adapter in ebiz from SOA suite composite.I used OE_ORDER_PUB.Process_header API to create order header.
    When I pass the inputs and test the service,I get output with return_status='S'. But no record falls at the OE_ORDER_HEADER_ALL table.
    I cant identify where the problem is.Pls suggest me with the things to resolve this issue.
    Thanks,
    goutham

  • Creating formatted search using DI API

    Dear All,
    Please let me know if we can implement/create formatted search on a UDF textbox using DI API. Is it possible to create formatted search through code using DI API ?
    Regards,
    Noor Hussain

    Yes, it is possible. Look for the FormattedSearches object in SDK.

  • Problem in Creating Delivery Note using DI API

    i am using DI Api with Delphi Language to Create a Sales Delivery Note based on the sales Order.
    But Each time when i add, a new Record gets Created rather than the new Line.
          Document:= IDocuments(FCompany.GetBusinessObject(oDeliveryNotes));
          Document.CardCode         := 'A001'
          Document.Lines.BaseType   := 17;
          Document.Lines.BaseEntry  := 84;
          Document.Lines.BaseLine   := 4;
          Document.Lines.ItemCode := '001A';
          Document.Lines.Quantity := 10;
          Result := FODLN.Add;
    In this case,new rows are added each time in the tables ODLN and RDR1.
    How to avoid this.As this creates a individual Delivery Note for each time i add than to the Order Number.

    HI,
    The problem : Do not specify ItemCode if you specify Base document.
    So
    1st case
    Document:= IDocuments(FCompany.GetBusinessObject(oDeliveryNotes));
    Document.CardCode := 'A001'
    Document.Lines.BaseType := 17;
    Document.Lines.BaseEntry := 84;
    Document.Lines.BaseLine := 4;
    Document.Lines.Quantity := 10;
    Result := FODLN.Add;
    or
    2nd case
    Document:= IDocuments(FCompany.GetBusinessObject(oDeliveryNotes));
    Document.CardCode := 'A001'
    Document.Lines.ItemCode := '001A';
    Document.Lines.Quantity := 10;
    Result := FODLN.Add;
    1st case creates delivery note with only one row with reference to Sales Order
    Take care: BaseLine comes from 0
    2dn case creates delivery note with only one row WITHOUT reference.
    if you have more than one rows, use the
    Document.Lines.Add to enter another row
    Regards,
    J.

  • Created Role responsibility using TCA API but couldn't view it from Forms

    Hi All,
    Created Role responsibilities using HZ_CUST_ACCOUNT_ROLE_V2PUB.create_role_responsibility. API returned responsibility_id and I could check record in HZ_ROLE_RESPONSIBULITY table. But when I view it from Contact Roles screen, No value but If I click on the field then value appears on screen.
    I am setting below values. Can you please share your thoughts on it.
    l_role_responsibility_rec_type.cust_account_role_id:=335599;
    l_role_responsibility_rec_type.responsibility_type:='DELIVER_TO';
    l_role_responsibility_rec_type.created_by_module:='API_V2';
    HZ_CUST_ACCOUNT_ROLE_V2PUB.create_role_responsibility (
    p_init_msg_list => FND_API.G_TRUE,
    p_role_responsibility_rec => l_role_responsibility_rec_type,
    x_responsibility_id=> x_resp_id,
    x_return_status =>x_return_status,
    x_msg_count =>x_msg_count,
    x_msg_data => x_msg_data
    Thanks
    Vara

    Add the following java script in the submit button click event
                         var cURL = enter the WSDL url generated
         var service = SOAP.connect(cURL);
         xfa.connectionSet.DataConnection.execute(0);

Maybe you are looking for

  • Opening RAW photos in PSE 8

    I have recently bought PSE 8. When I had my Canon 350D I could use it to edit RAW photos. I have just bought a Canon 550D and PSE 8 cant open any RAW photos now for editing.

  • Installer.app rights

    Is it normal for Installer.app located in /System/Library/Core Services, when it asks for your admin password, to ask for the right system.install.root.user ?

  • HT201269 Says my password to restore is not correct, isn't it the same password for my Apple id?

    My phone crashed yesterday when iTunes tried to add an upgrade to it. The upgrade didn't work and instead it wiped my phone back to factory settings. There is a back up of my phone saved to my computer from before the upgrade attempt. When I try to r

  • Preferences window won't close in Mail 2.0.7

    I've been annoyed that any time I open the Preferences window in Mail (to change account settings, rules, or whatever), it will not close. It doesn't respond to the close box being clicked, nor the Close Window command. I'm using OS X 10.4.6 on a DP2

  • Looking up JNDI names

    Hi, I got "NoInitialContextException" when i tried to execute a session bean client by making the look up my is follows client program import javax.naming.*; import javax.ejb.*; import java.util.*; public class AdviceClient public static void main(St