PEI-LoginActions (Accessing custom varpack issue)

Hi All,
At the OnAfterLogin() in LoginActions PEI. i am trying to get some values configured in xml using my custom var pack.
But as within the scope of this method OnAfterLogin(), i am not getting the current activity space to access my custom var pack.
code snippet is shown below.
public com.plumtree.uiinfrastructure.activityspace.Redirect OnAfterLogin(object oUserSession, com.plumtree.uiinfrastructure.login.ApplicationData appData)
Redirect redirect = new Redirect();
//LoginResult loginResult;
*AActivitySpace _asCurrentSpace = null;*           
IPTSession session = (IPTSession)_oUserSession;
CustomVarPack mVarPack = (CustomVarPack)_asCurrentSpace.GetVarPack(CustomVarPack.VARPACK_ID);
//Get Guest User Name from varpack
guestUserLoginName = mVarPack.GetValueAsString(Constants.XML_PEOPLE_CONFIG_SECTION, Constants.XmlPeopleConfig.GuestUserName);
return null;
As mentioned above activitysapce _asCurrentSpace is null and hence i can not access my custom arpack using this code.
Can any one have idea how to access my custom varpack in this PEI.

Hi,
We are using also custom varpack in PEI and it works fine. Consider code bellow.
*IApplication application = _appData.GetApplication();*
CustomVarPack customVarPack= (CustomVarPack) application.GetVarPackManager()                                                  .GetVariablePackage(CustomVarPack.VARPACK_ID);

