Translate attributes of component-profile section

I've defined an attribute called welcomeMsg in the component-profile section of my portal application. I want to use this attribute to configure a welcome message which is shown at the iview. Further I want this attribute to provide a mechanism to translate this welcome message into different languages using the portal content translation service. At the jsp-site of the portal application I access this attribute by
<% out.print( componentRequest.getComponentContext().getProfile().getProperty( "welcomeMsg") ); %>
I can configure this attribute at the properties dialog of the portal content studio and the value is shown at the iview. So everything works fine. But if I use the portal content translation service to translate the iview, only the name of the iview appears at the list of attributes which could be translated by this translation service.
Is there any way to use the portal content translation service to translate this attribute or should I use another way to achieve this claim.
Due to my approach I have yet another problem by accessing the attribute: if I open the iview in a new browser window by
window.open('/irj/servlet/prt/portal/prtroot/TestPar.TestPar', '', 'width=350,height=50');
the attribute isn't shown anyway, while the attribute is shown if I add the iview to a portal page which is shown at the main browser window. What could be the problem with the new browser window and has anybody an idea to solve this problem?
so long, thank you in advance
rené

I have to use the ResourceBundles mechanism to provide multiple languages in one IView!!

Similar Messages

  • Localization of component profile properties

    Hi all,
    I need to localize properties in the component profile:
    <property name="MyProperty" value="MyValue1">
           <property name="personalization" value="dialog"/>
           <property name="type" value="none"/>
        </property>
    I found the following description in the SAP documentation:
    description
    The value of this attribute is used as a key in the associated ResourceBundles.
    Now I have the problem:
    Which ResourceBundle is this?
    <component name="MyComponent">
          <component-config>
          <b><property name="ResourceBundleName" value="bve"/></b>     
          </component-config>
          <component-profile>
              <property name="MyProperty" value="MyValue">
                  <property name="personalization" value="dialog"/>
                  <property name="type" value="none"/>
                 <b> <property name="description" value="MyPropertyKey"/></b>
              </property>
          </component-profile>
    </component>
    The key is in the ResourceBundle bve, but it does not work, it is only displayed "MyProperty".
    Does anybody knows how this is supposed to work?
    I had a look at "RoomUsageAnalyis", but it seems that they use another mechanism.
    Thanks for any help.
    Bye Rebecca

    Hi Rebecca,
    this is a bug, to speak carefully. In fact, there is no implementation at all which goes in the direction of the documentation you are referring to.
    See com.sapportals.portaladmin.property_editor.PropertyEditor implementation, this only looks for the <i>plainDescription</i> attribute.
    Quite interesting, because the behaviour you described is asked within certification for EP developer...
    Would you be so kind to open an OSS message, referring to the documentation?!
    Hope it helps
    Detlev

  • Student Attributes for Requirement Profile Templates

    Hello,
    I am working on setting up Admission audits.  And, I am looking at using the Student Attributes in the Requirement Profile Template.  But, I am having problems configuring the parameter values for the Student Attributes.  I can get the parameter values to work when using a SAP defined table such as T7PIQADMCATEG, but when I use one of our custom tables the parameter values will not populate.  What do I need to do to get a custom table to work with the Student Attributes parameter values?
    Thanks,
    Ezra.

    Rob,
    I understand how to use the BAdI to assign a requirement profile based on the student attributes.  My question is more basic.  I am having trouble with the defining of the student attributes, IMG Path: \Student Lifecycle Management\Processes in Student Lifecycle Management\Audits\Requirement Profile Templates\Define Student Attributes for Requirement Profile Templates. This IMG items requires defining the Attribute and a Parameter.   I can't get the Parameter to use a Z-table.  The Parameter is defined in the IMG Path: \Student Lifecycle Management\Processes in Student Lifecycle Management\Audits\Basic Settings\Define Parameters for Audit Types.  The Parameter requires a Structure name and Component name.  When I put in a Z-table for these items, the drop-down for the Parameter Value will not be populated for the Stdt Attribute I defined with the Z-table in transaction PIQAUDTMPL_M.
    Thanks for the help,
    Ezra.

  • Declaring and accessing custom global attributes of component controller

    Hi,
    I want to declare some global attributes for Component Controller and initialize them in WdDoInit() method.
    I have declared them under Component Controller --> Attributes tab --> after wd_context and wd_this (say G_MESSAGE).
    However,  when I am trying to set them in wdDoInit() method, I get compilation error saying G_MYMESSAGE is unknown and its not defined using data statement.
    How do I access these attributes?
    Thanks and regards,
    Amey

    Hello Amey,
    You need to access the variable by "wd_this->g_mymessage"
    Since wd_this attribute in each controller refers to interface of local controller. you could read the description of that attribute in attribute tab.
    Regards
    Anurag Chopra

  • SQLJ Translation does not create profile file

    SQLJ Translation does not create profile file.
    After translating a small file HelloWorld.sqlj
    the following files are created:
    HelloWorld_SJProfileKeys.class
    HelloWorld.class
    HelloWorld.java
    Although there is a HelloWorld_SJProfileKeys.class, profile file HelloWorld_SJProfile0.ser has NOT been created.
    The starting file .sqlj file HelloWorld.sqlj is taken from O'Reilly book 'Java Programming with Oracle SQLJ' by Jason Price. The file contains a valid SQL statement to display the date.
    My environment variables were set up with instructions from:
    http://www.onjava.com/pub/a/onjava/2001/12/05/learning_sqlj.html
    When I run java HelloWorld to run the .java file, I get the error:
    SQLException java.sql.SQLException: profile HelloWorld_SJProfile0 not found: java.lang.ClassNotFoundException: HelloWorld_SJProfile0
    I searched the internet high and low for a similar error to mine but I could not find a match.
    I read the following text from http://otn.oracle.com/tech/java/sqlj_jdbc/htdocs/faq.html#translationerrors
    but it does not help me.
    "ClassNotFoundException: xxx.yyy_SJProfile0 for class xxx.yyy_SJProfileKeys
    If you see an exception such as:
    java.sql.SQLException: profile xxx.yyy_SJProfile0 not found:
    java.lang.ClassNotFoundException:
    xxx.yyy_SJProfile0 for class xxx.yy_SJProfileKeys
    then you must ensure that the SQLJ profile(s), such as xxx/yyy_SJProfile0.ser, is available in the SQLJ runtime environment. This includes JARing this file as part of an applet deployment, or publishing it to the server via loadjava.
    Any ideas? Thanks in advance,
    John
    Helloworld.sqlj before translation:
    The program HelloWorld.sqlj illustrates how to connect to a
    database, and display the words "Hello World" along with
    the current date.
    // import required packages
    import java.sql.Date;
    import java.sql.SQLException;
    import oracle.sqlj.runtime.Oracle;
    public class HelloWorld {
    public static void main(String [] args) {
    java.sql.Date current_date;
    try {
    // connect to the database
    Oracle.connect(
    "jdbc:oracle:thin:@localhost:1521:orac",
    "scott",
    "tiger"
    // get the current date from the database
    #sql { SELECT sysdate INTO :current_date FROM dual };
    // display message
    System.out.println("Hello World! The current date is " +
    current_date);
    } catch ( SQLException e ) {
    System.err.println("SQLException " + e);
    } finally {
    try {
    // disconnect from the database
    Oracle.close();
    } catch ( SQLException e ) {
    System.err.println("SQLException " + e);
    } // end of main()
    HelloWorld.java after translation:
    /*@lineinfo:filename=HelloWorld*//*@lineinfo:user-code*//*@lineinfo:1^1*//*
    The program HelloWorld.sqlj illustrates how to connect to a
    database, and display the words "Hello World" along with
    the current date.
    // import required packages
    import java.sql.Date;
    import java.sql.SQLException;
    import oracle.sqlj.runtime.Oracle;
    public class HelloWorld {
    public static void main(String [] args) {
    java.sql.Date current_date;
    try {
    // connect to the database
    Oracle.connect(
    "jdbc:oracle:thin:@localhost:1521:orcl",
    "scott",
    "tiger"
    // get the current date from the database
    /*@lineinfo:generated-code*//*@lineinfo:28^7*/
    // #sql { SELECT sysdate  FROM dual  };
    sqlj.runtime.profile.RTResultSet __sJT_rtRs;
    sqlj.runtime.ConnectionContext __sJT_connCtx = sqlj.runtime.ref.DefaultContext.getDefaultContext();
    if (__sJT_connCtx == null) sqlj.runtime.error.RuntimeRefErrors.raise_NULL_CONN_CTX();
    sqlj.runtime.ExecutionContext __sJT_execCtx = __sJT_connCtx.getExecutionContext();
    if (__sJT_execCtx == null) sqlj.runtime.error.RuntimeRefErrors.raise_NULL_EXEC_CTX();
    synchronized (__sJT_execCtx) {
    sqlj.runtime.profile.RTStatement __sJT_stmt = __sJT_execCtx.registerStatement(__sJT_connCtx, HelloWorld_SJProfileKeys.getKey(0), 0);
    try
    sqlj.runtime.profile.RTResultSet __sJT_result = __sJT_execCtx.executeQuery();
    __sJT_rtRs = __sJT_result;
    finally
    __sJT_execCtx.releaseStatement();
    try
    sqlj.runtime.ref.ResultSetIterImpl.checkColumns(__sJT_rtRs, 1);
    if (!__sJT_rtRs.next())
    sqlj.runtime.error.RuntimeRefErrors.raise_NO_ROW_SELECT_INTO();
    current_date = __sJT_rtRs.getDate(1);
    if (__sJT_rtRs.next())
    sqlj.runtime.error.RuntimeRefErrors.raise_MULTI_ROW_SELECT_INTO();
    finally
    __sJT_rtRs.close();
    /*@lineinfo:user-code*//*@lineinfo:28^58*/
    // display message
    System.out.println("Hello World! The current date is " +
    current_date);
    } catch ( SQLException e ) {
    System.err.println("SQLException " + e);
    } finally {
    try {
    // disconnect from the database
    Oracle.close();
    } catch ( SQLException e ) {
    System.err.println("SQLException " + e);
    } // end of main()
    }/*@lineinfo:generated-code*/class HelloWorld_SJProfileKeys
    private static HelloWorld_SJProfileKeys inst = null;
    public static java.lang.Object getKey(int keyNum)
    throws java.sql.SQLException
    if (inst == null)
    inst = new HelloWorld_SJProfileKeys();
    return inst.keys[keyNum];
    private final sqlj.runtime.profile.Loader loader = sqlj.runtime.RuntimeContext.getRuntime().getLoaderForClass(getClass());
    private java.lang.Object[] keys;
    private HelloWorld_SJProfileKeys()
    throws java.sql.SQLException
    keys = new java.lang.Object[1];
    keys[0] = sqlj.runtime.ref.DefaultContext.getProfileKey(loader, "HelloWorld_SJProfile0");
    }

    SQLJ Translation does not create profile file.
    After translating a small file HelloWorld.sqlj
    the following files are created:
    HelloWorld_SJProfileKeys.class
    HelloWorld.class
    HelloWorld.java
    Although there is a HelloWorld_SJProfileKeys.class, profile file HelloWorld_SJProfile0.ser has NOT been created.
    The starting file .sqlj file HelloWorld.sqlj is taken from O'Reilly book 'Java Programming with Oracle SQLJ' by Jason Price. The file contains a valid SQL statement to display the date.
    My environment variables were set up with instructions from:
    http://www.onjava.com/pub/a/onjava/2001/12/05/learning_sqlj.html
    When I run java HelloWorld to run the .java file, I get the error:
    SQLException java.sql.SQLException: profile HelloWorld_SJProfile0 not found: java.lang.ClassNotFoundException: HelloWorld_SJProfile0
    I searched the internet high and low for a similar error to mine but I could not find a match.
    I read the following text from http://otn.oracle.com/tech/java/sqlj_jdbc/htdocs/faq.html#translationerrors
    but it does not help me.
    "ClassNotFoundException: xxx.yyy_SJProfile0 for class xxx.yyy_SJProfileKeys
    If you see an exception such as:
    java.sql.SQLException: profile xxx.yyy_SJProfile0 not found:
    java.lang.ClassNotFoundException:
    xxx.yyy_SJProfile0 for class xxx.yy_SJProfileKeys
    then you must ensure that the SQLJ profile(s), such as xxx/yyy_SJProfile0.ser, is available in the SQLJ runtime environment. This includes JARing this file as part of an applet deployment, or publishing it to the server via loadjava.
    Any ideas? Thanks in advance,
    John
    Helloworld.sqlj before translation:
    The program HelloWorld.sqlj illustrates how to connect to a
    database, and display the words "Hello World" along with
    the current date.
    // import required packages
    import java.sql.Date;
    import java.sql.SQLException;
    import oracle.sqlj.runtime.Oracle;
    public class HelloWorld {
    public static void main(String [] args) {
    java.sql.Date current_date;
    try {
    // connect to the database
    Oracle.connect(
    "jdbc:oracle:thin:@localhost:1521:orac",
    "scott",
    "tiger"
    // get the current date from the database
    #sql { SELECT sysdate INTO :current_date FROM dual };
    // display message
    System.out.println("Hello World! The current date is " +
    current_date);
    } catch ( SQLException e ) {
    System.err.println("SQLException " + e);
    } finally {
    try {
    // disconnect from the database
    Oracle.close();
    } catch ( SQLException e ) {
    System.err.println("SQLException " + e);
    } // end of main()
    HelloWorld.java after translation:
    /*@lineinfo:filename=HelloWorld*//*@lineinfo:user-code*//*@lineinfo:1^1*//*
    The program HelloWorld.sqlj illustrates how to connect to a
    database, and display the words "Hello World" along with
    the current date.
    // import required packages
    import java.sql.Date;
    import java.sql.SQLException;
    import oracle.sqlj.runtime.Oracle;
    public class HelloWorld {
    public static void main(String [] args) {
    java.sql.Date current_date;
    try {
    // connect to the database
    Oracle.connect(
    "jdbc:oracle:thin:@localhost:1521:orcl",
    "scott",
    "tiger"
    // get the current date from the database
    /*@lineinfo:generated-code*//*@lineinfo:28^7*/
    // #sql { SELECT sysdate  FROM dual  };
    sqlj.runtime.profile.RTResultSet __sJT_rtRs;
    sqlj.runtime.ConnectionContext __sJT_connCtx = sqlj.runtime.ref.DefaultContext.getDefaultContext();
    if (__sJT_connCtx == null) sqlj.runtime.error.RuntimeRefErrors.raise_NULL_CONN_CTX();
    sqlj.runtime.ExecutionContext __sJT_execCtx = __sJT_connCtx.getExecutionContext();
    if (__sJT_execCtx == null) sqlj.runtime.error.RuntimeRefErrors.raise_NULL_EXEC_CTX();
    synchronized (__sJT_execCtx) {
    sqlj.runtime.profile.RTStatement __sJT_stmt = __sJT_execCtx.registerStatement(__sJT_connCtx, HelloWorld_SJProfileKeys.getKey(0), 0);
    try
    sqlj.runtime.profile.RTResultSet __sJT_result = __sJT_execCtx.executeQuery();
    __sJT_rtRs = __sJT_result;
    finally
    __sJT_execCtx.releaseStatement();
    try
    sqlj.runtime.ref.ResultSetIterImpl.checkColumns(__sJT_rtRs, 1);
    if (!__sJT_rtRs.next())
    sqlj.runtime.error.RuntimeRefErrors.raise_NO_ROW_SELECT_INTO();
    current_date = __sJT_rtRs.getDate(1);
    if (__sJT_rtRs.next())
    sqlj.runtime.error.RuntimeRefErrors.raise_MULTI_ROW_SELECT_INTO();
    finally
    __sJT_rtRs.close();
    /*@lineinfo:user-code*//*@lineinfo:28^58*/
    // display message
    System.out.println("Hello World! The current date is " +
    current_date);
    } catch ( SQLException e ) {
    System.err.println("SQLException " + e);
    } finally {
    try {
    // disconnect from the database
    Oracle.close();
    } catch ( SQLException e ) {
    System.err.println("SQLException " + e);
    } // end of main()
    }/*@lineinfo:generated-code*/class HelloWorld_SJProfileKeys
    private static HelloWorld_SJProfileKeys inst = null;
    public static java.lang.Object getKey(int keyNum)
    throws java.sql.SQLException
    if (inst == null)
    inst = new HelloWorld_SJProfileKeys();
    return inst.keys[keyNum];
    private final sqlj.runtime.profile.Loader loader = sqlj.runtime.RuntimeContext.getRuntime().getLoaderForClass(getClass());
    private java.lang.Object[] keys;
    private HelloWorld_SJProfileKeys()
    throws java.sql.SQLException
    keys = new java.lang.Object[1];
    keys[0] = sqlj.runtime.ref.DefaultContext.getProfileKey(loader, "HelloWorld_SJProfile0");
    }

  • Where is the "Profile" section in Project Property window?

    Hi, first time use this Oracle JDeveloper. From the tutorial it seems that inside the Project Property window, the left pane, you have the "Common" section and "Profile" section. Inside "Profile" section it's the "Development", then under Development you have "Paths" "CodeCoach" "Compiler", etc.
    My problem is, in that left pane, I only see a "Common" section, I don't even have something called "Profile". This makes it impossible for me to set the class path, because according to the tutorial, I need to change something under "Development" which is under the "Profile".
    Any advice welcomed! Thanks!

    Hello all,
    I'm trying to use ADF Faces. According to the document, http://www.oracle.com/technology/products/jdev/htdocs/partners/addins/exchange/jsf/doc/faq.html, section 3.5:
    "You need to enable J2SE 1.4 Assertions. In jdev this can be done in project properties (Select Tools -> Project Properties -> Profiles -> Development -> Compiler -> Enable J2SE 1.4 Assertions.)"
    I'm using JDeveloper 10.1.3.34.12 on Mac OS X, java version 1.5.0_02-56. How do I enable J2SE1.4 Assertions?
    Thanks,
    -Anthony

  • My recommendations for edits to the Thunderbird "Profiles" section: "Restoring".

    Dear Thunderbird "Help" team:
    My recommendations for edits to the Thunderbird "Profiles" section:
    Things that are not clear, on the page of Thunderbird "...Restoring to a different location..."
    https://support.mozilla.org/en-US/kb/profiles-tb#w_restoring-to-a-different-location .
    and...
    https://support.mozilla.org/en-US/kb/profiles-tb
    A.a) Existing: "...Each profile is stored on your hard drive in a profile folder. The folder is named using the following convention:
    <random_string>.<profile_name>
    ...where "<random_string>" is eight digits randomly generated by Thunderbird and "<profile_name>" is the name you assigned to the profile. ..."
    A.b) Please replace "digits" with "characters". In common US English, digits are numerical, 0 to 9. (You have it right, in the later paragraph: "Restoring a profile backup". )
    B) At "Moving a profile", it is not clear the difference between that and "Restoring to a different location". Please split the two cases, so that each one is complete unto itself. Write separate instruction sets (there is no advantage to economy of words, in a webpage like this.)
    B.a) Explain first how to find the file "profiles.ini", by using the Windows Explorer window.
    B.b) Recommend that the user first make a backup copy of that file "profiles.ini", in case the work does not succeed, so that the messed-up file can be replaced with the original.
    B.c) In the descriptors of "Moving a profile", for the actions to be taken, it is not clear whether each step is... at the location of the backup, or... at the location for the desired new installation. Especially uncertain for Step 3 and Step 4.
    B.d) In Step 5, give a better explanation for the path options: - relative or non-relative. How does the user know if the path option has been switched?
    Marian Beddill

    You spoke to my first item - "digits".
    But my BIG problem is the second one. -- "Moving a profile".
    I cannot understand the instructions. (*)
    The reason, is that it tries to cover TWO CASES/SITUATIONS , jumbled into ONE instruction set.
    My request to Mozilla, is to split those instructions into TWO (or more) distinct and separate instruction sets, but with each set dealing ONLY with one case.
    Write one set for "Moving a profile".
    Write one set for "Restoring to a different location".
    This way, the user does not have to try to interpret the "if"-descriptors, while in the middle of trying to accomplish the task at hand.
    Doing as I ask, makes for more words, and a longer page. But there is no cost for length of a page, and a great advantage to the user, since the steps to be followed for each case are distinct and are not ambiguous. Do not have any "If-this" detours in the sequence of operations.
    (*) PS: I am not dumb on programming. I have been writing code since 1966, and have taught programming in several other nations.
    (**) PPS: I still have not been able to move ("replicate") my old profile and message files, from the external backup copy, into the new, clean machine, so that I may continue corresponding from where I left off, when the motherboard crashed.

  • Need to bind value attributes of Component controller with value attributes

    Hi,
    I am developing a Java Web Dynpro application which is importing RFC Model.

    Hi Kaushik,
    It is very simple to enter values in webdynpro and to update the ztable through RFC
    All you hav to do is
    1. Create the ztable , RFC to import data into that table,
    2. Create the model in webdynpro with that RFC
    3. First map the ModelInputElements to the component controller(say zid, zname) (you can have your own value attribute in component controller say id , name )
    4. Map the attributes to the view where the input field is there
    5. Now write the code as follows,
    Zxxx in = new Zxxx();
    wdContext.nodeZxx_InputElement.bind(in);
    in.setZid(wdcontext.currentContextElement().getId()); // getId component controllers attribute and getZid is model' s mapped attributre
    in.setZname(wdcontext.currentContextElement().getName()); // getName component controllers attribute and getZname is model's mapped attributre
    /* u need not have to map that model attrobute to component attribute for that */
    try
    in.execute();
    Catch(Eception e)
    e.printStackTrace();
    Regards,
    Sam Charles J.

  • Adding VSA Attributes under /Radius/Profiles

    Product
    Cisco Access Registrar (Standard Version)
    AR-Standard 3.5
    AR-CPU 3.5
    How to add a VSA under
    [ //localhost/Radius/Profiles/Test-Profile/Attributes ]
    From User-guide
    According to Table A-1 Tcl Attribute Dictionary Methods
    addProfile
    $dict addProfile <profile> [<mode>]
    Copies all of the attributes in the profile <profile> into the dictionary. Note, <profile> must be the name of one of the profiles listed in the server configuration
    Can we get more info on how to configure the Profiles.
    Thanks,
    Santosh

    You've probably meant "how to add an attribute, for example VSA"
    So under:
    /localhost/Radius/Profiles/Test-Profile/Attributes
    use:
    set Cisco-SSG-Account-Info test
    (or any other attribute, in this example Cisco VSA was used)
    --> ls
    [ /localhost/Radius/Profiles/Test-Profile/Attributes ]
    Cisco-SSG-Account-Info = test
    The excerpt from user guide you have provided is used in TCL scripts and it's not relevant to your problem.
    I assume you already have your VSA defined in attribute dictionaty.

  • How  to read Component profile.properties without using CAF?

    Do you know how to read DC WebDynpro Component profile.properties without using CAF.
    A Component.profile.properties is located under
    Scr/components/fullcomponentname/
    Thanks, Best regards
    Peter

    import com.sap.tc.webdynpro.services.sal.config.api.IWDConfiguration
    import com.sap.tc.webdynpro.services.sal.config.api.WDConfiguration;
    import com.sap.tc.webdynpro.services.sal.deployment.api.WDDeployableObject;
    import com.sap.tc.webdynpro.services.sal.deployment.api.WDDeployableObjectPart;
    import com.sap.tc.webdynpro.services.sal.deployment.api.WDDeployableObjectPartType;
    WDDeployableObjectPart myComponent = WDDeployableObject.getDeployableObjectPart
      "mycompany.com/myapp~mydc" // name of DC
      "com.mycompany.myapp.mydc.MyComponent" // full component name
      WDDeployableObjectPartype.COMPONENT
    IWDConfiguration config = WDConfiguration.getConfigurationByName
      myComponent
      "profile.properties" // not sure, try "profile" as well
    Exception handling ommited.
    Hope this helps. Just wondering what's for?
    Valery Silaev
    P.S. full disclosure: CAF developer, author of PropertyConfigurable components concept

  • Non-translatable to translatable attribute

    Hi,
    Because non-translatable attributes cannot be queried in language other than base language we need to set non-translatable attributes to translatable.
    We receive for information that switching an attribute from non-translatable to translatable was only possible by removing and re creating the attribute.
    Actually we are in pre production and a lot of data are already loaded. To avoid dropping all content and then recreate, is there a solution without dropping the attribute ?
    We have for base language English (us) and we support also French nd German.
    Thanks in advance for any comment.
    Eddy.

    User, please tell it's your Jdev version!
    A translatable property it's stored at a centralized storage, e.g. in a property file where you can access it to translate it into different languages.A non translatable property it's stored within the vo metadata where you can't translate it.
    Timo

  • Access component profile from AbstractCommand

    Hello
    I have created an AbstractCommand and I wonder if I can access the component profile properties of the iview that has called this command.
    I have tried this :
    IPortalComponentRequest request = (IPortalComponentRequest)                                         this.getProxy().getDynPage().getPageContext().getRequest();
    String StartUri = request.getComponentContext().getProfile().getProperty("StartUri");
    but doesn´t work.
    Thanks in advance.

    hello Praveen
    I get 'pcd:portal_content/every_user/general/eu_role/com.sap.km.home_ws/com.sap.km.hidden/com.sap.km.urlaccess/com.sap.km.Navigation'
    which is not the iview from where i´m calling this command.
    What am i doing is the following. I have programmed a command that redirects me to another iview and i would like to pass to this redirected iview a parameter so that it knows which iview has called and when it finishes it can go back.
    I know that i can put this parameter when the command is created, but I don´t like the idea. For example. If I have to call this iview from 3 different iviews i would need 3 different Command definitions and One Different Layout set for every command. The ideal solution would be that the iview could pass a parameter to the command so that I only have to define 1 command.
    I don´t know if i have explained myself very well.

  • Disable editing Attributes in My Profile

    Hie,
    does anybody know how to disable the possibility for the end user to change LDAP attributes if the Self Management is turned on?
    I enabled "Self Management" in "My Profile" so the User can change everything the ume is allowed to.
    I just want the enduser to change its email, but no other attributes. An administrator in the ume should be able to change everything.
    Thanks
    Thies

    Most people don't allow LDAP write access from the portal. Instead they make use of the underlying LDAP user interfaces or write their own.

  • Clipboard functionality and Multi Value in an attribute of component WD_SELECT_OPTIONS_20

    Hi All,
    Clipboard functionality and Multi Value in an attribute functionalities are not working.
    I tried to look into the standard component and could not found relevant piece of code.
    Our system is on 7.3 EHP1 SP9 but functionality does not seem to work.
    Does anyone know in which EHP of 7.3 NetWeaver these functionalities are delivered.
    Any note avalibale compatible with our system level?
    Regards
    Sounak

    Hi All,
    Clipboard functionality and Multi Value in an attribute functionalities are not working.
    I tried to look into the standard component and could not found relevant piece of code.
    Our system is on 7.3 EHP1 SP9 but functionality does not seem to work.
    Does anyone know in which EHP of 7.3 NetWeaver these functionalities are delivered.
    Any note avalibale compatible with our system level?
    Regards
    Sounak

  • Cannot access Created Context Attribute from Component Controller

    Hello All,
    I have added a new attribute to a node in my component controller 'LOGONUID' and I cannot access it within my windows within the WDA application.
    DATA lo_nd_url_param TYPE REF TO if_wd_context_node.
      DATA ls_workset TYPE wd_this->element_workset.
      "DATA ls_logonuid TYPE wd_this->element_logonuid.
    I get an error as soon as I try to activate this code in my method in my W_MAIN
    In my component controller I do not see it reference in the SAP generated code in my WD_THIS IF_COMPONENTCONTROLLER?
    * Intf.: ig_componentcontroller
    * Purp.: programming interface for access of this controller within
    *        other controllers of the same component
    *        controller:  <COMPONENTCONTROLLER> of
    *        component:   <zhr_wd_mss>
    * UDate: 20111207 145441
    *=====================================================================*
    interface ig_componentcontroller.
      interfaces: ziwci_hr_wd_mss .
      constants:
        wdctx_context type string value `CONTEXT`.
      constants:
        wdctx_cuifcontext type string value `CUIFCONTEXT`.
      types:
        begin of Element_cuifcontext,
          USERID  type String,
          LASTEVENTOPERATION  type String,
        end of Element_cuifcontext,
        Elements_cuifcontext type
           standard table of Element_cuifcontext
           with default key.
      constants:
        wdctx_messages type string value `MESSAGES`.
      types:
        Element_messages type ZHR_S_MESSAGE,
        Elements_messages type
           standard table of Element_messages
           with default key.
      constants:
        wdctx_workset type string value `WORKSET`.
    I want it to be declared as the constant 'WORKSET'
    thank you
    Edited by: Keith Warnock on Dec 7, 2011 8:55 PM
    Edited by: Keith Warnock on Dec 7, 2011 8:56 PM

    > I have added a new attribute to a node in my component controller 'LOGONUID' and I cannot access it within my windows within the WDA application.
    >
    >
    >
    > DATA lo_nd_url_param TYPE REF TO if_wd_context_node.
    >   DATA ls_workset TYPE wd_this->element_workset.
    >   "DATA ls_logonuid TYPE wd_this->element_logonuid.
    >

    >
    This declaration is not right. There is no element logonuid, you  have the attribute inside a node. workset is a node and thats why you can declare that way.
    easiest way is to declate
    data lv_logonuid type <ddic type> or
    data lv_logonuid type wd_this-><node name>-logonuid.
    You can also use the code generator in (CTRL +F7 ) to get/set attributes.

Maybe you are looking for

  • Changing the field content of 'wrbtr' in accounting document during Post Goods Issue in VL02N

    Hi Experts,      I have requirement ,where I need to  change the 'amount in document currency value (wrbtr)' in line item of a accounting document, which is created as part Post Goods issue through VL02N.           I have already check BADI's below a

  • Ship to party address in sales order header

    Hi We changed the ship to party address at the header level and new address number got generated and updated the table VBPA. We need to revert the address so that the original address number of the ship to party should be updated in the table VBPA. E

  • ABAP client proxy wildcard/unicode problem

    Hello, i have an abap client proxy. The target system is a non sap system. For one input field of the request, a wildcard search is possible (with sign %, field type = string). If i exceute the proxywith the wildcard sign '%' i get following error me

  • Scrollable frame length

    Is there a limit to length of content that can be pasted into scrollable frames? I have a vertical scrolling frame of copy, but it won't scroll the the end on the pasted content.

  • Error in Master data

    Hi Experts, We have a problem with one of my master data in Production System.It is failing sometimes because of space at the end of characteristic ID.For example customer group 'XXXY  '. Here you can see the space at end of the ID.Hope It should fix