Unable to set a top-level property object

Hey guys
I've made a little sequence to fetch data from a XML file. In that XML file, there is some informations (entries) (IP addresses, port numbers, etc) about 4 different types of devices(sections are the devices names). The first section of the XML tells me the NAMES of the devices I have to configure. The type of each device is located in the entries of each device. Each device has its own information and I can have more than one device of a type. In teststand, I've created custom data types (containers with empty fields) for each type of device I need.
I want to dynamically create the devices that the XML file tells me to configure as fileglobal variables and populate them with their own config informations (entries of the XML file). I'm creating new fileglobal of the type I want using PropertyObject step and I'm creating an alias of that fileglobal that I'm passing in parameter to a subsequence who's getting infos from XML. Here, everything is OK.
The problem occurs when I want to configure 2 or more objects of the same type. At the SetProperty step (where i'm creating the fileglobal variable) teststand gives me the error:
"Unable to set a top-level property object to another object. Error accessing item 'Parameters.DeviceToInitStruct'."
Is there any ways to avoid that problem and creating to variable of the same type ?
thanks

Hi
I finally got rid of that problem.
Instead of using a PropertyObject.Clone step, I used a statement who's just copy the "MasterObject" into a "CloneObject" and i'm working with that copy. So the sequence can now create devices of the same type without any conflict with the first device.
i'll post here a short example to show how i did... maybe it'll be useful for someone...
regards

Similar Messages

  • Display a custom message on click of a Top Level Navigation Object

    Hi Experts,
    when the user clicks on the top level navigation entry link(for any application), I would like a custom message to be displayed to the end-users which would be maintained in a text file in a KM folder.
    Currently, on click of the top level navigation link a  workset map is displayed. But now I would like to read the text file and display the message (if any) maintained in the text file.
    The message (if any) should be rendered before the workset map is displayed, or be rendered as an additional element on the same page as the workset map perhaps as an additional iView .
    It is essential that the message content should not be cached by the Portal (in other words, the deactivation of the system message should not require a cache flush to become visible to the user).
    The goal is to warn the users before they they access the applications of the workset map.
    Can someone please guide me on this???
    Regards,
    Anurag

    Hi,
    See some info regarding Portal Eventing:
    http://help.sap.com/saphelp_nwce72/helpdata/en/a5/8d1e72c20f4db2b9f577b47c1a47da/content.htm
    In the link above you can see that it's possible to raise an event and subscribe to it.
    Each time you navigate in the portal, the portal raises the UpdateTLN event so all you need it to subscribe to it in an iview that is located on the same page.
    Since the masthead iview is in the same window (above the TLN - see the following link) you can put your javascript function in it.
    http://help.sap.com/saphelp_nw04/helpdata/EN/b4/771158e4cb4bf6af9974380948db86/content.htm
    Regards,
    Omri

  • Breadcrumbs setting for top level ("home") is ignored in HTML Help

    Hi all,
    I think this is a bug..?
    When I change the top level entry ("home" by default) to something different in the SSL, then this is ignored in the HTML Help output. The top level is still named "Home", despite my change. If I apply breadcrumbs via the master page and change it there, then all is fine - but in this project we cannot use master pages.
    Also I found that custom colors do not display in the format options for breadcrumbs in the SSL. I can only select the text color from a fixed list of standard colors, my custom colors are not available.

    Hi Robert
    Hmmm, I just tested by creating a Master Page with no CSS assigned. I then associated it with all my topics and the CSS was left alone.
    Your call on whether you wish to pursue or not. But it's pretty straightforward to associate a single Master Page with all your topics. You just select them all in the Topic List pod, right-click and look at properties, then from the General tab you choose the desired Master Page.
    Cheers... Rick
    Helpful and Handy Links
    RoboHelp Wish Form/Bug Reporting Form
    Begin learning RoboHelp HTML 7, 8 or 9 within the day!
    Adobe Certified RoboHelp HTML Training
    SorcerStone Blog
    RoboHelp eBooks

  • SMLets Beta 3: Unable to set DateTime for DateTime property using SetSCSMObject

    Hello,
    I need to set dateTime for my custom fields for Incidents. I wanted to use Set-SCSMObject for that. But it doesn't work. For other field types it is working fine.
    May be I'm doing something wrong, but I don't see it. It would be great if anybody is able to help.
    This is the command I'm trying to run: (I used CreatedDate for my tests)
    Get-SCSMObject -Class (Get-SCSMClass System.WorkItem.Incident$) -Filter "ID -eq IR495" | Set-SCSMObje
    ct -Property CreatedDate -Value [datetime]"06/08/2011 14:08"
    Set-SCSMObject : String was not recognized as a valid DateTime.
    At line:1 char:104
    + Get-SCSMObject -Class (Get-SCSMClass System.WorkItem.Incident$) -Filter "ID -eq IR495" | Set-SCSMObject <<<<  -Proper
    ty CreatedDate -Value [datetime]"06/08/2011 14:08"
        + CategoryInfo          : ObjectNotFound: ([datetime]06/08/2011 14:08:String) [Set-SCSMObject], FormatException
        + FullyQualifiedErrorId : Could not assign date ,SMLets.SetSMObjectCommand
    Thank you
    Oliver

    Hello,
    You must temporary change locale in your script.
    In begin of script you must change locale in "En-Us":
    $OldCulture = [System.Threading.Thread]::CurrentThread.CurrentCulture
    $OldUICulture = [System.Threading.Thread]::CurrentThread.CurrentUICulture
    $culture = New-Object System.Globalization.CultureInfo("en-US")
    [System.Threading.Thread]::CurrentThread.CurrentCulture = $culture
    [System.Threading.Thread]::CurrentThread.CurrentUICulture = $culture
    And return locale after script body:
    [System.Threading.Thread]::CurrentThread.CurrentCulture = $OldCulture
    [System.Threading.Thread]::CurrentThread.CurrentUICulture = $OldUICulture
    This has solved my issue.  You have no idea how much this has made my day.
    I'm in Australia trying to update/create/close incidents to a canadian server.  Nothing else has worked so far, except this.  The rest of the support/forums on this issue have been crap to say the least.
    It would be nice if MS mainlined the SMLets into SCSM and start actually making their product useful

  • How to use property object with dequeue

    I tried to do following steps in Labview7.1 and Teststand3.1:
    - Create a named Queue in Teststand
    - Get the named Queue reference in Labview (GetQueue)
    - Enqueue an property of type NI_BatchControllerRequest into the Queue in Teststand
    - Dequeue the element in Labview by using a Fileglobal of type NI_BatchControllerRequest as destination property object
    At the first Enqueue, the object is correctly dequeued and stored in the Fileglobal. But at the next enqueue, I get the error -17300 (Exception occured in TSSync, Unable to set a top-level property object to another object) at the dequeue operation.
    When I use flat datatypes like string or bool, there are no errors, also at multiple enqueue operations.
    Can anyone help?

    LVFan -
    I did not realize that you are using the SyncManager low level API. The low-level API has a few restrictions that the step type does more work to hide from the user.
    If you look at the dequeue API function it takes an input parameter which is the destination object. Internally the dequeue operation uses the SetPropertyObject method to do the assignment. This method requires that the object that you assign a value to has a parent so that the engine can go to the parent, delete the child, and add the new child in its place. Even if the destination property object that you supplied had a parent, your reference to the "destination" would not be the new object because your reference is pointing to the old property a
    nd not the new one. You would be required to go to the parent and ask for the child again.
    A simple change to make this work for you is to use a reference object as the destination and then use GetValInterface on it to get the element from the queue. I have updated your VI to illustrate this.
    Scott Richardson (NI)
    Scott Richardson
    National Instruments
    Attachments:
    Queue.vi ‏93 KB

  • Setting and calling top level varialbes

    Is there away to call and set a top level variable from a
    child component that way i can access the variable no matter where
    i am from inside the application. For example i have a login
    component that gets the userid. I would then like to set that
    userid to a scope that can be accessed from any other component as
    i use the userid to validate other cfc calls and so on.

    Application.application should get you there.
    i.e. Application.application.myVariable

  • How to enable "top level navigation " in portal

    Hi all,
    I am unable to see the "top level Navigation" once I logged on to portal
    Previously I was able to see that
    I performed the following steps thats the reason why I am unable to see "top level navigation"
    1 Logged on to portal
    2 Content administration
    3 Expanded Poratl Content
    4 Expanded Content Provided by SAP
    5 Expanded End User Content
    6 Expanded Standard Poratl Users
    7 Selected "Default Frame work Page"
    8 In that selected Top Level navigation Iview and the iveiw properties I changed the property "Number of Display Levels " to "0" and choose save
    As I have set "Number of Display Levels" to "0" I am unable to see "top level Navigation" Now,I want to change it to 2 for that I need to see the Content Administration role in the "Top Level navigation" Can anyone help me out how to enable "Top level Navigation"
    Thanks in advance

    undo the changes what you have done.
    after you logon to the portal try the url below...this should take you to content admin directly from there modify the framework page and reset the property of TLN
    http://yourserver:port/irj/servlet/prt/portal/prtroot/com.sap.portal.pagebuilder.IviewModeProxy?iview_id=pcd%3Aportal_content%2Fadministrator%2Fsuper_admin%2Fsuper_admin_role%2Fcom.sap.portal.content_administration%2Fcom.sap.portal.content_admin_ws%2Fcom.sap.portal.portal_content&iview_mode=default
    Thanks
    GLM

  • How to set the isolation level on Entity EJBs

    I am using 10.1.3.3 of the OC4J app server.
    I am creating an application that uses EJB 2.1.
    I am trying to set the isolation levels on the EJBs to either serializable or repeatable read.
    When i deploy the EAR file from the OC4J admin console, i can set the isolation level property on the EJB's however when i inspect the orion-ejb-jar.xml file I do not see the isolation level being set. Furthermore, i tried to manually change the isolation setting by editing the orion-ejb-jar.xml and adding the isolation="serialiable" attribute on the entity bean descriptor. I then stopped and restarted the server. I noticed that my change was no longer in the file.
    Can someone please let me know how to solve this problem and set the isolation level on Entity EJBs . Thanks

    I find it at ejb.pdf from BEA.
              The transaction-isolation stanza can contain the elements shown here:
              <transaction-isolation>
              <isolation-level>Serializable</isolation-level>
              <method>
              <description>...</description>
              <ejb-name>...</ejb-name>
              <method-intf>...</method-intf>
              <method-name>...</method-name>
              <method-params>...</method-params>
              </method>
              </transaction-isolation>
              "Hyun Min" <[email protected]> wrote in message
              news:3c4e7a83$[email protected]..
              > Hi!
              >
              > I have a question.
              > How to set the transaction isolation level using CMT in descriptor?
              >
              > The Isolation level not supported in CMT?
              >
              > Thanks.
              > Hyun Min
              >
              >
              

  • Unable to get value of the property 'nodeName': object is null or undefined  Error in apex_ns_3_1.js

    I am getting the following error with IE9 and Firefox 26 with application express 3.2:
    SCRIPT5007: Unable to get value of the property 'nodeName': object is null or undefined
    apex_ns_3_1.js, line 589 character 10
    this.dialog.check2 = function (e){
    var tPar = html_GetTarget(e);
    var lEl = $x('apexir_col_values_drop');
    var l_Test = true;
    ******  while(tPar.nodeName != 'BODY'){
    tPar = tPar.parentNode;
    if(tPar == lEl){l_Test = false;}
    if(l_Test){$x_Remove('apexir_col_values_drop')}
    This happens when I click the Gear Icon, then Filter, then I click the dropdown arrow under expressions and pick an expression from the list.
    If I set (through IE Developer tools) back to IE8 mode, I don't get the error.

    Guess no one is using 3.2 any longer or no one else gets this error.....  Guess I can edit the JavaScript file to trap the error since it really doesn't seem to cause an issue.  Just didn't want to have to go that route.

  • Unable to set properties of Namespace-Objects

    hi,
    i've run into a problem with the Namespace-objects. I'm
    unable to set the uri- or the prefix-property - but acording to the
    api - they should be writable.
    var ns:Namespace = new Namespace("aa", "aa:ns/");
    ns.uri = "bb:ns/";
    ns.prefix("bb");
    both ways to set the properties fail ... the first genertates
    a compilererror informing me that the property is read-only. the
    second fails while executing with "Error #1006: value is not a
    function" (tried this because the first way doesn't work).
    so i guess either the information in the api are incorrect or
    somethings wrong with the Namespace-Object.
    since i need to set these properties i would be glad if
    anyone could tell me if there is a workaround.
    thanks
    daniel

    hi there,
    try this:
    Calendar calendar = Calendar.getInstance();
    System.out.println("current week of the year is: " + calendar.get(cal.WEEK_OF_YEAR));
    System.out.println(cal.getTime());
    calendar.set(cal.WEEK_OF_YEAR, 32);
    System.out.println("week of the year is now: " + calendar.get(cal.WEEK_OF_YEAR));
    System.out.println(cal.getTime());
    hope this helps,
    PSChan
    Sun Microsystems

  • How can i set the item properties at top level

    Dear all
    i want to set the responsiblityname and operating unit name at the top of the page
    is there any specific regions are there to set at the top level of the page(Image region)
    Regards
    Sreekanth

    FND Framework Compataibiity Mode is a Profile Option you can set the value as 11.5.10.
    And instead of creating product branding progrmatically create product branding and incontextbranding at design time.
    Also, for both of these items we have View Object and View Instance properties...
    For this you take two transient attributes in VO and then as you have grabbed the responsibility name and operating unit...
    then you can set these values on these Transient attributes and then they will be visible on Top region of page.
    Associate these transient Attributes on product branding and incontextbranding items.
    Thanks,
    Gaurav

  • Unable to set a new value in an extended property from within a For Each Loop

    Setting a new value in an extented property fails when the property is dereferenced within a For Each loop usin the item  iterator. However, if you use the First or Last Iterators from the Find Targets activity works fine.
    The error message is : "Setting a value for this object type is not allowed"
    I believe this is a defect, can you please confirm

    Looks like a bug that needs to be reported.
    While we are figuring out the issue you can work around the bug.
    Add another "Find Targets" inside the loop, and use the ID of the current item in the loop to find the target (again) by ID.
    And then use Set Variable on the target that was just found...
    I know... Not an ideal workaround, so please open a Severity 4 bug for this.

  • The toolbar in the adobe app that allows you to choose the brightness level and the page layout doesn't hide. Because of that, i of course am unable to read the top part of the page...[Android]

    The toolbar in the adobe app that allows you to choose the brightness level and the page layout doesn't hide. Because of that, i of course am unable to read the top part of the page. I cannot find anything in the settings that will make it go away. What do i do? I use Samsung Ace.

    What is the Acrobat DC version and the android version that you are running? You can find the Acrobat version here: How to find the Acrobat DC version installed on your Android device

  • How to find top level object on a given layer?

    I need to assign it to a var...
    var topLevelObj = app.activeDocument.layers.name("foo")... whatever is on top of that stack...
    ...this is probably not correct but you know what I mean

    Jump_Over wrote:
    Hi,
    top level object is the first in a collection:
    var fooLayerTopObj = app.activeDocument.layers.item("foo").pageItems[0]
    Jarek
    I'm not very good in ID-scripting, but I think this isn't good enough to find topmost item of a layer.
    Why?
    - create a new document
    create a polygon
    create a rectangle
    create an ellipse
    create a line
    Run this script snippet:
    var pI = app.activeDocument.layers.item(0).pageItems;
    for (i=0; i<=pI.length-1; i++) {
    pI[i].select();
    alert (i);
    pI[i].locked = true;
    Do you see, which element pageItems[0] is?

  • Unable to set configured property

    Hi,
    I am getting this following error during my server start up
    **** Error Unable to set configured property "/atg/
    dynamo/servlet/dafpipeline/AccessControlServlet.accessControllers" atg.nucleus.ConfigurationException
    Please help me out.
    Thanks in advance,
    Jk

    did u add ur own accessControlles ?
    It might not have been defined properly.
    follow the below link -
    http://docs.oracle.com/cd/E23507_01/Platform.20073/ATGPersProgGuide/html/s0508configuringtheaccesscontrolservl01.html

Maybe you are looking for

  • My brain hurts: Mega sharing multiple accounts and devices

    What’s the best way to organize all this? I would like to avoid repurchasing the exact same DRM’ed content in too many itunes accounts. I have a big family full of 6 people/laptops, 3 TV/PCs, multiple ipods, iphones, etc. per person; and a growing nu

  • Vendor master analysis report

    hi, what is vendor master analysis report? and how to create it?

  • Error while signing jar

    Hi, I am trying to sign the jar, but I am getting this exception- [exec] jarsigner: Certificate chain not found for: pvktmp:e40b0b30-dcc9-4aef-8450-15c2437a4959. pvktmp:e40b0b30-dcc9-4aef-8450-15c2437a4959 must reference a valid KeyStore key entry co

  • PXE boot issue with DHCP and SCCM server on different subnets

    I'm working with a client on the operating system deployment module of SCCM. Their network configuration currently has a single large subnet for client computers with a DHCP server on the same subnet. The SCCM subnet is configured on a seperate subne

  • How to re-pair a BT Dell mouse

    I have a Dell BT Travel Mouse, and once every few days, its connection to bluetooth is lost. Nothing short of restarting the machine helps in re-pairing the mouse. Bluetooth reports: Paired No Connected Yes I have tried trashing the .plist file(s), u