Dynamic Prompt/Label/Display title

Hi JHeadStart team,
I use UIX and 100% of my application is generated by JHeadStart.
I have a little problem.
Which it's the best way to change "label, prompt, column header, display title" manually.
Because this information is stocked in a table of the database.
Regards,
Luc

Luc,
I am not sure I understand your question. Do you want to read the prompts and labels at runtime from a database table?
If so, you should generate your JHeadstart application with nls turned on and you should use a java class as resource bundle type (extending java.util.ResourceBundle). Then, JHeadstart will read the prompts, labels and display titles from this resource bundle that is generated for you.
You can add code to your resource bundle class to read the actual strings from a database table instead of hardcoded into the message bundle. Not a trivial task though....
Steven Davelaar,
JHeadstart Team.

Similar Messages

  • Dynamic Labels/Headings/Titles in report

    I have a situation, we have one table containing these columns.
    CREATE TABLE REP_LABELS ( LBL_ID NUMBER, LBL_DESC_EN VARCHAR2(200), LBL_DESC_AR VARCHAR2(200) );
    It contains data for Report Labels/Headings/Titles in English and Arabic so we can use one report to manipulate both languages at a time. Our data for Report is also coming dynamically according to current selected language. only issue we are facing is headings and labels for items in the report.
    now my report contains 20 labels, and i don't want to create 20 formula items in report to use them in boiler_text or text_field, is there any other way i can dynamically display the headings according to the report language (i already have parameter for language and also have function which returns the label through language_parameter and lbl_id).

    Hi
    Have you solved this issue?
    I have the same problem.
    Can you help me?
    Thanks in advanced

  • Multi language support for reports and prompts labels

    Is there a way to configure reports prompts labels with session\presentation variables,
    in order to support multi language interface?

    Deepak,
    It works fine..i have tested.
    Nir,
    Here is the solution for your requirement
    Requirement1
    I want to label the listbox with X, where X is either 'Categories' or 'Products'.1.In your rpd, create a new session variable init block
    Name : DynamicName
    Query: select case when ':USER' = 'USER1' then 'REGION1' else
    CASE WHEN ':USER' = 'USER2' THEN 'REGION2' end end from dual
    Assign the above query’s result to a session variable; DISP_NAME
    2.Double click on the presentation column(in presentation layer) that is supposed to change dynamically->check the box ”Custom Display Name” -> Type in VALUEOF(NQ_SESSION. DISP_NAME)
    3.With the assumption that you already have created a prompt with the above column, login as USER1, you will see the prompt label as 'REGION1' (value is fetched from the session block query).Similarly login as ‘USER2’ and check the prompt label to show 'REGION2'
    This solves the first requirement.
    Requirement2
    On the dashboard I would like to present the title: 'Report by X', where X is either 'Categories' or 'Products'.1.Navigate to your report in answers
    2.Add a column with the formula, case when VALUEOF(NQ_SESSION.USER)='USER1' THEN 'Report by Categories' when VALUEOF(NQ_SESSION.USER)='USER2' THEN 'Report by Product' else 'Your custom/default title’ end
    3.Add a narrative view to the report (remove the existing title view) and the give the reference as the column added in step 2.Save the report.
    4.Logout and login as USER1, you can see the report title as 'Report by Categories' and for USER2 , it will be 'Report by Product'
    Let me know if this solves your issue.
    Rgds,
    Dpka

  • No option to reorder the Parameters in group Dynamic prompt

    I have designed Crystal Report which has an Dynamic prompt like Region / State / City.
    Selection of Prompts occurs in Order but the title shows as City/Region/State in Preview.
    I even checked example reports provided for Crystal report and seems like all has the same order of display the label.
    Its just the label display. I am using Crystal Reports 11.5.10.1263
    Easy example, open Report Samples > Feature Examples > Prompting.rpt
    Press F5 to prompt for parameter values. First parameter in that report is Country/Region/City.
    LOV list proper order, but the Label on top of it shows as City/Country/Region.
    Question
    Is there any workaround to make it in order?
    Is there any option to hide the label.

    I think you are referring to Standard Parameters.
    I am referring to Dynamic and have to use the Existing one which was created using Business View Manager. After selecting that I can order how it needs to be display in Value Section. Even i select Country / Region / State in the order i want, the prompt displays properly but associated label text displays other way like (City/Country/Region).
    in the example report i posted in the post 1,  open it up, Expand Parameter Field, Right Click and select Parameter Order
    You will see City/Country/Region. If you edit one of the parameter, the order of display would be Country/Region/City.
    On Preview Press F5 and in that screen, Verify the label text for this prompt group.. it will show as City/Country/Region but the prompts will be in order like Country / Region / City.

  • Label display property instead of text

    Dear All,
    in essgbpdata~sap.com, label display property instead of label name.
    Eg : Address label show like view.DetailView.TransparentContainer_1.Form_Of_Address.text:   in ESS portal
    Kindly help me.
    thanks & regards
    Ganesh

    Hello Ganesh
    Is all the lables are you seeing dynamic or static for other UI Element in the Details View?
    Looks like Label  is coming dynamically. can you elobarate your issue?
    BR
    SS

  • Dynamic field labels in table control

    Hi experts,
        My requirement is to display dynamic field labels in table control can we do this. I am much aware
    that we can do it in alv_grid. Please let me know.
    Thanks in advance.
    Sri

    Hi Anubhab,
         Thanks. With your help i could able to solve the problem. Let me put this in some
    more detail.
    When we are pulling the field from a table to table control we need to make sure the fields should have a data elements. After pulling all the fields to a table control ,we need to drag out  and delete the current table control column headings and then drop in the (new) I/O fields into their place.  I then set the text on these new fields within the PBO.  If we try to drop the (new) I/O fields on top of the existing ones with out deleting it won't work.
    Thanks & Regards.
    Srikanth

  • Changing formats of dynamic prompt parameters

    Hello,
    I am currently using Business Objects XI R2 (SP3) and some users have a dynamic prompt that returns what year the report should query on. However, the prompt is currently returning this:
    2,006
    2,007
    2,008
    2,009
    2,010
    Is there a way (besides converting the number to text) to get rid of the thousand separator? Also, what about dates? How can you change the format they are displayed as?

    Bad news on both fronts...
    #1 The only way to format that correctly would be to bring those values in as text. To make matters even more complicated, they have to come from the DB as text... You can't use a CR formula to to convert the value and then use the formula.
    #2 You're stuck with YYYY-MM-DD for date formats... That is if you want to keep the prompt type set to Date or Date Time (and therefore, keep the date picker control.
    You do have the option to use a text style prompt and allow the user to enter dates however they like...
    Sorry I don't have better answers...
    Jason

  • Dynamic tab labels

    I would like to have a dynamic tab label for use of multiple languages.
    Now I use condional tabs with text labels, which works for two languages but may be prohibitive when there are more languages.

    Not sure I understand you, Scott.
    If I understand you correctly,
    For each item I want to render, I would have
    a. Display as Text
    b. Actual item
    For (a), I would choose to have a blank label and source the item with my dynamic label
    For (b), I would again choose a blank label.
    I would put items (a) and (b) on the same line (and/or) field.
    So, I am really displaying 2 items but making them appear to be 1 "regular" item.
    But then the "label" and the item are not really connected to each other, if I move one, the other wont move automatically, etc.
    Is that what you are suggesting?
    Thanks

  • Prompt - label and value

    is it possible to have a prompt having label and value
    for example,
    there are 3 choices in the prompt
    the displays (choice name) are Hundred, Thousand, Million
    the choices' values are 100 ,1000 ,1000000
    then we can set a presentation variable on the value (not the name)
    thanks

    OK. There are two parts...
    STEP ONE: Build the prompt
    1) Use any CHAR column from your dimension. In the fx, enter CASE WHEN 1=0 THEN tablename.columnname ELSE 'test' END.
    2) In the "Show" window enter CASE WHEN 1=0 THEN tablename.columnname ELSE 'HUNDRED' END UNION CASE WHEN 1=0 THEN tablename.columnname ELSE 'THOUSAND' END UNION WHEN 1=0 THEN tablename.columnname ELSE 'MILLION' END
    3) Set this prompt to a PV called pvTENS or whatever you want.
    STEP TWO: Configure your report
    1) Move another instance of the the column that contains the values 100, 1000, and 1000000 to your workspace and create a BINS. You can hide this column.
    2) In the filter, when the value is 100, call it HUNDRED, when it is 1000, call it THOUSAND and when it is 1000000, call it MILLION.
    3) Now do a filter on this column. Convert the filter to SQL and set the column equal to the PV.
    There you go.
    Mark as correct and close out this thread. Thanks.
    P.S. I see that now some threads are marked answered. Good. What I didn't notice is that you didn't indicate whether anyone helped you find that answer or even provided the answer for you. Don't just mark the thread answered; if it is answered, let us know what helped you and how you solved your problem. This way others may benefit as well. And show your appreciation by awarding points to those that helped you. You can do this by clicking in the upper right of the post that helped or was "correct." It is part of the ettiquette of using this forum. Later on as you become more proficient, come back here periodically and see if you can GIVE some advice to someone whom you can help.
    Edited by: David_T on Jul 27, 2009 10:48 AM

  • Link WebElement to Dynamic prompt

    <p>Are ther examples on how to link a webelement input control to a dynamic prompt? I would like to feed the dynamic prompt list to a webelement list control.</p><p>Thanks</p><p>Richard </p><p>&#160;</p>

    Thanks for the help; that worked; what i have done is create dropdown and a submit button. When I view the report using the "HTML Preview" that worked fine; and when I select ther dropdown value and click submit I see the dropdown value is being passed in the URL; but nothing is displayed back' no error message or report just a blank page; the report is published to the server but I am not sure what is the problem since there is no error being displayed.
    URL linkÂ
    //businessobjects/enterprise115/Infoview/scripts/openDocument.aspx?sType=rpt&sDocName=BAEA_XI_webelement&lsSIN_FISCAL_YR=FY06
    my parameter name is "IN_FISCAL_YR"
    my button code is:Â
    stringvar path:= WETargetPath ("rpt", "Name", "BAEA_XI_webelement", "");
    WESubmitButton ("Submit", path, "");

  • Reading XML file into Dynamic Node and Display its output as Table.

    Hi All,
    Following is the output of XML file:
       <Company>
         <Employee>
              <Name>John</Name>
              <Age>23</Age>
              <***>Male</***>
              <Location>Frankfurt</Location>
         </Employee>
         <Employee>
              <Name>Tina</Name>
              <Age>21</Age>
              <***>Female</***>
              <Location>Boston</Location>
         </Employee>
         <Department>
              <Name>Sales</Name>
              <HQ>Chicago</HQ>
              <Emplyoees>2300</Employees>
         </Department>     
    I'm able to read the output through DOM parser. But How do I convert this into dynamic node and display this in Web dynpro as Table?
    Any pointers in this regard will be great help?
    Thanks
    Srikant

    Hi Maksim,
    I've used your example and its now helping as there is kind of agreement on that I'll be knowing the structure of Xml and I can fill the nodes.
    But suppose if you have Xml has following structure :
    <?xml version="1.0" encoding="utf-8"?><DATA>
    <item><MAILERID TYPE="C" SIZE="000030">21</MAILERID><ORG_CODE TYPE="C" SIZE="000004">1232</ORG_CODE><EVENTID TYPE="C" SIZE="000015">CONTRACT</EVENTID><SUBSCR_VALUE TYPE="C" SIZE="000001">0</SUBSCR_VALUE></item>
    <item><MAILERID TYPE="C" SIZE="000030">21</MAILERID><ORG_CODE TYPE="C" SIZE="000004">1232</ORG_CODE><EVENTID TYPE="C" SIZE="000015">CREDIT</EVENTID><SUBSCR_VALUE TYPE="C" SIZE="000001">0</SUBSCR_VALUE></item>
    <item><MAILERID TYPE="C" SIZE="000030">21</MAILERID><ORG_CODE TYPE="C" SIZE="000004">1232</ORG_CODE><EVENTID TYPE="C" SIZE="000015">EMPRESS</EVENTID><SUBSCR_VALUE TYPE="C" SIZE="000001">0</SUBSCR_VALUE></item>
    <item><MAILERID TYPE="C" SIZE="000030">21</MAILERID><ORG_CODE TYPE="C" SIZE="000004">1232</ORG_CODE><EVENTID TYPE="C" SIZE="000015">PAYMENT</EVENTID><SUBSCR_VALUE TYPE="C" SIZE="000001">0</SUBSCR_VALUE></item>
    <item><MAILERID TYPE="C" SIZE="000030">21</MAILERID><ORG_CODE TYPE="C" SIZE="000004">1232</ORG_CODE><EVENTID TYPE="C" SIZE="000015">PRICE</EVENTID><SUBSCR_VALUE TYPE="C" SIZE="000001">0</SUBSCR_VALUE></item>
    </DATA>
    How we will do in this case?
    Can we have something similar using DOM? Also what is the best method for displaying data being sent in form of XML. And generalize it for cases like this.
    Thanks
    Srikant

  • Error Publishing Dynamic Prompt to BOE XI Release 3 From Crystal 2008

    I am getting the following error when trying to publish reports with dynamic prompts to        "Failed to read data from report file <file name> Reason: failed to read parameter object".  I found this error occurring in threads referring to previous versions of BOE and none of the solutions are an option to me: I cannot give the user any further rights, and I am unable to apply patches since they are for Crystal XI, rather than 2008.  Is there a solution for this issue?  I found a work around which is to save the report to another source (a shared drive, for example) and then loading it via the Central Management Console.  However, once this is done, when any user attempts to view the report, the report continues to prompt for a username and password, despite having updated this in the Database Configuration and selecting "use same database logon as when report is run".
    Thanks in advance for any help!

    Hi Heather
    I get the same behaviour in this case:
    If my report uses a Stored procedure as the datasource AND i use an SQL sommand to create the LOV for dynamic parameter then each time i run the report in infoview it asks for db login info
    I think it looks for this info to create the LOV
    I created the same report with a table as the datasource and used the exact same command to create the LOV and was able to run the report without a request for db login info.
    I also created the report with the SP but with no LOV, the parameter is set to static, and it runs without extra login
    I have entered the db login info in CMC for each report before i tried running in infoview
    What are your reports using as datasources?
    Patrick

  • Prompt Labels missing on the dashboard after upgrade to 11.1.1.6.9

    We upgraded to 11.1.1.6.9 and all the dashboard prompt labels where the labels are not customized are missing. Has anyone else encountered this issue?
    Thanks
    Edited by: 947403 on Mar 20, 2013 9:06 AM

    Hi,
    1. First try to compile invalid objects using adadmin.
    2. If the objects are still invalid, then compile them manually.
    You can use the custom script from the following link
    http://www.oracle-base.com/articles/misc/RecompilingInvalidSchemaObjects.php
    3. If invalids still exists please post few objects here which are invalid.
    Thanks

  • Using variable in prompt label

    Hi,
    Does anybody now if/how you can use a session variable in a prompt label? I want to make a multiligual prompt.
    regards
    John
    Edited by: John Minkjan on Apr 15, 2009 4:28 AM

    Stijn,
    That did the trick!
    I will put it on the blog ASAP.
    EDIT: http://obiee101.blogspot.com/2009/04/obiee-multi-lingual-prompt.html
    regards
    John
    http://obiee101.blogspot.com/
    Edited by: John Minkjan on Apr 15, 2009 10:44 AM

  • SQL Subscription field shows * only with Dynamic Text Label in SQL query

    We are using Hyperion Analyzer 7.2.x for showing budget and actual data. I have to show this financial data based on the security e.g. person in IT can see only IT dept. data. Hence I want to use dynamic text label <<userid>> for the security based on the person logging in to Analyzer.
    But when I use dynamic text label <<userid>> in the SQL query in SQL Spreadsheet, SQL Subscription field shows * only selection option. Does anyone have idea how to solve this problem?
    Thanks in advance for your help.
    -SV

    Hi
    Okay i know this is a bit crazy way.....but i think this is the solution for your issue.
    Create a report without the where clause (<<useris>>) then add a filter (sql subscription) then you can find all the values that are there in the SQL field (try to increase the query limit it is set to 250 as default) then edit the spreadsheet and add the where clause (<<userid>>).
    This will help you having the filter and the dynamic text label. I think there is an issue when you try to filter it with a where clause.
    Hope it helps.
    CK

Maybe you are looking for