Need to add list items while clicking another list item.

I want to know the steps to be followed to get the below functionality .
EntityList EntityList
dept
emp
all
At run time when user clicks emp or emp ,dept,all these items should be to enitity list.
Iam open any list other than LOV.
Could you anyone help me how to work this functionality
Thanks,

Block Name:CONTROL
List 1 List 2
ENTITY_TYPE ENTITY_LIST
Emp
Dept
All
I have to add List1 item to List2 when user clciks on List1.
In when-list-changed-trigger
Declare
     v_list_id ITEM := find_item('CONTROL.ENTITY_LIST');
     v_list_value1 VARCHAR2(100);
Begin
Select :CONTROL.ENTITY_TYPE into v_list_value1 from dual;
Add_List_Element('CONTROL.ENTITY_LIST',1,v_list_value1,v_list_value1);
End ;
Iam getting run time warning no list elemnets in entity_list .
And the form is not showing any list elements in entity_list when i cick on list1.

Similar Messages

  • SP Designer Workflow: How to Get Full URL Path to List Item and inserted same list ITem URL in another list

    Hi,
    I have requirement in Sp Designer 2010,Get List item URL and insert in another list as one column value.When open another list and click on same item  column entry url will show the parent item information.
    Here i have create work flow and insert item URL in another list but cant find appropriate item url information.I can easily make  item url link through String builder in mail body with using current id and predefine link,but
    when try to insert the same type of item link in another list where i cant find string builder for create custom url link,only get valur of Path,URL,Absolute URL and Relative server URL,all these links or not provide me exact
    item link dispaly information.
    So I opened SharePoint Designer and start creating the workflow associated to the list.
    As there is some Field from source related to current item URL I start using it
    Encoded Absolute URL – this one should be the one to use
    Server Relative URL
    URL Path
    Unfortunately, none of these options were providing the correct link. Indeed, these options are providing an incorrect path:
    Encoded Absolute URL
    http://wfe1/Lists/bpf/1_.000
    Server Relative URL
    /Lists/bpf/1_.000
    URL Path
    /Lists/bpf/1_.000
    As you can see, the item URL is composed by an ID while it should be http://wfe1/Lists/bpf/dispform.aspx?id=1
    Hasan Jamal Siddiqui(MCTS,MCPD,ITIL@V3),Share Point Application Developer,TCS

    Unfortunately, [%Current Item:URL%] doesn't seem to be available from a "Site Workflow" associated to a List.   I'm finding less advantages to doing a "Site Workflow" when I don't necessarily need to.  One problem is the workflow is initiating
    twice.   I'm thinking I should have just created the workflow as a a "List Workflow."  
    I am going to try "Association Columns" -- that may work.  Anyone have other suggestions?

  • Display list items based on another list item

    Hi All
                I want to display the list item based on another list item, but its not working.
    This is my code:
    /*WHEN-NEW-FORM-INSTANCE*/---Its working.
    DECLARE
       rg_district   recordgroup;
       rg_name       VARCHAR2 (40) := 'district';
       vtemp         NUMBER;
    BEGIN
       rg_district := FIND_GROUP (rg_name);
       IF ID_NULL (rg_district)
       THEN
          rg_district :=
             CREATE_GROUP_FROM_QUERY (rg_name,
                                      'select dist,dist from district_mas'
          vtemp := POPULATE_GROUP (rg_district);
          POPULATE_LIST ('BLOCK3.DISTRICT', rg_name);
       END IF;
       END;
    */WHEN-LIST-CHANGED*/---Not working. Cannot populate the list based on the List
       DECLARE
       rg_branch   recordgroup;
       rg_name1     VARCHAR2 (1000) := 'branch';
       vtemp       NUMBER;
    BEGIN
       rg_branch := FIND_GROUP (rg_name1);
       IF NOT ID_NULL (rg_branch)
       THEN
          DELETE_GROUP (rg_name1);
          rg_branch :=
             CREATE_GROUP_FROM_QUERY
                ('rg_branch',
                    'SELECT branch FROM dist_branch WHERE district IN (SELECT DIST FROM DISTRICT_MAS WHERE DISTRICT ='
                 || :BLOCK3.DISTRICT
          vtemp := POPULATE_GROUP (rg_branch);
          POPULATE_LIST ('BLOCK3.BRANCH', rg_branch);
       END IF;
       END;
    Table:
    CREATE TABLE DISTRICT_MAS
      DIST  VARCHAR2(100 CHAR)
    CREATE TABLE DIST_BRANCH
      DISTRICT  VARCHAR2(100 CHAR),
      BRANCH    VARCHAR2(100 CHAR)
    Values:
    insert into district_mas values('chennai');
    insert into district_mas values('coimbatore');
    insert into dist_branch values('chennai','chennai_north');
    insert into dist_branch values('coimbatore','Podanur');
    Regards
    Shagar M

    Hmm, not tested.
    try this..
    --*/WHEN-LIST-CHANGED*/
       DECLARE
       rg_branch       recordgroup;
       rg_name1     VARCHAR2 (1000) := 'branch';
       vtemp        NUMBER;
       QT            VARCHAR2(10) :='''';
    BEGIN
       rg_branch := FIND_GROUP (rg_name1);
       IF NOT ID_NULL (rg_branch)
       THEN
          DELETE_GROUP (rg_name1);
          rg_branch :=
             CREATE_GROUP_FROM_QUERY
                ('rg_branch',
                    'SELECT branch FROM dist_branch WHERE district IN (SELECT DIST FROM DISTRICT_MAS WHERE DISTRICT ='
                 || QT||:BLOCK3.DISTRICT||QT||')'
          vtemp := POPULATE_GROUP (rg_branch);
          POPULATE_LIST ('BLOCK3.BRANCH', rg_branch);
       END IF;
    END;
    Hope this works..
    Hamid

  • Copy list column information to another list

    Hi Friends,
    I have ListA with columnA and ListB with columnB
    I would like to create a workflow that will copy columnA data to columnB of ListB. Please suggest how I can do it

    Hi,
    According to your post, my understanding is that you wanted to copy list column information to another list.
    You can use the out of the box actions to accomplish this with SharePoint.
    If you only want to copy column information to another list, you can use the “Update List Item” action. In the action, you can get the current item value and set the value to another list item.
    If you can to copy list item to another list, you can use the “Create List Item” action and select the other list.
    If you want to delete the current list item, you can use the “Delete Item” action.
    More information:
    Workflow actions quick reference (SharePoint 2013 Workflow platform)
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • Passing Multiple Selected List Items to a "New Item" Form in Another List with Multiselect Lookup Field

    Hi!
    Version Info:  SharePoint 2013 Server Standard (*BTW...I do not have access to Visual Studio*)
    I have two lists, let's call them
    -Assets
    -Asset Checkouts
    "Assets" is the parent list, and "Asset Checkouts" has a lookup column (multiselect) which is tied to the serial # column in the "Assets" list.
    Basically, what I need to accomplish is this:  I would like to be able to select multiple list items in the "Assets" list, and create a new item in "Asset Checkouts", and pre-fill the multiselect lookup column in the NewItem form
    for "Asset Checkouts" with the values from the selected items in "Assets".
    Any ideas or suggestions on how to do this would be most appreciated!
    Thanks!

    Hi,     
    According your description, you might want to add new item in "Asset Checkouts" list when selecting items in "Assets" list.
    If so, we can achieve it with SharePoint Client Object Model.
    We can add a button in the "Assets" list form page, when selecting items, we can take down the values of columns of the selected items, then click this button which will create
    new item in "Asset Checkouts" list with the values needed.
    Here are some links will provide more information about how to achieve it:
    Use
    SP.ListOperation.Selection.getSelectedItems() Method to get the list items being selected
    http://msdn.microsoft.com/en-us/library/ff409526(v=office.14).aspx
    How to: Create, Update, and Delete List Items Using JavaScript
    http://msdn.microsoft.com/en-us/library/office/hh185011(v=office.14).aspx
    Add ListItem with Lookup Field using Client Object Model (ECMA)
    http://notuserfriendly.wordpress.com/2013/03/14/add-listitem-with-lookup-field-using-client-object-model-ecma/
    Or if you just want to refer to the other columns in "Assets" list when add new item in "Asset Checkouts" list, we can insert the "Assets" list web part into the NewForm page
    of the "Asset Checkouts" list, then when we add new item in the "Asset Checkouts" list, we will be able to look through the "Assets" list before we select values for the Lookup column.
    To add web part into the NewForm.aspx, we need to find the button "Default New Form" from ribbon under "List" tab, then we can add web part in the NewForm.aspx.
    In the ribbon, click the button “Default New Form”:
    Then we can add web part into NewForm.aspx:
    Best regards
    Patrick Liang
    TechNet Community Support

  • Dynamically changing the list item based on another list item

    Hi all,
    I have two fields that are list items.
    First list item contain two list values: Regular and One-time
    In second list item if user select the Regular then below values should appear:
    Daily wages
    Activity Linked
    Fixed Contracts.
    Contract Staff
    Outsourced
    if user select the one-time then below values should appear:
    Projects
    Repairs & Maint.
    Please do the needful.

    First list item contain two list values: Regular and One-timeYou simply need to add a conditional check to the When-List-Changed (WLC) trigger to see which value was selected. Then, as Manu suggests, you will populate the Poplist based on the selected value.
    For an example of how to dynamically populate a Poplist item, take a look at: Forms: How to Dynamically Populate a Poplist.
    Hope this helps,
    Craig B-)
    If someone's response is helpful or correct, please mark it accordingly.

  • Do I need to add Base Station MAC address to list?

    Hi, If I choose to use MAC address filtering on my Airport Extreme Time Capsule, do I need to add the wireless MAC address of the Base Station to the list of allowed MAC addresses???  I'd feel real bad if I set up a list, didn't include the base station's MAC address and then could never get in to the network again because I, in effect, locked myself out???  I doubt that address needs to be included but I would like some feedback on that.
    Second, does the one MAC address filter list apply to the Guest Network as well if I should choose to turn it on???  If that was the case, I would just turn off MAC address filtering why guests were present.
    thanks..  bob

    If I choose to use MAC address filtering on my Airport Extreme Time Capsule, do I need to add the wireless MAC address of the Base Station to the list of allowed MAC addresses???
    No. Timed Access would be for wireless devices....computers, mobile devices, printer, etc., that are connecting to the Time Capsule. The Time Capsule does not connect to itself in this regard.
    I'd feel real bad if I set up a list, didn't include the base station's MAC address and then could never get in to the network again because I, in effect, locked myself out???
    Sometimes, users lock themselves out by mistake by entering incorrect times for devices to connect, and they often forget that they can connect to the base station using an Ethernet connection and get back in that way.....since Timed Access only applies to devices that connect using wireless.
    does the one MAC address filter list apply to the Guest Network as well if I should choose to turn it on???
    Yes

  • Cannot float item next to another floated item...help needed...

    Hi everyone,
    I'm using DW CS4 and am somewhat in a snag. I am trying to line up an image, text and another image side by side.  I was successfully able to float the text to the right  of the image (by using float: left) and now I am trying to float another image left of the text.  However, when I attempt, the image does not move and the text expands out (I put the text in a DIV container and gave it a width of 800 px); my entire layout is 1280 pixexl.  So what I'm asking is, how can I float an item next to another item?  I've posted the code below.  All help is greatly appreciated.  Thank you!
    **I posted my entire CSS and highlighted the area I am having issues with.
    Website Dimensions:
    body {
              height: 1024px;
              width: 1280px;
              margin:0 auto;
              position:relative
    HTML:
      <!--Main Content Begin-->
      <div id="main_content">
      <!--Top Hat Photo Begin-->
      <div id="Top_Hat_Photo">
          <img src="Dee 201 Big Smile Fade Surgical.jpg" width="438" height="376" alt="Dee Lewis" /></div>
          <!--Top Hat Phote End-->
          <!--Quotes Begin-->
          <div id="Quotes">
          <h1> Main Content</h1>
          <p>&quot;From writer to filmmaker to actress and back again. DeAara Lewis comfortably wears the hats of three crafts.&quot;</p>
      <p> Pearl Washington </p>
        <p> Tri State Defender</p>
        <p> </p>
        </div>
        <!--Quotes End-->
        <!--TV Icon Begin-->
        <div id="TV_Icon">
      <img src="TPIMH TV.jpg" width="303" height="325" alt="The People Inside My Head Coming Soon!" /></div>
      <!--TV Icon End-->
    </div>
    <!--end "main content"-->
    CSS:
    #container #main_content {
    #container #Header #Dee_Title {
              padding-left: 50px;
              width: 600px;
              clear: both;
    #container #main_content #Top_Hat_Photo img {
              float: left;
    #container #main_content #Quotes {
              width: 800px;
              float: left;
    #footer {
              clear: both;
    #Header #Navigation_Menu ul {
              margin: 0px;
              padding: 0px;
              list-style:none;
    #Header #Navigation_Menu ul li {
              float: left;
              text-align: center;
    #Header #Navigation_Menu ul li a:link, #Header #Navigation_Menu ul li a:visited {
              padding:.2em .5em;
              display:block;
              font-family:Georgia, "Times New Roman", Times, serif;
              font-size:1em;
              font-weight:bold;
              color:#000;
              text-decoration:none;
              line-height:1.2em;
              margin-right:.5em
    #Header #Navigation_Menu ul li a:hover {
              color:#C90;
    #Header #Navigation_Menu ul li a.current, #Header #Navigation_Menu ul li a.current:hover, #Header #Navigation_Menu ul li a.current:active {
              color:#00F;
              cursor:default;

    Working with Floats & Margins:
    http://alt-web.com/DEMOS/3-CSS-boxes.shtml
    Captions with Floated Images
    http://alt-web.com/DEMOS/CSS2-Captions-on-floated-images.shtml
    Photo Layout
    http://alt-web.com/TEMPLATES/Dark-Grid-II.shtml
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists 
    http://alt-web.com/

  • Minimum date in calendar item based on another number item

    Hello,
    I have a calendar item that I use in a form. I have another item called effort_days(number) which is calculated using a dynamic action based on other item entries.
    How can I set a minimum pick date in my calendar item that should be sum between sysdate + effort_days?
    Thanks

    i'm not sure if you wanted the second colum's lov values to change per row as your users update the first column or if you simply want the second col's available values to be determined by the originally selected first column values in each row. the latter scenario can be handled easily enough in a manually created tabular form using a call to htmldb_item.select_list_from_query like so...
    select empno, htmldb_item.select_list_from_query(1,mgr,'select ename, empno from emp where empno !='||empno) mgr_select_list from emp
    ...and if you want your available second column values to change as your user updates values in the first column, you'd probably have to use javascript. anyhow, you're hopefully after my second setup. if you're new to manually created tabular forms, there's a great howto doc on them at...
    http://www.oracle.com/technology/products/database/htmldb/howtos/tabular_form.html
    ...hope this helps,
    raj

  • The drop-down list that appears when typing in the Google search bar doesn't work. Clicking on an item on that list does nothing. This very useful feature is broken.

    I just installed FireFox 4. In previous versions typing in the Google search box automatically created a drop-down list of items. One could click on an item on the list and proceed to a Google results page. In FireFox 4, the list appears but clicking on an item on the drop-down menu does nothing. It's broken and it was a very useful feature in previous versions.

    Start Firefox in [[Safe Mode]] to check if one of the add-ons is causing the problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
    * Don't make any changes on the Safe mode start window.
    See:
    * [[Troubleshooting extensions and themes]]

  • Need backend error in SRM while entering Service item

    hi SRM guru ,
    I need backend error while entering Service item in SRM in PO .
    I have scenario where in I need backend errors from ERP while making entry Service items .
    I need some configuration or customization that will cause backend error againt Service items .
    I have tried many thing like introducing such UOM , Tax code in SRM which is not supported by ERP .
    I was expecting backend error for it but it does not happen like that .
    I need find out some action that can cause Backend error for Sure while making entry of SRM Service item .
    I kindly invite your ideas and inputs ...
    In genral need something on PO UI that can cause backend error for Service item ...
    i have this Scenario mainly in SRM 6.0 onwards systems...
    Thanks in Advance .
    Regards ,
    Parag Bhise

    Hi,
    What specifically are you attempting to do?
    Why any error when craeting service item.
    You could code the DOC_CHECK_BADI to make an RFC call the the backend to do what ever check is necessary.
    Regards,
    Matthew

  • Need to add any Pointer/Bookmark for the Hyphenated words

    Dear Experts,
    Im very new to Scripting.
    I'm creating a Validation tool which shows hyphenated words in a ListBox & i done it well in VB6.
    Now all my need is i have to jump to the location in the document while clicking the ListBox Item.
    Is there any options to do this?
    Looking forward your comments.
    Thanks in advance.
    SaRaVaNaN.N

    Hi Try this code...
    I created this for windows XP, Indesign CS4.
    #targetengine "session";
    var myDoc = app.activeDocument;
    var stories = myDoc.stories.everyItem ().getElements ();
    var myFind = new Array(); var myCounter = 0;
    var times1, times2;
    times1 = new Date().valueOf();
    //-----------------------------For display---------------
    var w = new Window ("palette", "Hyphenated words");
    var list = w.add ("listbox", undefined, "", {numberOfColumns: 1, showHeaders: true,columnTitles: ["Hyphenated Word"], columnWidths: [185]});
        list.maximumSize.height = $.screens[0].bottom-200;
    var myStory_id = new Array(); var myitem_id = new Array();
    main();
    times2 = new Date().valueOf();
    var timeTaken = ((times2-times1)/1000);
    displayWindow();
    if (myCounter > 0){
    w.show();
    else { alert("Double Hypehnation Not Found"); }
    function main(){
        var lineCount;
        myResetFindChangeGrep ();
        app.findGrepPreferences.findWhat = "(\\w+)([-~=])(\\w+)";
        var myIndex = new Array();
        for (i=0; i<stories.length; i++){
            myFind[i] = stories[i].findGrep(true);
            for (j=0; j<myFind[i].length; j++){
                lineCount = myFind[i][j].lines.length;
                if (lineCount>1){               
                    var story_id = i; var myFind_id = j;
                    var myText = myFind[i][j].contents;
                    addItem(myFind[i][j], i, j);
                    myCounter++;
                    }//End if
                }//End of Find Length
            }//End Story length
        //alert(myIndex.length);
    //------------------------Function Declarations--------------
    function displayWindow(){
        //window declared as global variable here
        var panel1 = w.add('panel');
        panel1.minimumSize.width = 210;
        var group1 = panel1.add('group');
            group1.orientation ='row';
        var close_ = group1.add ("button", undefined, "Close", {name: "ok"});
        group1.add("statictext", undefined, "Fetched in "+timeTaken+" sec");
            close_.maximumSize.width = 44;
        list.onDoubleClick = function ()
                if (this.selection != null ) {
                var myIndex = this.selection.index;
                var storyNum = myStory_id[myIndex];
                var findNum = myitem_id[myIndex];
                var selectText = myFind[storyNum][findNum];
                app.select (selectText, SelectionOptions.replaceWith);
                app.activeWindow.zoomPercentage = 200;
        close_.onClick = function () {w.close ()}
    function addItem(myItem, sto_id, item_id){
        list.add ("item", myItem.contents);
        myStory_id .push(sto_id);
        myitem_id .push(item_id);
    function myResetFindChangeGrep(){
        app.findGrepPreferences = NothingEnum.nothing;
        app.changeGrepPreferences = NothingEnum.nothing;
        app.findTextPreferences = NothingEnum.nothing;
        app.changeTextPreferences = NothingEnum.nothing;
    Green4ever

  • I need to add one field Pers. sub area for Actions screen

    Normally, we will have Position, Pers. area, Emp group and Emp sub group in Actions screen. Now I want to add one more field to that screen, what is the navigation?
    Can anybody help me please.
    Regards,
    Pavani.

    hi,
    pavani. If i understood right, you need to add a field which is not listed in the module pool related to the screen you have to create a new field, here you can hide or make optional or intialize the field for the info types the table no T588M.
    let me know whether this is correctly answered or not
    regards,
    madhu

  • Add Vendor Name to FBL3N output list

    Dear All ,
    I need to add vendor name to FBL3N output list . Is there any way to add the vendor name ?
    Thanks
    Dash

    Hi
    U need to implement the BTE 1650 (trx FIBF)
    -1) A copy the sample fm SAMPLE_INTERFACE_00001650 to your Z<function module>;
    -2) Assign your your Z<function module> to the BTE 1650 (trx BF31 or BF34);
    -3) Enhance to the structure RFPOS and RFPOSX with the field to store the name
    -3) Run the report RFPOSXEXTEND
    -4) Insert the code to get out the name into Z<function module>
    Max

  • Change value of a control in a list item new or edit form depending on the page level view Add New Item being clicked.

    I have a list which has a underlying infopath form for insert and edit a record.
    The list has various views spread across different pages .
    Now depending on different pages "New Item", a value for the form will have a corresponding value.
    If there is a single line of text control in the list, and depending ona page name, the value for the single line text should be autofilled when Add new item is clicked.
    How do i achieve that?
    Thanks...

    Hi,
    According to your description, there are several list views in your list, there is a textbox control which holds the “Single Line of Text” type of data in your custom
    form. When users click the “Add new item” button in one of the existing list views, you want the textbox control in the custom form to be populated automatically.
    By default, when user clicks the “Add new item” button in a list view, the URL of the custom form page will contain the name of that list view page, thus, a workaround
    which requires custom code can be like this:
    After the form page loaded, we can extract the name of the list view page from the URL, then populate it into the textbox control immediately. This can be achieved
    using jQuery.
    About how to
    get URL parameters of current page using jQuery:
    http://www.jquerybyexample.net/2012/06/get-url-parameters-using-jquery.html
    About
    adding jQuery into InfoPath form:
    http://riteshudupak.blogspot.com/2010/09/add-jquery-to-browser-enabled-infopath.html
    Best regards,
    Patrick
    Patrick Liang
    TechNet Community Support

Maybe you are looking for