Similar Messages

  • How to access Custom controller

    Hi all,
    How can i access custom controller objects in my other controllers.Can i call custom controller objects from component controller .

    Hi,
    I hope you mean the Custom Controller the same way we understand as defined here
    [http://wiki.sdn.sap.com/wiki/display/WDABAP/Introductiontocontrollers|http://wiki.sdn.sap.com/wiki/display/WDABAP/Introductiontocontrollers]
    To access custom controller from the component controller you have to do the following.
    1. Component controller->properties->use insert button to select the custom controller.
    2. Use the code generator (CTRL+F7) -second tab(general)->method call in used controller->select your custom controller->method.
    This will generate code like this
    DATA lo_zzsbn_cust_cc1 TYPE REF TO ig_zzsbn_cust_cc1 .
    lo_zzsbn_cust_cc1 =   wd_this->get_zzsbn_cust_cc1_ctr( ).
      lo_zzsbn_cust_cc1->test(

  • How to access custom JAVA webdynpro application from an iPad?

    Hi,
    We are trying to access custom JAVA webdynpro application from an iPad, but nothing is opening up from the iPad browser.
    What can be the possible reasons for this? Any kind of SICF enablement or opening up of ports in the network?
    Any inputs are welcome!!
    TIA,
    Regards
    Deepthi

    Hi,
    it is possible to show Java Web Dynpro applications on a mobile device in general, but the controls and the ui should be optimized for the mobile device.
    Safari devices are not officially supported so far for Mobile Web Dynpro.
    Supported are Windows Mobile devices and Blackberry devices. I also got some good results with Symbian devices.
    You can find more inforamtion on Mobile Always Connected at:
    ht[http://help.sap.com/saphelp_nwce711core/helpdata/en/7d/28fa3e7cb1d861e10000000a114084/content.htm|http://help.sap.com/saphelp_nwce711core/helpdata/en/7d/28fa3e7cb1d861e10000000a114084/content.htm]
    Best Regards,
    Stefan

  • WebDynpro accessing custom-build EJB applications

    Hi there,
    I have a query regarding WebDynpro accessing custom-build applications deployed on web-logic server and J2EE servers.Following is the scenario.
    There is central authentication mechanism deployed in J2EE server. GUI users (in EP) have to be authenticated through this application(EJB).
    In EP, this remote call would happen through the WebDynpro. After successful authentication, calls will be sent to another Weblogic server.
    Too many remote calls. How about the scalability & performance factors with WebDynPro?

    HI,
    Webdynpro and EP are almost same except coustomisation coming to picture in EP, why do you want webdynpro to EP to web logic, Just crate your UI in dynpro convert them to Iviews in EP through EP call wenlogic server/J2ee server i hope there will not be any hindarence to scalability or perfomance.
    when it comes to remote calls after all your going to call weblogic through EP but dynpro UI will be as an Iview
    I hope it helps you
    in case if you need further details let me know
    Regards
    RK

  • Access Custom Attributes in JavaScript and in Transactions

    Hello,
    I try to work with custom attributes. I've problems accessing the values in JavaScript and in transactions, but it works fine within .irpt pages.
    What's the trick?
    For a custom attribute called PLANT, can I write something like this in JavaScript?
    var p = ;
    Is there a way to access custom attributes in the Link Editor of an Action Block?
    Kind Regards,
    Matthias

    Hi Matthias,
    it is not possible to integrate that kind of MII variables in JavaScript like you discribed before.
    You are right that this kind of expression is possible in the .irpt file. The reason why it is working in the .irpt
    but not in the .js is, that the MII script parser is only replacing in HTML content. Everywhere you have
    scripting the parser will not replace the {...} markings (since the curly brackets also show start/end of functions aso.).
    Variables to JavaScript
    The easiest Way to get those variables is to create hidden fields in the .irpt file that you can access via JavaScript.
    For example:
    <input type="hidden" id="hidden_plant" value="{PLANT}" />
    This will be parsed to (e.g.)
    <input type="hidden" id="hidden_plant" value="Karlsruhe/DE" />
    Now you can access this value in JavaScript via:
    document.getElementById( "hidden_plant" ).value;
    Variables to Transactions
    To parse custom variables to a transaction you first have to specify corresponding transaction variables in the
    transaction itself. After saving the transaction you can map those variables to Parameters in the Xacute-Query-Editor.
    Including this transaction to your webpage you can simply assign the required value to the corresponding parameter.
    For example if you mapped the Plant variable of the transaction to Param.1 you can specify the information in the .irpt
    like:
    <applet id="trx_test" ....>
      <... />
      <param name="Param.1" value="{PLANT}" />
    </applet>
    Another possibility is to set the value dynamically via JavaScript if you use:
    document.getElementById( "trx_test" ).getQueryObject().setParam( 1, "Karlsruhe/DE" );
    Native access to user variables via the BLE is not possible (as far as I know).
    I hope this is what you wanted to hear?
    Best Regards
    Sebastian
    Edited by: Sebastian Holzschuh on Jun 10, 2008 12:16 PM

  • Custom component issue

    Custom component issue
    According to customer requirements, we want to get such an effect in the development of custom components:
    Drag and drop custom components to the Flex builder work area, it can generate more than the default properties, not just generate "x", "y" attribute.
    【Details are as follows】
    We design a custom panel "CustomPanel.mxml" in the project development, then drag it into the workspace in the Flex builder development environment.
    View the source code found that it can only generate "x", "y" attribute in default. That is:
    <ns2:CustomPanel x="105" y="74">
    </ns2:CustomPanel>
    【Issue】
    How can we do that when drag the 'custom component' into Flex builder workspace,  we can generate "layout" attribute in addition to "x", "y" attributes?
    That is:
    <ns2:CustomPanel x="105" y="74" layout="absolute">
    </ns2:CustomPanel>
    【Note】
    The following code will be generated when the "panel component comes with Flex builder environment" is dragged into workspace.
    <mx:Panel x="121" y="134" width="250" height="200" layout="absolute">
    </mx:Panel>
    How it is done?

    I am sorry to bother you again.
    I have tried the web site content, but it can't helped!
    There is a custom component called 'Basket', source code is as follows:
    package picnic
    import mx.containers.Panel;
    public class Basket extends Panel
      public function Basket()
       super();
       layout = "vertical";
       setStyle("backgroundColor", 0x00FFFF);
       setStyle("horizontalAlign", "center");
    Here it is worked when the attribute "layout" is set to "vertical", but it isn't when "layout" is set to "absolute" !
    When the property is set to "absolute" phenomenon is as follows:
    Drag component such as 'Button' into "picnic component". It will automatically go to the top left corner position,
    just like the 'layout-attribute' is not set.
    Why is there such a phenomenon?

  • Password - why can't adminstrators access customer password

    I am a system adminstrator for two sites and I am becoming increasingly frustrated at the inability to access customer passwords.  I have a number of custoemrs who regularly forget their passwords who are not particularly computer savvy and I am not able to help them without a lot of phone/email support.  Whereas under the previous system I could communicate their password to them saving both of us a great deal of time and energy.
    I am very aware that BC changed the system to deny access to passwords for all but the customer but this for my sites is ridiculous.  I have access to all info that my customers have and I can 'change/update' any customer info on my site so why can I not access their password.
    This is extremely frustrating as the current process assumes computer literate users and that the system 'Forgotten Password' tokens work - the latter is not always the case and I have  a current support request to this effect.
    I would appreciate someone who knows the system well to explain to me the rationale behinds BC's change to password access adn what is the reality re how this enhances cuntomer security when the systems administrator has access to all that customers data.
    Richard

    Hey Richard. I think you miss understand here.
    Most secure systems - no password in the admin. You have the button in the admin to send a email for the reset request. This will also show (if you sort the site correctly) on the form they use to login.
    Both use the reset email and again, ensuring that is set up correct is something you have access to and ensure has the elements and worded as you need them to be.
    If people keep forgetting their password that to be quite frank it is their problem, why should a system become less secure because of this?
    Do good systems do this? No , should they change? heck no.
    Set up the processes to so the flow is easy to reset (which you have control over) and if they keep forgetting then they need to change them to something they wont forget.
    Are you going to contact Apple and their Itunes store and ask them for your password? They wont know and not provide it to you, they do not know as it is in encrypted.
    Like any systems you may also be aware of they say "No customer support respresentitive will ask for your pasword or provide you with your password". Etc.
    This will not change.

  • How do I contact Verizon corporate regarding customer service issues?

        I'm trying to escalate an issue that I have with customer service and just can't seem to find out how to contact corporate to discuss my issue.  I have talked to customer service supervisers and asked them to escalate my complaint.  After being told it would be 5-7 days to respond, I'm still waiting.  Any help in contacting the right department at corporate would be helpful.

    Hello asianguy1964,
    I am available to assist and address any concerns that you may have in reference to customer service issue! May I ask is your posting regarding a billing issue, wireless service issue, or a interaction with a representative? Also, were you provided a reference number to your complaint? If you have a reference number then I can check on the status of your concern. Prior to investigating your reference number, would you be kind as to share the details of the issue as I'm condifent that we can If I am unable to provide a solution for you then the additional information will help me forward your concern to the appropriate channel. I look forward to hearing from you in the near future.
    Thank you...
    ArnettH_VZW
    Follow us on Twitter @vzwsupport

  • Access Services 2013 issue

    Hi,
    I have set-up Access Services 2013 and it's working well on a couple of non SSL web app's.
    We have another 2 web app's that are configured for SSL and unfortunately Access custom web app's are not working on these.
    The access app is created but when I try to browse to it IO get prompted for username and password and then I just get a white page.  Can anyone help?
    On the SSL sites, I was originally getting a http 404 error page but using the below article I created a new web app with no host header and setup for SSL for routing to the app domain.
    ShjarePoint 2013 enterprise, 3 server setup, DB-App-WFE, March 2013 PU installed.
    Thanks

    Import that certificate in Central Admin > Security > Manage Trust.
    If it does not work try below:
    New-SPTrustedSecurityTokenIssuer –MetadataEndpoint "https://<HostName>/metadata/json/1" –IsTrustBroker –Name "<FriendlyName>"

  • Error while accessing custom application

    Hi,
    I get below error while accessing custom application.
    "Function not available to this responsibility.Change responsibilities or contact your System Administrator."
    Thanks
    Regards
    GSM

    1)While compiling the custom forms through Form builder the forms compile successfully & opens also but doesn't close.All other form than custom form close completely.How was this form created? Did you use the TEMPLATE.fmb file to create this custom form?
    Please obtain the FRD for details about the error.
    Note: 438652.1 - R12: Forms Runtime Diagnostics (FRD), Tracing And Logging For Forms In Oracle Applications
    Note: 445166.1 - How to create a FRD (Forms Runtime Diagnostic) Log in EBusiness Suite R12 using Forms 10g
    2)While compiling the custom forms through command
    "frmcmp_batch.sh module=/d02/oracle/abc/apps/apps_st/appl/au/12.0.0/forms/US/custom01.fmb userid=APPS/APPS output_file=/d02/oracle/abc/apps/apps_st/appl/cust/12.0.0/forms/US/custom01.fmx module_type=form compile_all=special
    While opening the form it's give Error:You are not authorized to access this functionality.Please check Apache log files as well as the application.log file for any errors.
    Thanks,
    Hussein

  • Resetting the password to access customer info pdfs

    Our online shop is having problems with the password originally set up for them to access customer info pdfs. We didn't change this. Who should I contact?

    I’m referring to the pdfs with the customer’s contact and credit card info on them. That’s the password we’re having problems with.
    William R. L. Woods Jr.
    Interactive Marketing Manager
    Girl Scouts of Greater Chicago and Northwest Indiana
    20 S. Clark, 2nd Floor
    312-416-2500, ext. 6338
    Chicago, IL 60603
    [email protected]<mailto:[email protected]>
    cid:[email protected]
    JOIN US for our 100th anniversary celebration on Sept. 8, 2012! The Cookie Classic 5K Walk, Run and Celebration at Grant Park is THE PLACE for girls, families, troops, volunteers, and alumnae to celebrate TOGETHER. Save on registration when you REGISTER ONLINE<http://www.gscookieclassic.org/> now through JUNE 30. Keepsake T-shirt included! Bring your family and friends or meet up with other alums … we’ll see you at Grant Park!

  • I received a letter about illegally accessed customer order information.   Is this a scam?

    I received a letter about illegally accessed customer order information.   Is this a scam?

    I received a letter about illegally accessed customer order information.   Is this a scam?

  • Custom Authentication Issue with Policy Agent

    Hi,
    I have a custom authentication module which is hosted on the BEA application server and I am trying to access through the policy agent on apache.
    I have set the following property in AMAgent.properties file
    com.sun.am.policy.am.loginURL= http://host:port/amserver/UI/Login
    So When the user requests a protected resource, the policy agent forwards the user to Identity Server with the module as CustomLoginModule. However, after this, authentication is succeed, user sesion is being created and I get the following error message in the agent log file.
    2004-10-19 16:20:26.908 Error 27620:e1140 PolicyEngine: am_policy_evaluate: InternalException in Service::construct_auth_svc with error message:Application authentication failed during service creation. and code:3
    2004-10-19 16:20:26.908 128 27620:e1140 RemoteLog: User unknown was denied access to http://hostname:port/weblogic/protapp/protected/a.html.
    2004-10-19 16:20:26.908 Error 27620:e1140 LogService: LogService::logMessage() loggedBy SSOTokenID is invalid.
    2004-10-19 16:20:26.909 Error 27620:e1140 all: am_log_vlog() failed with status AM_REMOTE_LOG_FAILURE.
    2004-10-19 16:20:26.909 -1 27620:e1140 PolicyAgent: URL Access Agent: access denied to unknown user
    The necessary policy object is already created in Identity Server. Please send your suggestions to fix this problem.
    Thanks
    Neeraj

    Hi Neeraj,
    I still have not been able to resolve that issue. Let me know If you find a solution for the same.
    Thanks,
    Srinivas

  • Enhancement-ABAP Code-Customized Field issue

    Hi Experts,
    Currently I am working on the BW3.5 version. We are using the standard SRM standard extractor 0BBP_TD_SC_1 and we enhance same extractor(populate the filed through CMOD - ABAP Code) with one customized field also. We are having issue on the customized field data which post from SRM system. I have verified the field value and value is fine in RSA3 in SRM source system. But while posting into the BW(PSA itself), its loading correct & wrong value. When i check the PSA for the particular load, It looks little strange. In the PSA, I can see correct value on my first record of the same SC and then next records has incorrect value of the same SC. Currently I am using the ODS as a data target. So finally i am getting the incorrect value on the customized field.
    Ex Scenario:
    Ex Customized Field: ZORGID
    In SRM source system RSA3 Extractor Checker value:
    Shopping Card No: 100
    Customized Field: ZORGID=1
    Shopping Card No: 200
    Customized Field: ZORGID=2
    In BW posting-PSA:
    Shopping Card No: 100
    Customized Field: ZORGID=2
    Shopping Card No: 200
    Customized Field: ZORGID=2
    At the same time, if i do the selective deletion of the particular Shopping Card or group of SC in BW and do the full repair, then it gets a correct ZORGID=1 for the same Shopping Card.
    I strongly believe, something wrong in the ABAP code. But when we tried to debug the customized filed value in RSA3. The value is fine. so we unable to trace out the issue. Please help me to fix the code. Thanks in advance.
    CMOD ABAP Code:
    *Populate approver ID even though it doesn't require approval this is required to make sure BW reports have restrict access to respective Org Unit approvals only
    IF l_s_bbp_sc-approver_id IS INITIAL AND l_s_bbp_sc-itm_guid IS NOT INITIAL.
    CALL FUNCTION 'Z_BBP_FIRST_APPROVALGET'
    EXPORTING
    iv_header_guid = l_s_bbp_sc-guid
    iv_itm_guid = l_s_bbp_sc-itm_guid
    IMPORTING
    approver_no = l_s_bbp_sc-approver_id
    EXCEPTIONS
    no_data = 1
    OTHERS = 2
    IF sy-subrc 0.
    ENDIF.
    ENDIF.
    To ensure that the Org Unit passed in into the field
    l_s_bbp_sc-zzapprov_orgunit belongs to the Actual Level 1
    Budget Owner and not any other manager such as Added Approver.
    CLEAR : ls_ln_approvers, l_userid, lv_bpartner_guid.
    DATA : lv_f_apprv_part TYPE BU_PARTNER.
    READ TABLE lt_ln_approvers INTO ls_ln_approvers
    WITH KEY INITIAL_INDEX = '0000000001'.
    IF sy-subrc EQ 0.
    MOVE ls_ln_approvers-approval_agent+2(12) TO l_userid.
    CALL FUNCTION 'BP_CENTRALPERSON_GET'
    EXPORTING
    iv_username = l_userid
    IMPORTING
    ev_bu_partner_guid = lv_bpartner_guid
    EXCEPTIONS
    no_central_person = 1
    no_business_partner = 2
    no_id = 3
    OTHERS = 4.
    IF sy-subrc = 0.
    CALL FUNCTION 'BUPA_NUMBERS_GET'
    EXPORTING
    iv_partner_guid = lv_bpartner_guid
    IMPORTING
    ev_partner = lv_f_apprv_part.
    ENDIF.
    ENDIF.
    We get the BP number of the first Budget Owner 1
    Here, we superseed the field l_s_bbp_sc-approver_id
    whereby it may be wrong due to Added Approver.
    IF l_s_bbp_sc-approver_id IS NOT INITIAL.
    IF lv_f_apprv_part IS NOT INITIAL.
    IF l_s_bbp_sc-itm_guid IS NOT INITIAL.
    CALL FUNCTION 'RH_STRUC_GET'
    EXPORTING
    act_otype = 'BP'
    act_objid = lv_f_apprv_part
    act_wegid = 'EBP-UP'
    act_begda = sy-datum
    act_endda = sy-datum
    act_tdepth = 4
    TABLES
    result_tab = lt_result_tab
    EXCEPTIONS
    no_plvar_found = 1
    no_entry_found = 2
    OTHERS = 3
    IF sy-subrc = 0.
    READ TABLE lt_result_tab INTO ls_result_tab WITH KEY
    otype = 'O'.
    IF sy-subrc EQ 0.
    l_s_bbp_sc-zzapprov_orgunit = ls_result_tab-objid.
    ELSE.
    ENDIF.
    ENDIF.
    ENDIF.
    Thanks,
    RR

    Hi Experts,
    Any suggestions. Thanks.
    Thanks,
    RR

  • Invalid URL Errors when trying to access custom Sync Server(rev 532) from Firefox 17.0 for Android via HTTPS

    I currently have Sync Server(rev 532) installed on FreeBSD-STABLE(stable/9) and have Firefox 17 on Mac OS X and Windows XP sync successfully.
    But when I try to pair Firefox 17.0 for Android by entering 3 rows of 4 letter codes into Firefox on Desktop, the sync never ends on Android, although the Sync account gets listed in "Settings> Accounts & sync> Firefox Sync".
    If I try to pair the Android with advanced setting (using the Recovery Key), I get "Please enter valid server URL" after entering custom server URL (I tried mozsync.mydomain.tld, https://mozsync.mydomain.tld, https://mozsync.mydomain.tld/) along with my account information.
    I had my Sync Server listen on HTTPS only, but if I setup my server on HTTP, everything works as expected.
    The content of log file for SSL connection only includes the logs from my Desktop and none from my Android device.
    Direct access from Firefox for Android to "https://mozsync.mydomain.tld/weave-delete-account" succeeds, and this connection gets logged.
    My device is HTC Evo 4G (named HTC EVO WiMAX ISW11HT in Japan) with officially updated of version Android (2.3.4 Gingerbread :P) by HTC.
    I currently have my Sync Server listening on HTTP, but I am little uncomfortable with my syncing datas being tranmitted without SSL.
    Any help is appreciated!!!

    I have filed a bug [https://bugzilla.mozilla.org/show_bug.cgi?id=819762 here] at bugzilla.
    Any help is still appreciated!!!
    Edit:
    The bug was filed as duplicate of [https://bugzilla.mozilla.org/show_bug.cgi?id=756763 this].
    It turned out the CA, which issued my certificate, was not bundled and importing SSL is broken in early version of Android.
    Same applies to self-signed certificates.
    Maybe the solution is to update the Android version by rooting the phone, which is not my choice.
    I'm closing my question as solved, because the root of the problem is not Firefox.

Maybe you are looking for