Finding dynamic properties

Hi all,
I have a relatively simple question but couldn't seem to find
an answer online. I'd like to know how you can determine what
dynamic properties are contained in an object. For example, if I
had an Object and did something like obj["foo"] = "bar" and
obj["bar"] = "foo", what would I need to do to know this object
contains the properties "foo" and "bar"? I know the for ... each
loop constructs do this but I don't know how to do this myself.
Thanks in advance.

If you take this code and run it through the debugger you can
see that it will return the properties of the obj Object and
dynamically create and assign the values to the new Object newObj.
Hope this helps.
var obj : Object = new Object();
obj.itemOne = "Boston Celtics";
obj.itemTwo = "Boston Redsox";
obj.status = "Champions";
var newObj : Object = new Object();
var objInfo1 : Object =
ObjectUtil.getClassInfo(obj).properties;
for each( var obj1:Object in
ObjectUtil.getClassInfo(obj).properties ) {
var item : Object = obj[obj1] ;
newObj[obj1] = item;
}

Similar Messages

  • Error editing task sequence: Failed to load dynamic properties for class "SMS_TaskSequence_ApplyWindowsSettingsAction" From XML into WMI

    I've started getting an intermittent error editing my Windows 7 OSD task sequence.  Sometimes I can open the TS to edit, but when I try to apply changes I get the error.  Other times I get the error when trying to open the TS.  If I try again
    right away, I still get the error, but if I wait a few minutes and try again sometimes it will open the TS. 
    The error reads:
    ConfigMgr Error Object:instance of SMS_Extended Status{Description = "Failed to load dynamic properties for class \"SMS_TaskSequence_ApplyWindowsSettingsAction\" from XML into WMI";Error Code = 2147943746;File = "e:\\qfe\\nts\\sms\\siteserver\\sdk_provider\\smsprov\\ssptspackage.cpp";Line = 3454;Operation = "ExecMethod";ParameterInfo = "SMS_TaskSequencePackage";ProviderName = "WinMgmt";StatusCode = 2147749889;}
    Coinciding with this error, I show the following entries in the TaskSequenceProvider.log file: 
    [PID: 7608] Invoking method SMS_TaskSequence.LoadFromXml
    TaskSequenceProvider
    Failed to protect memory buffer, hr=0x80070542
    TaskSequenceProvider
    Failed to load dynamic properties for class "SMS_TaskSequence_ApplyWindowsSettingsAction" from XML into WMI 0x80070542 (2147943746)
    TaskSequenceProvider
    Failed to load node Apply Windows Settings from XML into WMI 0x80070542 (2147943746)
    TaskSequenceProvider
    Failed to load children steps for node "PostInstall" from XML 0x80070542 (2147943746)
    TaskSequenceProvider
    Failed to load children steps for node "Execute Task Sequence" from XML 0x80070542 (2147943746)
    TaskSequenceProvider
    Failed to load children steps for node "" from XML 0x80070542 (2147943746)
    TaskSequenceProvider
    Failed to load XML for the task sequence into WMI 0x80070542 (2147943746)
    TaskSequenceProvider
    [PID: 7608] Done with method SMS_TaskSequence.LoadFromXml
    TaskSequenceProvider
    Setting status complete:  status code = 0x80070542; Failed to load dynamic properties for class "SMS_TaskSequence_ApplyWindowsSettingsAction" from XML into WMI
    TaskSequenceProvider
    I exported the task sequence and checked in "object.xml" for the "ApplyWindowsSettingsAction", to see if there was something odd in the xml, but I don't find anything that jumps out as being wrong.  Here's the section of XML for
    that step.  I've removed identifying info, and replaced it with a generic term in bold.
    <step type="SMS_TaskSequence_ApplyWindowsSettingsAction" name="Apply Windows Settings" description="" runIn="WinPE" successCodeList="0" runFromNet="false"><action>osdwinsettings.exe /config</action><defaultVarList><variable name="OSDLocalAdminPassword" property="AdminPassword"></variable><variable name="OSDComputerName" property="ComputerName">%_SMSTSMachineName%</variable><variable name="OSDProductKey" property="ProductKey"></variable><variable name="OSDRandomAdminPassword" property="RandomAdminPassword">false</variable><variable name="OSDRegisteredOrgName" property="RegisteredOrgName">COMPANY NAME</variable><variable name="OSDRegisteredUserName" property="RegisteredUserName">COMPANY NAME</variable><variable name="OSDServerLicenseConnectionLimit" property="ServerLicenseConnectionLimit">5</variable><variable name="OSDTimeZone" property="TimeZone">Central Standard Time</variable></defaultVarList></step><step type="SMS_TaskSequence_ApplyNetworkSettingsAction" name="Apply Network Settings" description="" runIn="WinPEandFullOS" successCodeList="0" runFromNet="false"><action>osdnetsettings.exe configure</action><defaultVarList><variable name="OSDDomainName" property="DomainName">DOMAIN.COM</variable><variable name="OSDJoinPassword" property="DomainPassword"></variable><variable name="OSDJoinAccount" property="DomainUsername">DOMAIN ACCOUNT</variable><variable name="OSDEnableTCPIPFiltering" property="EnableTCPIPFiltering" hidden="true">false</variable><variable name="OSDNetworkJoinType" property="NetworkJoinType">0</variable><variable name="OSDAdapterCount" property="NumAdapters" hidden="true">0</variable></defaultVarList></step>
    Is there any other log I should check for a clue on this issue?  What could be causing this error?

    Thanks for sharing that!  I tend to save contacting MS support until after I've exhausted other options.  I'm always afraid that I'll spend the $500 to open a case and then it turns out to be something simple that I would have found if I had just
    kept working on it myself a little longer.
    It looks like that link is for an update released in February as KB3023562.  I downloaded and installed it. I'll try opening/editing/saving the task sequence a few times today to see if the issue is resolved.  
    After I had already installed it, I thought to look up that update in configmgr.  The update is listed as superseded by 2 other updates.  The newest of those is KB3046049, which just installed last night with the other March patches, so it's possible
    that I didn't need to install KB3023562 after all.  

  • Dynamic properties in a process

    Hi everyone,
    I am trying to find a solution to create some dynamic properties in my process.
    JPD are good but too many things are hard-coded and changing them needs the project
    to be recompiled :(
    My aim is to remove most of the hardcoded values and let the administrator set
    them later at the deployment time.
    Do you have any idea if it is possible to add custom dynamic properties that could
    be edited in the same way as the service broker control ?
    Moreover some of the process settings are in the javadoc (such as the delay for
    a timer path, the amount of retry for an exception etc..)
    Is there any solution to set them at the runtime ?
    Thanks for any help/idea you could provide,
    Mael

    You can get the task infromation by calling the task control method TeskInfo getTaskInfo()
    "raja v" <[email protected]> wrote:
    >
    Iam using WebLogic8.1 Integration BPM feature. I've designed a Worklist
    based application.
    In the business process, i've to call a java class method from the business
    process
    which takes the process instance and task related properties (viz. the
    task id,
    task name, the current actor etc.). How could i supply these values from
    within
    a business process.
    Regards
    Raja V.

  • Export/Report on dynamic properties in SQL Data Modeler

    I'm thinking of using dynamic properties to hold meta-data in SQl Data Modeler, but I can't find a way of exporting or reporting on this info once I have created it.
    Am I missing something?
    Regards,
    John

    John,
    you can download DM 4.0.1 - dynamic properties can be included in custom report templates and into generated reports.
    Philip

  • Using dynamic properties in an Instance property

    Is there a way to take the output of a dynamic properties variable (from PROP_LIST) and use that variable in an InstanceProperty tag so that the InstanceProperty is pre-filled out on the display? The idea would be to have a dynamic properties variable be set to "sometext" and then have an InstanceProperty tag be pre-filled out in the UI with "sometext". That way users adding a target get a suggested default value for the InstanceProperty but can still modify it if needed.

    If I understood your requirement correctly, you want some default value to be displayed for a Instance Property, on the Add Target page. If my understanding of your requirement is right, please read on...
    This is very much possible. All you have to do is...
    <InstanceProperty NAME="snmpOSPort" OPTIONAL="TRUE">
    <Display>
    <Label NLSID="tgt_type_port">SNMP Port (Default :161)</Label>
    </Display>161
    </InstanceProperty>
    The "161" besides the "</Display> is the default value which you have defined in your metadata XML file. This value would be picked up automatically on the Add Target page.

  • Where do I find dynamic linkmanager on my mac?

    where do I find dynamic linkmanager on my mac?

    Assuming you get that notorious warning during an attempted install:
    Working with your Operating System’s Tools
    For anything else you will have to provide more info. Blanket questions about obscure files/ processes out of context are pretty meaningless.
    Mylenium

  • How can i set dynamic properties in HTTP Binding adapter  at run time

    Hi,
    I am trying to put dynamic properties in HTTP Binding adapter at run time. I am able to Set endpointURI, UserName and Password dynamically using below code.
    Is it possible to set Version , Retry Count, timeout, authentication type at run time.
    below is code for setting endpointURI, UserName and Password dynamically.
    <invoke name="HttpInvoke" bpelx:invokeAsDetail="no"
    partnerLink="SACS_Http_Adapter"
    portType="ns1:Request_Response_ptt" operation="Request-Response"
    inputVariable="HttpInvoke_Request-Response_InputVariable"
    outputVariable="HttpInvoke_Request-Response_OutputVariable">
    <bpelx:toProperties>
    <bpelx:toProperty name="endpointURI" variable="inputVariable"
    part="payload" query="@endpoint"/>
    <bpelx:toProperty name="javax.xml.ws.security.auth.username"
    variable="inputVariable" part="payload"
    query="@username"/>
    <bpelx:toProperty name="javax.xml.ws.security.auth.password"
    variable="inputVariable" part="payload"
    query="@password"/>
    </bpelx:toProperties>
    </invoke>
    Thanks,
    Siva
    Edited by: 929920 on Apr 25, 2012 7:45 AM

    Hi Bastain,
    Assuming your using the Batch Process Model, you can programatically insert a new SN into the correct parameter in the postUUT callback sequence.
    This sequence has access to the UUT.SerialNumber parameter so you can use a File Global to pass the SN from the main sequence to the postUUT callback. 
    Here is an example of what I mean. 
    Adam
    Attachments:
    set SN within Main Sequence.seq ‏80 KB

  • Dynamic properties working in "normal KM" but not in XML forms

    Hi all,
    (EP 6.0 SP13)
    I've implemented a Metadata Extension that returns a list of properties. The list is dynamically generated based on the folder the document is located in. I've tested the Metada Extension on both existing documents and new documents and it works fine in "normal" KM scenarios ( Word documents, file uploads, etc.).
    The problem arises when I want to use these Dynamic properties in XML forms. I've added my property to a combox  in the XML Forms project. When accessing the Metadata Extension from XML forms the resource path is always null. Since all my business logic is based on knowing where in the KM structure the document is, I have a small problem...
    If I go to Details->Properties on the xml forms document and accesses my property there, the path is correct..
    To get the resource path I use these two methods:
    folder = metaContext.getResourcePath();
    (for newly created documents)
    folder = metaContext.getResource().getParentCollection().getRID().getPath();
    (for existing documents)
    these are null when calling my Metadata Extension from a XML Form.
    Any ideas?
    Vegard

    Hi Vegard,
    Could you post the code that loads/create the property objects dynamically?
    Maybe you can post it at this forum Dynamic properties working in "normal KM" but not in XML forms
    so I can award you some points.
    Thanks in advanced,
    André

  • Where will we find dynamic option in web forms

    Hi, Gurus
    1.where will we find dynamic option in web forms?
    regards
    Taruni

    If you're talking about the dynamic POV in web forms introduced in 11.1.2.2.302, documentation only exists in the patch readme at this time. I've pasted it below.
    Support for Dynamic POV Member Lists in Web Data Forms
    This release provides support for dynamic POV member lists in Web Data Forms. You can create dynamic POV member lists to display dimension members that meet specific criteria. Dynamic POV member lists are created dynamically at runtime, based on the current POV member of one or more dimensions.
    Using dynamic POV member lists in data forms enables you to quickly populate rows and columns with valid members, depending on what has been selected in the POV. For example, you can create a dynamic POV member list that defines valid entities per year. When you select a year in the data form, the system displays only the valid entities that were defined in the member list for that year.
    Example:
    YearPOV = HS.MemberListYear
    If HS.MemberListID = 12 Then
    If YearPOV = 2011Then
    HS.AddEntityToList "Group", "CORP_OPS"
    ElseIf YearPOV = 2012 Then
    HS.AddEntityToList "Group", "CORP_OPS"
    HS.AddEntityToList "Group", "CHINA"
    HS.AddEntityToList "Group", "GERMANY"
    HS.AddEntityToList "Group", "UK"
    End if
    The basis on which the dynamic POV member lists can be created are Scenario, Year, Period, Entity, but member lists can now be created for any dimension. For example, you can create Year lists based on Entity, Custom lists based on Scenario and Entity, Account lists based on Period, and so on. The dimension on which to base the list (Scenario, Year, Period, Entity) must be in the form POV to be effective. If the dimension is not in the form POV, then the HS.MemberList<object> rule returns an empty string.
    Administrators define dynamic POV member lists in application member list files. Dynamic POV member lists are identified with the (@POV) suffix, for example, <ValidForEntity>(@POV). Each member list file must include an EnumMemberLists subroutine to specify which dimensions have dynamic POV member lists, the number of lists for each dimension, and the name of each member list. The member list file must also include an EnumMembersInList subroutine to define the members in the list.
    Administrators can then add dynamic POV member lists to a form when they define the data form, in the same way that they add other member lists.
    In an application that has dynamic POV member lists defined, users can then use the Form Designer to select member lists for the rows and columns of the form. From the Member Selection dialog box, the valid dynamic POV member lists for the current dimension are displayed with an @POV suffix at the bottom of the dialog box, and users can select them in the same way as other members.

  • Why ican't I find jndi.properties for TopicConnectionFactory lookup?

    I have a problem with IPlanetMessageQueue3.0 . Why i can't find jndi.properties for TopicConnectionFactory lookup ? Like this Context ctx = new
    InitialContext();TopicConnectionFactory tcf = (TopicConnectionFactory)ctx.lookup("TopicConnectionFactory"); What is value of
    Context.INITIAL_CONTEXT_FACTORY and Context.PROVIDER_URL ( I home jmqbroker://localhost:7676 ) for default configuration ?

    Have you used the object manager to create the ConnectionFactory object(s) in the JNDI store? If not, you need to use the tool to create the
    object(s) and store them in the JNDI server before you may use them.
    There is a simple help for this in the IPlanetMessageQueue3.0 installation bin directory. In the MQ installation bin directory, type the following
    command:
    imqobjmgr -H
    you will get examples on how to create JNDI objects and the values that you need to set up JNDI Context.

  • How do I find the properties of mail attachments?

    Lately I've had several occasions when it would be useful for me to know the creation date of an email attachment that I received, but once I open the attachment, properties shows that it was created on the day I opened it. I tried option click, control click, command click, but all those do is either nothing, or they open the attachment. Is there some way to find when the "author" or "creator" of the attachment, in most cases a word docx file, actually created it?

    As with all panels you can find it under "Window" in the drop down menus...

  • Where do I find Dynamic stamp files on a networked mac?

    Hi there,
    I am trying to create a dynamic stamp with a form field in Acrobat XI pro. I have been told that once you have loaded in the stamp image to create the stamp you then must open this stamp file in order to add the form fields. From the reading I have done I believe you should find the stamp files by right clicking on the application in finder, going to show package contents and then following the path Contents > Plug-ins > Comments.acroplugin > Stamps > ENU
    However when I try to follow this path I get as far as Plug-ins and then hit an empty folder? The only examples on the web for this method have been with Acrobat 9 and I am using a networked mac so I don't know whether either of these factors has any bearing on my problem?
    If anyone can point me in the direction of where to find my stamp files I would be very grateful. (The stamp I created appears in the stamps in Acrobat so I know it must be saved somewhere!)
    I am using Acrobat XI pro (Adobe CC) on a networked mac version 10.9.3.
    Thank you in advance!

    There are two possible locations. The one you're mentioned is for the built-in stamps, and the other is for user-created stamps. Here are the two locations on my system for Acrobat 11:
    /Macintosh HD/Users/georgejohnson/Library/Application Support/Adobe/Acrobat/11.0/Stamps/
    /Macintosh HD/Applications/Adobe Acrobat XI Pro/Adobe Acrobat Pro.app/Contents/Built-in/Comments.acroplugin/Stamps/
    These locations are given by running the following JavaScript in the interactive JavaScript console (cmd+J):
    app.getPath("user", "stamps");
    app.getPath("app", "stamps");

  • Finding image properties?

    I'm looking for a way in applescript to get the properties of an image in a rectangle specifically its color space. I want to be able to place info about the image in a text box.
    I can get the the images
    set theimages to all graphics of page 1
    but I can't get find the code that digs deeper into the individual images/graphic
    Can anybody help?

    There are numerous ways to skin this cat using AppleScript… Here is an example that should show you what File/Image Data is available to MDLS & SIPS… You can use AppleScript's Image Events but it's pretty much SIPS in AppleScript classes… Both of these utilities will allow you to pull particular keys if you want or you can get the whole blob and parse in AppleScript… I guess you can sort the rest…
    tell application "Adobe InDesign CS5"
              tell the active document
                        set myGraphics to all graphics
                        repeat with thisGraphic in myGraphics
                                  set imgType to image type name of thisGraphic
                                  if imgType = "JPEG" then
                                            set myFile to file path of item link of thisGraphic
      -- Convert HFS path to POSIX for the shell
                                            set myFile to quoted form of POSIX path of myFile
      -- Use Spotlight metadata
                                            set mdlsData to my mdlsImage(myFile)
      display dialog (mdlsData) giving up after 3
      -- Use Scriptable Image Processing System
                                            set sipsData to my sipsImage(myFile)
      display dialog (sipsData) giving up after 3
                                  end if
                        end repeat
              end tell
    end tell
    on mdlsImage(path)
              return (do shell script "mdls " & path)
    end mdlsImage
    on sipsImage(path)
              return (do shell script "sips −-getProperty -g all " & path)
    end sipsImage

  • Cannot find edqp.properties file, can I just create it manually?

    I would like to establish a connection between my EDQ and EDQP instances, both 11g versions. I understand OEDQ server must be configured first so the EDQP processor will appear in the EDQ Tool Palette section. EDQ Online Help says that the 'edqp.properties' file must be created in the [install path]/config/edqp directory. However I cannot find [install path]/config/edqp directory. Instead in My Oracle Support it says that 'In EDQ 11g, the edqp.properties file belongs in the "..oedq_local_home/edqp" folder. When I checked "..oedq_local_home", there is no 'edqp' there. Can I just create the 'edqp' folder inside the "..oedq_local_home" directory?  Then can I also just manually create the 'edqp.properties' file afterwards? When I am done creating them all manually, do I need to bounce my EDQ server to reflect these changes? Thanks in advance for any reply!

    Yes, just create the folder and file in the local home.

  • Cant find jserv.properties

    ebs R12
    Hi I'm totally new to EBS. I need to increase the java heap size, and I found some help om the net, but I cant find the jserv.properties file. Please help
    [root@msebs01 /]# find -name jserv*
    ./u02/PROD/apps/apps_st/comn/webapps/oacore/html/oam/config/jservHgrid.uix
    ./u02/PROD/apps/apps_st/comn/webapps/oacore/html/oam/config/jservSumm.uix
    ./u02/PROD/apps/apps_st/comn/webapps/oacore/html/oam/config/jservEnv_support.uix
    ./u02/PROD/apps/apps_st/comn/webapps/oacore/html/oam/config/jservSumm_support.uix
    ./u02/PROD/apps/apps_st/comn/webapps/oacore/html/oam/config/jservEnv.uix
    ./u02/PROD/apps/apps_st/comn/java/classes/oracle/apps/fnd/oam/jserv
    ./u02/PROD/apps/apps_st/appl/fnd/12.0.0/xml/oam/config/jservHgrid.uix
    ./u02/PROD/apps/apps_st/appl/fnd/12.0.0/xml/oam/config/jservSumm.uix
    ./u02/PROD/apps/apps_st/appl/fnd/12.0.0/xml/oam/config/jservEnv_support.uix
    ./u02/PROD/apps/apps_st/appl/fnd/12.0.0/xml/oam/config/jservSumm_support.uix
    ./u02/PROD/apps/apps_st/appl/fnd/12.0.0/xml/oam/config/jservEnv.uix
    ./u02/PROD/apps/apps_st/appl/fnd/12.0.0/admin/template/jserv_restrict_nt_ias1022.properties
    ./u02/PROD/apps/apps_st/appl/fnd/12.0.0/admin/template/jserv_ux.properties
    ./u02/PROD/apps/apps_st/appl/fnd/12.0.0/admin/template/jserv_nt_ias1022.conf
    ./u02/PROD/apps/apps_st/appl/fnd/12.0.0/admin/template/jserv_ux_ias1022.properties
    ./u02/PROD/apps/apps_st/appl/fnd/12.0.0/admin/template/jserv_secret_key.txt
    ./u02/PROD/apps/apps_st/appl/fnd/12.0.0/admin/template/jserv_nt_ias1022.properties
    ./u02/PROD/apps/apps_st/appl/fnd/12.0.0/admin/template/jserv_ux_ias1022.conf
    ./u02/PROD/apps/apps_st/appl/fnd/12.0.0/admin/template/jserv_restrict_ux_ias1022.properties
    ./u02/PROD/apps/tech_st/10.1.2/ccr/sysman/admin/scripts/ias/jserv_assoc.pl

    Hi,
    Hi I'm totally new to EBS. I need to increase the java heap size, and I found some help om the net, but I cant find the jserv.properties file. Please helpPlease see these documents.
    Note: 362851.1 - Guidelines to setup the JVM in Apps Ebusiness Suite 11i and R12
    Note: 567551.1 - Configuring various JVM tuning parameters for Oracle E-Business suite 11i and R12
    Thanks,
    Hussein

Maybe you are looking for