Not able to retrieve netui hidden field values in java script

I have problem in retrieving hidden field values in javascript
I have declared hidden field as below,
<netui:hidden dataSource="actionForm.selectedColumns" tagId="hiddenSelectedfield"></netui:hidden>
and retrieving with tagId in javascript as below,
obj1 = document.getElementById(tagId).style;
its not getting value with tagId defined in netui tag.
Any suggestion...
Thanks,
Amit

Hi,
I'm a new bee to this adobe forms and VBS.Could you explain more on that Fdf file or Can you send some documentation where i can go through of.
Even i'm very much happy to share the pdf file..the problem is it is binded with the SAP browser.So i cant make a copy to my local system,But i can explain all the technical stuffs inside the form.
The form is developed using adobe lifecycle designer,i can see the fields are defined in the design view.
The fields which i'm accessing to enter the values are visible & Set user defined values..
when you access through the SAP portal,it opens up inside the browser ..so every field you choose or select additional fields get added based on the selection..
The "GetField" code you have shared works perfectly fine..i could read all data,or i could select a particular field to retrieve the field.
But the "SetField" code you have shared locating the field but it is not writing the value into the field.I called a setfocus method on the particular field as well..then put f.value = fieldvalue still it chooses the particular field but didnt feed the value...
is it possible to call a keystroke to the particular field?
if you have any ideas please throw it up on me..i'll try all my possibilities.
Thanks for your time !

