Dropdown list default value  in Visual Composer

Hi all  ,
i have dropdown list in my Visual composer layout  i have values coming like 2001 to 2014 ,everything is fine . i need to display default value in the dropdown list should be curent year like 2009when i deploy the application by default the current year should be displayed in input field.

Hi Venkatp,   
To Assign the function into the dropdown inputfield DSTR(NOW(),'YYYY') and you can to display the current year
Followings links are available to display the dateformat,
http://www.sdn.sap.com.ngrs.net/irj/scn/index?rid=/library/uuid/60535002-571c-2c10-58b6-cc27faa7be4d&overridelayout=true
http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/7556c6b7-0e01-0010-878b-cbf4dbe859eb&overridelayout=true
Regards,
Prabha

Similar Messages

  • Open tabbed panels from dropdown list option value

    I have about 10 tabbed panels on my page.
    I created a dropdown list, <option value></option value>.
    I need to open the specific panel when an option is selected from the dropdown list.  I know how to open tabbed panels by URL, a button, and a link on the same page.  But how do i open a tabbed panel from a dropdown list.  The <option value> in IE does not allow for onclick events in IE. 

    Yes and I have been trying to find that.  Right now I have it setup where the onchange event is "location = this.options[this.selectedIndex].value;">
    and then I have each<option> in the dropdown list with teh value=http://URL.com?tab=3#tabbedpanels1.
    It works but it isn't as dynamic as I would like.  When i select each option in the dropdown, it refreshes the page and opens the correct tabbed panel. Then the dropdown list is reset to the default value because the page refreshed.  I wanted to do this without the page refreshing, that way the dropdown list item remains at what I selected to open the tabbedpanel. and plus, I didn't want the page to refresh everytime but to just open the tabbedpanel the same way as if i made a button to open it.

  • Show Reporting Activity values in Visual Composer

    Hi everybody,
    i add a Reporting Activity to my current BPM Process. My purpose is to show the report in Visual composer.
    Unfortunately i don't know how to import the BPM Reporting Activity into VC?
    Could anybody help me with a how-to-guide or a detailed description?
    Best regards,
    Sid

    Hi Sid ,
    In Visual Composer, choose   Model   Open...  .
    A list with all available models appears.
    Browse the model structure and in the context menu of a model, choose Open Model.
    The selected model opens for editing in the Design board.
    Choose   View->Task Panel  -> Search   to search for BPM DataSources.
    The Search dialog appears.
    From the Select provider dropdown menu, select BI Data Sources.
    From the System destination dropdown menu, select BI (Sql) Portal.
    In the Search for Table field, enter the name of the generic process or process context DataSource you want to find. You can use an asterisk (*) in the search string as a wildcard to search for a partial match. Choose the Search pushbutton.
    Please refer the following link.
    [http://help.sap.com/saphelp_nw72/helpdata/en/a1/bde4657d1f42e3a7c698d16a699635/content.htm|http://help.sap.com/saphelp_nw72/helpdata/en/a1/bde4657d1f42e3a7c698d16a699635/content.htm]
    Regards,
    Rohit
    Edited by: Rohit J on Apr 28, 2011 1:39 PM

  • How-To populate SELECT LIST default value from SQL Query

    OK, I've done my homework, and did not find my answer in the Forum, so here it is.
    I have a Page that displays fields from a SQL Query. The Page also has below that radiogroups, checkboxes, and Select Lists to allow the user to change values in the fields that are displayed at the top of the Region. I am able to pre-populate the radiogroups and checkboxes by performing a SELECT in the 'Source value or expression' of the Source area of the Page Item.
    However, I am unable to do the same for the Select List fields. Their default value ends up being the first value in the LOV ('-- None --' for NULL values). Source Used: Only when current value in session state is null. Source Type: SQL Query. Also, when I first go into the Page when running it, and check the Session State values, they are all null, so I don't understand why the field is not populated by the SQL Query statement as the radiogroups and checkboxes are.
    Any suggestions??? I've tried all sorts of combinations.

    Thank you for the suggestion.
    I had considered that, but cannot do so, because we are using Oracle Application Express more for development than for data containment.
    We have all our data in an Oracle 10.g DB which is separate from the OAEX server, and the OAEX app will reference that data via VIEWs and DB LINKs. We are doing so primarily as an added data security layer, where the data is housed separate from the app, in case the Web site is ever compromised. The data that can be viewed is restricted to a subset of the actual data that is available.
    Since the data is on a separate server, (I assume) we will not be able to set the source type to Database column, because (I asume) that is dependent upon the data being housed by the OAEX server.
    That still leaves me with having to populate the field with a SELECT statement from the Oracle DB. This unfortuneately is almost a show-stopper for me because of down-stream processing data requirements. Have not been able to come up with contingencies yet.

  • How to show BPM Reporting values in Visual Composer

    Hi everybody,
    i add a Reporting Activity to my current BPM Process. My purpose is to show the report in Visual composer.
    Unfortunately i don't know how to import the BPM Reporting Activity into VC?
    Could anybody help me with a how-to-guide or a detailed description?
    Best regards,
    Sid

    Hi,
    Helpful information on this topic:
    The whole subtree: Performing Process Analytics
    Some quotes from the help.sap.com documentation:
    Real-time analytics enables you to report against an operational system without using a BW system. Real-time analytics allows reporting on a subset of both generic process data and process context data. When performing real-time analytics, data is consumed and reports are displayed directly in the Visual Composer of the local system.
    Reporting data is provided as DataSources to VC and you use the VC BI Kit to display the data.
    Discovering BPM DataSources in Visual Composer:
    3. Choose: View -> Task Panel -> Search to search for BPM DataSources. The Search dialog appears.
    4. From the Select provider dropdown menu, select BI Data Sources.
    5. From the System destination dropdown menu, select BI (Sql) Portal.
    ...but per my understanding, in order to be able to select "BI Data Sources", because all BPM Data Sources can be accessed from this choice only, you need to have BW, and you need to configure the connection between your BPM and BW??
    Also, your own custom BPM Data Sources can be created only with the "Reporting Activity" in NWDS, Process Development perspective??
    Similar-helpful thread: Using Visual Composer from NWDS - CE as BI Data Source (BPM tables)
    Regards,
    David

  • Static list default value.

    I need to retrieve the default value of a static list Crystal report parameter. InfoView honors this setting but I haven't found the field exposed in the Java SDK.  I'm using com.crystaldecisions.sdk.occa.report.data.IParameterField to access the parameter properties. 
    Any pointers would be most welcome.
    Thanks

    Hi,
    In your model project, create a view criteria (on the VO which you would be using for displaying values in the LOV). In your view criteria add the attributes and set default value (say add Empno and set its value to literal 1111). Now, when creating LOV for the next view object, select the view criteria you've created in previous step (instead of using all queryable attributes).
    Refer : http://docs.oracle.com/cd/E23943_01/web.1111/b31974/lists.htm#BEIBAFDD
    -Arun

  • Numbered bullet list-default values

    I have been using Text Expander to insert templates into Pages documents. One of these templates creates a simple numbered bullet list, with only the number one, followed by a period.
    When I add text to this bullet list and press enter or return, I get each new number in sequence. However, there is a preset “Text Indent” under the “List” tab, and a preset “Left Tab” under the “Tabs” tab.
    The Text Expander macro is saving the text in rich text format.
    Is there a way to set default values for the “Number” bullet list in the tab value, such that I do not have these indents and tabs whenever I start a new bullet list?
    Thanks

    @Jerry-
    Thanks much. I've been reading on styles, and it does exactly what I need.
    Mucho gracias!

  • Changing dropdown list selected value in JSP

    I would like a dropdown list to load with all values in a database table, which is no problem. But, I would then like it to display a selected text value from that list, depending on the value returned by a SQL query. As an example, say I was looking-up someone's personal data and there was a dropdown list that listed all the possible hair colors. If this person had been entered as having blonde hair, I want the dropdown list to display blonde at page load, but give the user the option to select another color if a change is needed.
    Thanks in advance for ur help.

    <option value="<c:out value="${currentchoice}"/>"
        <c:if test="${currentchoice=='db_value'}">     
            SELECTED 
        </c:if>
    >

  • Select List Default Value

    I have wondered about this for a while but haven't found an answer, maybe because I haven't searched for the right thing.
    With a select list, is there a straightforward way to specify the first item on the list for the default value?
    What is the best way to handle a case where the query providing the list of values may take a while to complete? I don't want to double the setup time by repeating the query just for the sake of finding the first item.

    Yes, it is. I am never using default values but computations. Default value will be set only after page submittion and not on load. A computation will set the item session state on load. Usually, you use some kind of condition for the computations to set the value of the item to something only if the item value is NULL. One of the reasons is also that the computations are visible in the page property and default values are hidden within the item properties.
    Denes Kubicek
    http://deneskubicek.blogspot.com/
    http://www.opal-consulting.de/training
    http://apex.oracle.com/pls/otn/f?p=31517:1
    -------------------------------------------------------------------

  • LOV/Choice List - Default Value in Update OAF page

    Hi Guru's,
    Need help please, I am looking at personalization but its not working for me to default a value in Group by LOV/Choice List.
    Please provide some pointers so that I can achieve this.
    I have Requisition page from Buyer Work Center in Oracle US Purchasing Super user. when I pick requisition to update it. It goes to update page, in here I have a header "request".
    In this request have a Group By LOV/Choice list it has initial value set to "Default", I wanted to set to "Requisition".
    Is it possible by Personlization?.
    OR
    Is it possible by OAF page modification.
    if OAF page update, can I get some information to get Page info and update value.
    Thanks in Advance to all.

    Hi,
    You need not do this via personalization... Set the profile po%def%group%. This should take care of that.
    Regards,
    Praveen

  • Calculate DropDown List items values

    I have 7 DDLists for the availability of the employees for 7 days the week.
    DD1, DD2, DD3, DD4, DD5, DD6, DD7
    The list items for all are the same:
    Day, Evening, Night, N/A(Not Available)
    How I can calculate  in a field  the Total Days of Availability
    and in a separate field Total Days N/A?
    Thank you

    Hi,
    A few things to correct
    1) You must use square brackets -- My Fault -- not sure how that one got past me!
              DDLday[i]
    2) DDLs can't have values the same for the items meaning change them to:
         0 = N/A, 1= Day, 2= Eve, 3= Nite
    3) You only need the 1 script --don't place script on the NumNA field--delete that whole script
    4) At the end of the script, you must reference the N/A Field correctly. You're not using the name you gave it--you're using the name I gave it so it can't find it.
         NumNA = notAvailable  //Either rename the NA field to NumNA  or change the script but putting the field name you're using
    5) Finally, I don't remember coming accross this before, but the script needs to have the last 2 lines switched. It seems to matter.
    var available = 0
    var notAvailable = 0
    for i = 0 upto 6 do
         if(DDLday[i] > "0")then    //square brackets
              available = available + 1
              continue
         else
              notAvailable = notAvailable + 1
              continue
         endif
    endfor
    NumNA = notAvailable     //NumNA is the other field
    $ = available                       // this must be the last line
    So, 2 of the problems were my fault.
    That should do it.
    Stephen

  • Set default "Dropdown Lists" to "By value"

    Hi ,
    In the WebUI under Personalize / Personalize Settings , the user can setup the parameter "Dropdown Lists" to be "By value".
    We want to setup that at the system level , so every connection to the WebUI will have the Sort in the Dropdown Lists by value . How can we do that ? Nothing seems to be in IMG , maybe that a parameters in a SYSTEM file ? Thank you

    Hi Julie and happy HannuChristmaKwanzaYule to you!
    There is only one place I'm aware of that any slide timing
    default may be set. In Captivate 2, you look at Project >
    Preferences... > Defaults tab.
    In Captivate 3, you look at Edit > Preferences... >
    Project node.
    In both places you will find a place to configure the default
    slide time. This has no effect on any existing slides and I don't
    believe it will factor into the mix when recording. Also it would
    appear the minimum limit is one second. The only places this seems
    to take effect are when inserting Blank slides and when creating a
    Blank project.
    Hopefully this helps a smidge! Rick

  • Possible bug ? - Default value for select list

    4.2.1
    Hi, I have one page with a couple of reports. I have a time period filter on top. Its a select list with values 7 days, 3 months and 12 months. Default value is set to 3 (where return values of select list is 1,2,3 resp).
    Now in page 1 which has this select list, :P1_SELECT it has a report which shows counts of number of items purchased. When the user clicks on the count(hyperlinked column), it takes the user to another page which runs the details of the items and also uses the Page 1 select. It works fine when I change the time period. However, if I dont change the time period in the select list when I first login, althought I have set the default value to 3, the interactive report on page shows no data found, because the select list default value I guess it does not recognize.
    Is this a bug?
    Thanks,
    Sunil

    ryansun wrote:
    4.2.1
    Hi, I have one page with a couple of reports. I have a time period filter on top. Its a select list with values 7 days, 3 months and 12 months. Default value is set to 3 (where return values of select list is 1,2,3 resp).
    Now in page 1 which has this select list, :P1_SELECT it has a report which shows counts of number of items purchased. When the user clicks on the count(hyperlinked column), it takes the user to another page which runs the details of the items and also uses the Page 1 select. It works fine when I change the time period. However, if I dont change the time period in the select list when I first login, althought I have set the default value to 3, the interactive report on page shows no data found, because the select list default value I guess it does not recognize.
    Is this a bug?NO.
    Default values is only populated on the clien side and NOT in the session.
    This has been discussed thousands of times in the forum..found this with a simple search {message:id=4440597}

  • Lost values in DropDown List

    Hello Experts!
    I created a dynamic interactive form with a dynamic table. This table has two buttons. One to add a new row and one to delete
    the selected row. The row has field called EAN. This field is formatted as dropdown list. I created i the interface of the form a table and bind the table to this dropdown list field. With my print program i fill the table, generate my form and download it on my pc.
    Now my problem. After download, i open my form and the first row of my table has the first value as content in the field.
    Every thing is right. But if a create a new row, the field is empty. This is also correct. But if i will select a new value from my dropdown list, one value is missing and i got two new blank values in my dropdown list. This runs so on if i create a new row.
    I don´t understand why i lost my values in the dropdown list, when i create a new row.
    I hope anybody of you knows the solution for that.
    For your information, here is my coding to add the new row:
    data.#subform[0].FORM.DATA.DATA_ITEMS.I_DATA.STRUC.Teilformular1.Schaltfläche1::click - (JavaScript, client)
    // xfa.host.print(1, "0", (xfa.host.numPages -1).toString(), 0, 0, 0, 0, 0);
    var anInstanceManager = this.parent.parent.instanceManager;
    var newInstance = anInstanceManager.addInstance(1);
    var aToIndex = this.parent.parent.index + 1;
    var aFromIndex = newInstance.index;
        anInstanceManager.moveInstance(aFromIndex, aToIndex);}
    Regards
    Barney

    Hi Sanoosh!
    Thanks for your advice!
    I already bound the field for the dropdown list to a different node than the datatable.
    So that is also a fact that i don´t understand. When i have a different data node, why
    is it possible to fill or overwrite data from a different data node!
    Regards!
    Barney

  • How to remove % sign from List of Values

    Hi ,
    I have shared list of values thats is based on SQL query. At runtime the select list default value is showing as "%". Can someone suggest how to remove % and replace with null (blank)
    Thanks
    Aali

    In ist of Values region, if you select display null as 'Yes', in 'null display value' area use space tab or type something like ' - Select-' to replace %. Or, choose Display null as 'No.

Maybe you are looking for

  • Tax code in T.code F-02 is optional

    Hi, I want to make tax code as optional in T.code F-02. In FS00 i have clicked posting with tax code is allowed. I checked the Field Status Group. Still i am not able to make tax code as optional. Is there any where thro SD Module where i can control

  • I need to sort an array of strings based on the number in each string.

    Basically, I have a directory of files that all have the same name but each with a different number on the end. example: image 1.jpg, image 2.jpg, etc. When I use the List Directory function that returns an array of strings containing the file names

  • PDF links crashes Firefox. ThinApp unexpected error PID=10156

    Whenever I click on a PDF web link, firefox crashes. I get this error: ThinApp has encountered an unexpected error. Click Abort to close the application, Retry to debug, or Continue to ignore the error. Support Info: PID=10156, new_Sections.cpp@274.

  • Configuring business packages in E.P 7.0

    Hi friends,   Can anybody tell me the stpes in brief regarding how to configure the business packages in E.P 7.0. And if something need to be implemented in the business package , say for example in ESS(HR) , where i can go and make changes according

  • I cannot get the battery compartment to open

    On my trackpad...suggestions?