Similar Messages

  • Not able to get the taxonomy field value of meta data field type

    Hi Everyone,
    Not able to get the taxonomy filed value from the metadata filed type.
    Any one can help me on this.
    Label, TermGuid, ValidatedString are showing empty when i debug the code.
    Below is the code which i used to get the taxonomy filed value

    Hi,
    Can you please try getting this way?
    var taxonomyField = listItem.Fields.GetFieldByInternalName(fieldName) as TaxonomyField;
    if (taxonomyField.AllowMultipleValues)
    var fieldValuesCollection = listItem[taxonomyField.Title] as TaxonomyFieldValueCollection;
    return fieldValuesCollection.Select(x => new Guid(x.TermGuid)).ToList();
    else
    var fieldValue = listItem[taxonomyField.Title] as TaxonomyFieldValue;
    return new List<Guid>() { new Guid(fieldValue.TermGuid) };
    Hope it helps!
    Thanks,
    Avni Bhatt
    If this helped you resolve your issue, please mark it Answered

  • Not able to retrieve and insert the value to Home_country filed in MDM

    Hi All,
    I am new to the JAVA API,
    I have creted one application in webdynpro using the JAVA API. I am able to search the data based on "Firstname" "Lastname" and "Email address".
    I need to basically two functionalities
    1) Search
    2) Insertion of new records
    *1) Search*__
    But searching based on the Country is not able to do it.
    we have two tables .
    1) Country table> Contains all the list of the country codes and County name.
    2) People table > Contains the country filed. So for this filed lookup table is country. also this country filed is drop down  not have opton edit in the MDM.
    I am sending the following used for searching the records based on the First Name and country.
    But based on the first name it is working fine but Country it is giving some code like "R100" "R12". It is not givng the actual name of the country.
    FieldSearchDimension sd1 = new FieldSearchDimension(fields[2].getId());
                   TextSearchConstraint sc1 = new TextSearchConstraint(First_Name,TextSearchConstraint.EQUALS);
                   sch.addSearchItem(sd1,sc1);          
    FieldSearchDimension sd4 = new FieldSearchDimension(fields[9].getId());
                   TextSearchConstraint sc4 = new TextSearchConstraint(Home_Country,TextSearchConstraint.EQUALS);
    //               TextSearchConstraint sc4 = new TextSearchConstraint("IN",TextSearchConstraint.EQUALS);
                   sch.addSearchItem(sd4,sc4);
    cmd = new RetrieveLimitedRecordsCommand(connections);
                   cmd.setResultDefinition(rdPeople);
                   cmd.setSearch(sch);
                   cmd.setSession(sessionId);
    try
                        cmd.execute();
                        catch(CommandException e)
                             e.printStackTrace();
                        recs = cmd.getRecords();
                        wdContext.nodeResult_Table().invalidate();
    //retreiving the Data from the resultset
    if(recs.getCount()!=0)
      for(int i=0;i<recs.getCount();i++)
           //First Name
         IResult_TableElement resEle=wdContext.nodeResult_Table().createResult_TableElement();
         if(!(recs.getRecord(i).getFieldValue(fields[0].getId()).isNull()))
         //wdComponentAPI.getMessageManager().reportSuccess("Network Id-->"+recs.getRecord(i).getFieldValue(fields[0].getId()).toString());
         resEle.setNetwork_ID(recs.getRecord(i).getFieldValue(fields[0].getId()).toString());
           //Country
          if(!(recs.getRecord(i).getFieldValue(fields[9].getId()).isNull()))
         resEle.setDisplay_Name(recs.getRecord(i).getFieldValue(fields[9].getId()).toString());
         wdContext.nodeResult_Table().addElement(i,resEle);
    By the above field is not giving the respective country name is avilable. it is giving some value"R100" rather giving of India.
    _ 2)  For creating the record in the  "people" table._
    I am able to insert the data all the information "firstname" "Last name", "email" except "Country" entered by the user by using the following code.
    //Insert
    First_Name=wdContext.currentPersonal_DetailsElement().getAttributeAsText("First_Name");
         Last_Name=wdContext.currentPersonal_DetailsElement().getAttributeAsText("Last_Name");
         Middle_Name_or_Initial=wdContext.currentPersonal_DetailsElement().getAttributeAsText("Middle_Name_or_Initial");
         Home_Country=wdContext.currentPersonal_DetailsElement().getAttributeAsText("Home_Country");
    CreateRecordCommand createRecordCommand =new CreateRecordCommand(connections);
         Record r1 = RecordFactory.createEmptyRecord(tables[0].getId());     
         try
    //               Retrieve Lookup Field Properties, when Field Properties is given as input.
    //           LookupFieldProperties lookupField = (LookupFieldProperties) fields[9];          
    ////     Retrieve Lookup Field Properties, when Field Properties is given as input.
    //           LookupFieldProperties lookupFieldSer = (LookupFieldProperties) fieldProp;
    //          //setting the values for firstname and lastname
            r1.setFieldValue(fields[0].getId(),new StringValue(Network_ID));
            r1.setFieldValue(fields[2].getId(),new StringValue(First_Name));
            r1.setFieldValue(fields[3].getId(),new StringValue(Last_Name));
    r1.serFieldValue(FieldValue(fields[9].getId(), new Stringvalue(Home_country));
            createRecordCommand.setSession(sessionId);
            createRecordCommand.setRecord(r1);
         try {
              createRecordCommand.execute();
          } catch (CommandException e2) {
    Let me know what are the changes need to be done for inserting the country information in people table.

    Hi Greg,
    Thanks for the reply,
    Actually,I  was doing the same thing what  you suggested. I am sending the piece of code . Can look it it .Is any thing wrong.
              //inserting the Country lookup filed to record object.
    *       if(Home_Country.length()!=0)*
    *     /when pass the int position number for the country by retreiving from the country table it is working fine. But we      cannot depend on position. Because People table internally refering the other db table while inserting the country      filed in the People table./     *
    *          r1.setFieldValue(fields[9].getId(),new LookupValue(new RecordId(12)));*
    *     //When i PAss the String to the following function i am getting the unsupportedFormat Exception          *
    *          r1.setFieldValue(fields[9].getId(),new LookupValue(new RecordId("Australia")));*
    InCountry . They have defined only two columns called.
    1) ISO-2 Code
    2) Country Name.
    Sample data
    ISO-2 Code  |   Country Name
    US                    United StatesOf America
    AU                    Australia
    Ar                     Argentina
    Like the above data we have 250 country names
    So , I displaying all the country list in my interface and holding in the Array.
    Ex: When the user chooses the Australia.  When I pass directly as an "Australia" to
    r1.setFieldValue(fields[9].getId(),new LookupValue(new RecordId("Australia"))).  it is giving me error.
    Then i try to pass the postion of the"Australia" in country table. Like if the Austrila is an 2 record. I am looping through my array and find the record position as "2".
    I am passing as
    r1.setFieldValue(fields[9].getId(),new LookupValue(new RecordId(2)));
    It is inserting into the people database. But not an Australia. It is inserting as "Argentina".
    When the record inserting in people table refering some table at the database level , that table called "A2i_16_TEXT" This contains three columns.
    A2i_16_TEXT(columns)
    1) Id
    2) LangId
    2) Field Id
    4) TextField
    Example Data
    Id  |  LangId  |  Textfield
    3       0            Australia
    2       0            Argentina
    4       0            United States Of America
    As i am showing the above table for "Argentina" Id is "2". When i pass the 2 for inserting the country filed.Instead of inserting "Australia". It is inserting the "Argentina" by refering this table.
    Through MDM API we are not able to access this " A2i_16_TEXT"  table. Because it is maintaining at the db level to find the perticular id for the respective country before inserting in to the people table.
    So kindly suggest me how to solve this problem. What i am doing in the code is correct or not.
    Regards
    Vijay

  • Sales Order form error  "Not able to retrieve Display values for Service"

    Hi,
    Few of our orders flash the below error message when the order is queried
    "Not able to retrieve Display values for Service"
    Below are the points I observed
    1.The orders I am referring to are imported order via EDI interface.
    2.The service reference type code has value of ORDER, however no other service related fields (like service reference line id) have any values.
    3. The item is not a service item (service tab in Item setup is disabled)
    4. Same item when imported with value of "Customer Ordered" in "service reference type code" field, does not throw an error.
    5. If I update "service reference type code" with value null or change it to CUSTOMER_PRODUCT, the error disappears.
    Can someone explain the significance of this column value and what could have been causing this error message?
    May be there are some dependent fields/setups which must have a value when service reference type code =ORDER.
    Thanks in advance,
    JC
    Edited by: user10174990 on Oct 25, 2012 10:58 AM

    Hi,
    Maintain the dafault values using Tcode OISF with respective to Planning Plant you have to maintain the following values like Order Type, Main Work Center, Maint. Plant,Group,Group Counter,Business Area & Task List type.
    or
    Apply these OSS note 150732 / 195993.
    regards,
    Venkatesan Anandan

  • How to get-set Hidden field value from JSP ?

    Hii,
    I am quite newbie about jsp and looking for some help..
    I have several url links on my jsp page.
    I when I click one of them, I want to reload my page with new request parameter(s) but also keep the older one(s) in hidden field(s)...
    but I dont know how to set and get hidden field value "syntax" and I am not sure about where/when should I do this... at first I though that I can do it in "onClick" property of url..
    Thanks..

    Hy,
    I have a problem just like that. I am trying to send the value of an subdomain is to another page to be able to modify an entry.
    So in listsubdomains.jsp I have
    <input type = "hidden" name = "subdomainid" value="<%=subdomains.SubdomainID%>"><%=subdomains[i].SubdomainID%>.
    This shouls send the id of the subdomain.
    I an sending this to modifysubdomain.jsp with <form name = "listsubdomains" method = "post" action = "modifysubdomain.jsp">
    and there I retrieve the value like this:
    Integer id = new Integer (request.getParameter("subdomainid"));
              out.println(request.getParameter("subdomainid"));
    My problem is that no matter what is the value I chose to modify it always sends the first value. If I another value manually it works, but just then.
    Please give me some ideas.

  • Hidden field value init. by a var in Netscape && MSIE ...

              Hi there,
              I have a hidden field specified this way :
              <input type = "hidden" name = <%=myName%> value = "<%=myValue%>">
              Suppose that myValue is 'Ionut RUSUBOCA'
              If I run this with Netscape 4.75 it works just fine.
              If I run this with Microsoft IE 5.50.4522.1800 I get an error that points to the
              way the hidden field value is specified.
              If I change ...... value = "<%=myValue%>" ..... to .... value = <%=myValue%>
              ... ( that is, if I remove the double quotes ) then MSIE is Ok but ... instead
              of 'Ionut RUSUBOCA' I only get 'Ionut'.
              Could you, please, help me make MSIE see the correct value that is 'Ionut RUSUBOCA'
              ? ( like Netscape )
              Which browser are not W3C compliant in this matter ?
              Thank you,
              rivisa
              

              Thanks for the reply.
              Well, I quoted everything and still does not work with MSIE.
              Indeed, when I quote value="<%=myValue%>", I get in MSIE value = "Ionut RUSUBOCA"
              but it does not make any difference : it breaks.
              If I take out the quotes ( value = <%=myValue%> ) then the source is viewed as
              value = Ionut RUSUBOCA and when the form
              gets submitted I only get 'Ionut' as value.
              This is weird, so to speak.
              Can you reproduce this thing in your system ?
              Thanks,
              rivisa
              "Cameron Purdy" <[email protected]> wrote:
              >> <input type = "hidden" name = <%=myName%> value = "<%=myValue%>">
              >
              >All attributes should be quoted.
              >
              ><input type="hidden" name="<%=myName%>" value="<%=myValue%>">
              >
              >Look at the result by choosing "View Source" from the MSIE context menu.
              >
              >Peace,
              >
              >--
              >Cameron Purdy
              >Tangosol, Inc.
              >http://www.tangosol.com
              >+1.617.623.5782
              >WebLogic Consulting Available
              >
              >
              >"_rivisa_" <[email protected]> wrote in message
              >news:[email protected]...
              >>
              >>
              >> Hi there,
              >>
              >> I have a hidden field specified this way :
              >>
              >> <input type = "hidden" name = <%=myName%> value = "<%=myValue%>">
              >>
              >> Suppose that myValue is 'Ionut RUSUBOCA'
              >>
              >> If I run this with Netscape 4.75 it works just fine.
              >>
              >> If I run this with Microsoft IE 5.50.4522.1800 I get an error that
              >points
              >to the
              >> way the hidden field value is specified.
              >>
              >> If I change ...... value = "<%=myValue%>" ..... to .... value =
              ><%=myValue%>
              >> ... ( that is, if I remove the double quotes ) then MSIE is Ok but
              >...
              >instead
              >> of 'Ionut RUSUBOCA' I only get 'Ionut'.
              >>
              >> Could you, please, help me make MSIE see the correct value that is
              >'Ionut
              >RUSUBOCA'
              >> ? ( like Netscape )
              >>
              >> Which browser are not W3C compliant in this matter ?
              >>
              >> Thank you,
              >> rivisa
              >>
              >>
              >
              >
              

  • Not able to get the profile option value

    Hi,
    Not able to get the profile option value after i changed the new value in the application.
    I am using fnd_global.apps_initialize to initialize the apps from PLSQL code to get the updated profile option value. But fnd_profile.value is not getting fetched the updated value. Still it is fetching the old one. I mean it is stored in database cache. Please any one let me know how to get the new value every time after i changed the value.
    Thanks

    What is the application release?
    Is this a custom or seeded profile option?
    Can you confirm that the value got changed from the application (query the profile option and verify the value)?
    Can you reproduce the issue if you use an API to update this profile option as per (How to Change Profile Option Value Without Forms? [ID 943710.1])?
    Thanks,
    Hussein

  • Not able to select more than two values

    Based on picklist.fmb, I created a list item in a form.
    I am able select many values using SHIFT but I am not able to pick more than two values using CTRL key.
    Anything I did mistake or picklist won't support picking more than two values using CTRL?
    Also I am not able to get the scroll bar attaching to this list item.
    Please advise.
    Thank you,
    Prasad

    hi,
    You have to set the LINES property of the table control In the PBO of your screen, to the number of entries in the internal table.
    data: lv_line type i.
    DESCRIBE TABLE  gt_table LINES lv_line.
    table_control-lines = lv_line + 1.
    or else
    You can do two thing in table control properties check horizontal and vertical scroll options plus in PBO you can based on number of lines in internal table assign it to TC_ABC-LINES if no lines are there then add by default 20..10.. any number of lines as you want.

  • I have lost my contact from iphone 5 and not able to retrieve the data, however  it reflects old contacts are reflected with Whats app messages

    i have lost my contact from iphone 5 and not able to retrieve the data, however  it reflects old contacts are reflected with Whats app messages

    WWhat are you syncing your contacts with? A supported application on the computer or cloud service? They should still be there.

  • Hi i am not able to retrieve web/internet history please help. my Internet service provider advise me to contact you.

    for some reason i am not able to retrieve or view my web/internet history please help

    Is the history enabled?
    To see all History and Cookie settings, choose:
    *Tools > Options > Privacy > Firefox will: "Use custom settings for history"
    *https://support.mozilla.org/kb/Options+window+-+Privacy+panel
    Do you see any history in the History Manager (Library; Show All history)?
    *Tap the Alt key or press F10 to show the Menu Bar
    There is also a History button in the "3-bar" Firefox menu button drop-down list.

  • I'm not able to run a simple Hello Program in java

    I have just now installed jdk 1.3.1_2.
    I have set the path and class path.
    I'm able to compile the class without any errors but am not able to run the program.
    when i say java Hello(after compiling Hello.java), i'm seeing the following error:
    Exception in thread "main" java.lang.NoclassDefFoundError:Hello
    Thanks in advance in this regard

    Hmm..
    Okay.. set aside any import or package stuffs.. lets say about a simple HelloWorld program which is called Hello.class. It resides in c:\, which means the full path is c:\Hello.class.
    Make sure you got one of your path as c:\jdk1.3\bin(assuming you are using jdk 1.3).
    If you are in the same directory as Hello.class, which is c:\>, you can execute the class file by typing:
    C:\>java Hello
    If you are not in the same directory and you wishes to run the class file, example you are in directory temp now:
    C:\Temp>java -cp C:\ Hello
    So the cp set will be just c:\. Hope that answers your question somehow.. well... if I never intepret it wrongly.

  • HT1338 I wonder if somebody can help me. I am not able to use my internet bank anymore, since Java launched their latest update (7.51). Appearently this one is not compatible with my hardware. I am using Mac OSX version 10.6.8, and Java version 17.0. Than

    I wonder if somebody can help me. I am not able to use my internet bank anymore, since Java launched their latest update (7.51) a few days ago. Appearently this one is not compatible with my hardware. I am using Mac OSX version 10.6.8, and Java version 17.0, which seems to be the newest one for my op sys. Anybody know how I can solve this? In advance thank you!

    Apple support article to enable Java 6.
    Java 6 Enable

  • How to get/read region item value in java script

    Hi All,
    i have text item on a page.
    how to read the item value in java script
    EXAMPLE
    P10_RESULT IS ITEM IT HAS VALUE "38.956472,-77.447777","38.999123,-77.026184","12.951497,70.668646","17.459075,78.456888"
    NOW I WANT TO REFER ABOVE ITEM VALUE IN JAVA SCRIPT LIKE
    var myPoints=new Array(&P10_RESULT.);
    SO I CAN POPULATE ARRAY WITH CORDINATES
    IT IS NOT WORKING
    WHAT IS THAT I AM MISSING.
    PLESE HELP .
    ThankS
    Rk

    region header code....
    <script src="http://maps.google.com/maps?file=api&v=2&key=&API_KEY." type="text/javascript"></script>
    <script type="text/javascript">
    //<![CDATA[
    //globals
    var bounds = new GLatLngBounds();
    var map;
    var centerPoint = new GLatLng(38.984898,-76.854549);
    var gmarkers = [];
    //var x= ""38.956472,-77.447777","38.999123,-//77.026184","12.951497,70.668646","17.459075,78.456888"";
    //var myPoints=new Array(x);
    //var myPoints=new Array($x('P10_RESULT').value);
    var myPoints=new Array(document.getElementById('P10_RESULT').value);
    //var myPoints=new Array("38.956472,-77.447777","38.999123,-77.026184","12.951497,70.668646","17.459075,78.456888");
    function initMap()
              doLoad();
                        addMarkers();
    function doLoad()
         if (GBrowserIsCompatible())
                   map = new GMap2(document.getElementById("map"));
                   map.setCenter(centerPoint, 7);
                   map.addControl(new GScaleControl());
                   map.addControl(new GLargeMapControl());
                   map.addControl(new GMapTypeControl());
    function myclick(i) {
    GEvent.trigger(gmarkers, "click");
    function addMarkers() {
         if (myPoints.length) {
              var bounds = new GLatLngBounds();
              for (n=0 ; n < myPoints.length ; n++ ) {
                   var mData = myPoints[n].split(',');
                   var point = new GLatLng(mData[0],mData[1]);
                   bounds.extend(point);
                   var marker = createMarker(mData[1],point, mData[0]);
         map.addOverlay(marker);
              map.setCenter(bounds.getCenter(), map.getBoundsZoomLevel(bounds));
    function createMarker(i,point, title) {
         var marker = new GMarker(point,{title:title});
         GEvent.addListener(marker, "click", function() {
              marker.openInfoWindowHtml('<div style="width:250px;">' + title + '<hr>Lat: ' + point.y + '<br>Lon: ' + point.x + '</div>');
         gmarkers[i] = marker;
         return marker;
    //]]>
    </script>
    page body code
    onload="initMap()" onunload="GUnload()"

  • Can't set a hidden field value from onClick event with a runtime expression

    Hi,
    I need to set a hidden field in an onClick event of button but it's not working.
    <html:submit styleClass="btnLink" onclick="document.empForm.hidden.value='<%= empID%>'">
    <%= empID%>
    </html:submit>
    Althought the second expression is evaluated and written successfully "the button value"
    I heard that this is because you can't mix the value of an attribute of a custom tag with both string literal and run time expressions.
    Is there any work around to solve that?
    I can't use EL as I'm using old JSP version

    I guess, it should work; instead of html:submit, try with button.

  • Hidden Field Value

    I want to import a value from a visible field to a hidden
    field. The data will be sent to a mySQL DB via php. I've tried
    changing the php script to obtain the results I want
    unsuccessfully. A hidden field should also do the trick but I'm not
    sure how to accomplish the task. A google search turned up some
    javascript which I've been working with today, but still haven't
    gotten to work correctly.
    Basically, the form has a text field called duration. I want
    the user inputed value of the duration field to be copied to a
    hidden field called xc. Thanks for any input or ideas?

    BTW, using the following onSubmit and script works correctly
    as the database receives the information, but a pop-up is triggered
    when the Submit button is pressed. Any ideas why this is?
    If I can rid the pop-up, the js will work great.
    function CopyValue(obj1, obj2)
    var visibleField = obj1;
    obj2.value = visibleField.value;
    alert(obj2.value);
    onSubmit=CopyValue(duration, xc)

Maybe you are looking for

  • New BADI concept in ECC 6.0

    I am trying to gain an understanding of how I would implement one of the new BADIs in ECC 6.0 (badis implmented through and enhancement spot , get badi, call badi concept). I am  not looking for information on how to implement a classic badi through

  • Cannot install Windows 8.1 64BIT.

    Hey guys so i use bootcamp to install and partion the hard and then get onto the windows 8.1 installer. Everything goes well till i get to the hard drive point were i format the BOOTCAMP hard drive. it still has the error at the bottom saying " Windo

  • Is a L3 switch able to receive a WAN link? if the WAN circuit presentation is ethernet?

    Hi experts, The question is if a L3 switch is able to receive a WAN link which is Ethernet, at the same way than a router?

  • Std. purchase org.

    How to create Standred purch. Org. (all path) ??      and  What is the use of Standred purchase org.  ????  Regards Sanjay

  • BW not picking Delta

    Hi, I've created one generic extractor in CRM. The delta field used is Timestamp and have given Upper Safety Interval as 1800 seconds and Lower as blank. When I test delta in RSA3, it brings records. But when I extract in BW it brings 0 records. Any