Dynamic properties of transfer

Is is possible to transfer the dynamic properties of relational logic for Fwd.eng. ?

I am also interested in their transfer between 2 models of the same type (e.g. relational)

Edited by: t. on May 31, 2011 12:40 AM

Is is possible to transfer the dynamic properties of relational logic for Fwd.eng. ?

lol here's an example of how to move to their - Re: to access the properties of entities dynamics, tables, etc. through scripts customized?

I am also interested in their transfer between 2 models of the same type (e.g. relational)

you need to match the related objects first. As you can see in the example copies the properties itself is not a problem.
You can get all the relational models using:
models = model.getDesign () .getRelationalDesigns () .toArray ();

Philippe

Tags: Database

Similar Questions

  • Scripts customized transformations: dynamic properties

    I'm doing a script for the Data Modeler that can add a dynamic property to a table. Someone at - it experience with dynamic properties in the scripts of transformations? I already looked in the metadata XML from SQL Developer files.

    Hello

    I guess that what you are looking for is

    tables = model.getTableSet () .toArray ();
    for (var t = 0; t)<>
    table = table [t];
    table.setProperty ("name", "value");
    table.setDirty (true);
    }

  • We can change the advance in the region of the table dynamically properties

    Hello

    I'm changing region of type advance table properties dynamically. I need to change the name of VO dynamically and execute the vo.executequery. Is this possible?


    Thank you

    Re: Instance of the View object

    Thank you
    -Anil

  • How can I create a list of dynamic properties?

    It was long and all my old stuff Authorware is safe somewhere. I want to dynamically build a list property statement in Authorware 7

    I thought it was something like property_list [1] [' # ' ^ variable_text]

    but this does not seem to work so I just wanted to check that I was using the correct syntax?

    Found some old code.

    I think you need to do

    property_text = ' # ' ^ variable_text

    You can do the following

    property_list [1] [property_text]

    That seemed to work.

  • How to set the IRQ/PIO/DMA transfer mode?

    Greetings,

    For my thesis I need to compare the real impact on data acquired using different transfer modes in CVI (IRQ, DMA, PIO).

    Documentation says I need to use the function DAQmxSetAIDataXferMech (TaskHandle taskHandle, const char [], int32 mode channel), but work as it is just not in my CVI (using CVI 2010, version 10.0.1 (419))

    How am I supposed to switch between modes?

    Thanks for the reply in advance!

    Yours,

    Adrian

    Hi Adrien,.

    You can find this property by using DAQmxSetChanAttribute.

    Please find attached the viewed two who will guide you to find the property.

    Frome the attributes list select entry Analog-> General Properties-> advanced-> transfer of data and memory-> data transfer mechanism

    If you have any questions, feel free to ask here.

    Be sure to mark the solutions.

    Kind regards

    Ion R.

  • To access the properties of entities dynamics, tables, etc. through scripts custom?

    Hi, Philip

    I am trying to use the piece of code you provide earlier for this topic 'it' collection means for properties comes empty. Any thoughts?

    Sincerely

    Alek

    Hi, Philip

    I realized what was wrong. Entity and Table have own independent series of dynamic properties. I don't know if this was the intended behavior, however. However, in this edition script works fine for me:

    ---------------------------

    DDL = "-generate the output file for"+ table.getLongName ();.

    ddlStatementsList.add (new java.lang.String (ddl));

    path = model.getDesign () .designPath;

    outFile = new java.io.FileWriter (path + "/ exit /" + table.getLongName () + ".txt");

    out = new java.io.PrintWriter (outFile);

    out. Print (DDL);

    out.println ();

    It = table.getPropertyNames ();

    {while (IT.hasNext ())}

    PName = it.next ();

    property = table.getProperty (pname);

    out. Print (pname + "=" + property);

    out.println ();

    }

    out. Close();

    ---------------------------

    Thank you and sorry for the confusion.

    Alek

  • Drop-down box and a dynamic presence

    I hope this makes sense.

    I have a drop down box with multiple values inside. Based on the user's selection, subforms and the different areas will be visible or hidden. To do this, I built a switch statement on the output of the dropdown event. The statement works fine until I have start to introduce dynamic properties to one of the subforms.

    Two of a repeating subform fields should be hidden or has visible again according to the choice in the drop-down list. However, once you have added multiple instances of the subform, it only mask/displays the FIRST field in the subform. I need to hide/display-ALL fields when the subform is repeated.

    To do this in the first selection, I created a statement through all instances and all these fields to be hidden or visible value as required. However, it does not work. Not at all. Even in the first instance as before.

    I hope I'm making sense. Here is the code that I use for my statement:

    var indNum = xfa.resolveNodes("RequestDetails.RepeatingSection[*].serialNum");
    for (var i=0; i < indNum.length; i++) {
        xfa.form.form1.Page1.RequestDetails.RepeatingSection(i).serialNum.presence = "visible";
        xfa.form.form1.Page1.RequestDetails.RepeatingSection(i).requestedNum.presence = "hidden";
    }
    

    Then, I realized most myself. Even if EVERY bit of documentation I see says reference fields like this:

    xfa.resolveNode("OuterSubform.InnerRepeatingSubform[i]");
    

    I found that he doesn't know what to do with the media, so I have:

    .InnerRepeatingSubform["+i+"]");
    

    So my final code ended up looking like this:

    var indNum = xfa.form.form1.Page1.RequestDetails.RepeatingSection.instanceManager.count;
    for (var i=0; i < indNum; i++) {
        xfa.resolveNode("RequestDetails.RepeatingSection["+i+"]").serialNum.presence = "hidden";
        xfa.resolveNode("RequestDetails.RepeatingSection["+i+"]").requestedNum.presence = "hidden";
    }
    

    I still have a problem, however. If I already added the subforms and then select the option drop-down list, it works great! However, if I select a menu item drop-down, THEN add lines, added lines have visible fields I would like to stay hidden. Is it possible that I can call the case statement when clicking on a button? Or I have to put in another switch or if the declaration on the buttons? I think it would be easier if I could just remember the swtich on the drop statement. Unfortuantely, I don't know how to do this.

  • Using dynamic forms?

    Hi all

    I'm not very familiar with LiveCycle so I may be using the wrong product (it came with my 'suite')...

    I am trying to create an online form which offers different options for different users, depending on how they respond to specific questions...

    To be more clear:

    First user:

    Drop-down menu (The choice between the sexes, choice B, choice C)-> user selects A Choice

    Box offering (Option 1, Option 2, Option 3)

    Second user:

    Drop-down menu (The choice between the sexes, choice B, choice C)-> user selects choice B

    Box offering (Option 4 Option 5, Option 6)

    And so on...

    Is this possible with LiveCycle?

    It is possible. There are different scenarios and different solutions. For example,.

    (1) legends, like data, can be filled dynamically when the data is merged with a form. Go to tools > Options > data binding and select "display dynamic properties. You then view the properties of an object, go to the 'Area' tab and click on "Caption" to display the dynamic properties and the data binding for the legend. A sample for the binding of the legend has been posted here, last week.

    (2) traditionally, when the data is merged with a PDF form template that is rendered may change depending on the content of the data. In your case, there would be a subform for the first user and a different subform to the second user. Based on the values of the incoming data, you would display one or the other.

    3) based on certain criteria in the form, you can dynamically show and hide different objects.

    (4) similar to point 3, you can dynamically change a rule in the form of legends. The attached PDF shows a drop down menu which activates the displayed captions 3 checkboxes. If you select 'B' in the drop down box menu captions change. If you select 'A' reset legends.

    So it is possible... but it depends on the problem you're trying to solve.

    Steve

  • A loop in the properties of a custom class

    Hello

    I have a class with a number of properties that are of different types (String, Array, class custom, etc.). I want to be able to loop tthrough each of these properties. I tried the following code:

    var testObj:myClass = new myClass();
    for each {(element var testObj)
    trace (element);
    }

    I looked in the debugger, and it does not go inside the loop "foreach". I made a mistake, or is there another way to do it?

    Thank you very much in advance for any help

    Pierrot

    Who will work for the (associative) dynamic properties, but will not work
    for the properties of the class.

    For the properties of the class, you will need to use something like this:

    import flash.utils. *;
    function getObjectPropertyNames(o:*):Array
    {
    var result: Array = new Array();
    var t:XML = flash.utils.describeType (o);
    var l:XMLList;
    If (o is Class) {l = t.factory.accessor ;}
    else {t = t.accessor ;}
    var node: XML;
    for each (node in l)
    {
    result.push ([email protected] ())
    }
    return the result;
    }

    var testObj:myClass = new myClass();
    the accessories of the var: Array = getObjectPropertyNames (testObj);

    Dynamic properties
    for each {(element var testObj)
    trace (element, testObj [element]);
    }
    Properties of the class
    for (var i: int = 0; i
    trace (props , testObj [accessories]);
    }

  • Close task DAQmx freezes

    Hi all

    I've been struggling for some time with the following problem, no relevant answers to it. Maybe someone here have met it before.

    I wrote a program in 2011 Labview data acquisition, using daqmx 9.3 + acquires data from a card NI 6008. The program works very well at all works with my laptop, but crashes during like every third performance on another laptop. Both have win7, the other is 64-bit (I'm not sure that matters).

    The program itself is quite complicated, so here I PASE a image of one of the parts he tends to freeze at (there are many other acquisition tasks, where it delimits to freeze, but every time that the structure of the block diagram is basically the same, with the creation and closing of the task). It is freezing more often when there is continuous sampling frequency of 1000 Hz and simultaneous treatment (trace, fft, etc.), in a regime of producer/consumer. The interesting thing is that it does not ALWAYS freeze.

    Whenever I check if the program hangs at the TASK.vi STOP without sending an error message. I can produce the same error with the simple example, I have insert below, if I run the program several times (it takes 10-20 tracks of stick to stop task.vi)

    Please, send any suggestions on what could be the problem.
    Another tip is the MAX itself gives an error of "embedded memory overflow", several times at startup. However, I tried the solution with the property node - without success.

    Dear Buadam,

    The workaround you mentioned has been implemented in NOR-DAQmx 9.4 and should be available from this version. The default value of value certainly not 1, since that would limit USB flow considerably, especially on faster devices.

    To explain more in detail: this property ("Analog Input" General Properties"Advanced" transfer of data and memory"County transfer USB) is responsible for defining the size of a USB transfer burst. The default USB transfer size is 32 KB. For a very fast channel or high County applications increases the size of USB transfer request are likely to increase flow. In this case however, we are voluntarily reducing the size of the transfer, to be absolutely sure that the bug in Windows 7 (how the system handles applicants on USB 2.0, specifically, how the packages are split) does affect us, resulting in deadlock as you packages known. So the idea here is to small enough packages to ensure that the USB driver is unable to divide, this prevents in turn also USB performance, but since the 6008 is a relatively slow, low peripheral County channel, we always have more than enough bandwidth.

    So, to summarize:

    • Please update on DAQmx 9.4 or more if you can (LabVIEW 2011 is supported up to the most recent, version 9.8)

    • I also recommend to upgrade the USB drivers from the laptop from the website of the provider as appropriate.

    • Set the AI. UsbXferReqSize to 1 once available. If you don't find it, try right-clicking on the property node, select filter... > display all attributes

    crossrulz: you have effectively reason that a finite measure stops the task once all samples have been read, so a wait until I recommended is redundant here, as it is expected to return with fact = True. The reasons why I suggested to use are:

    1. To refresh the status of the task, "check" that he has been arrested properly.

    2. To give the device of the extra time before the command stop the task/Clear task is sent.

    3. To catch errors that are stored in the DAQmx object, but not covered by the read operation, before attempting to stop/clear.

    Hope is makes sense.

    Kind regards:

    Andrew Valko

    NIH

  • ListView Access of ListItemComponent context action onTriggered model

    Consider following piece of code:

                ListView {
                    id: listView
                    dataModel: model
                    listItemComponents: ListItemComponent {
                        content: StandardListItem {
                            title: ListItemData.name
                            contextActions: ActionSet {
                                actions: ActionItem {
                                    title: "Delete"
    
                                    onTriggered: {
                                        //ListItem.view.model .... doesn't work
                                    }
                                }
                            }
                        }
                    }
                 }
            }
    

    When the user chooses to delete a line, I would like to access the listview model and remove the line given. But I can't get my hands on the model (as it is now defined as attached property).

    Docs say:

    ListItem.view - The ListView in which this item is visible. The item is in a context separate from the ListView, so any symbols from the ListView context that are to be accessible from items must be placed as dynamic properties on the ListView
    

    But to be honest I don't understand what I need to do to make it work (ie. have access to the parent listView.

    Any help would be greatly appreciated.

    Oh, I would do this without falling back into C++ code. I know how to solve this problem with c ++.

    Thank you

    You must reference it in your ListItemComponent ListItem:

    myItem.ListItem.view.dataModel
    
  • Tracking Oracle 11 GR 2 XE with OEM 13 c

    Someone there was some luck followed Oracle 11 g XE (Linux x 86-64, 11.2.0.2.0) database with Oracle Enterprise Manager 13 c?

    I EM12cR4 (12.1.0.4) and EM13c both running on separate servers.  Each managed host has both a 12 c and 13 c agent running.  One of my servers (SLES 11 64-bit SP3) I have an installation of Oracle 11 g XE operational.  My EM12c installation can monitor this Oracle XE database without any problem.  My EM13c installation errors of assessment metric from the addition of the Oracle XE target database.  The two agents run under the same user account ("oraagent"). The two agents use the same user database DBSNMP account. The "Test connection" button on the setup of the target EM13c-> Configuration of the analysis screen returns a successful login. Many EM13c screens seem to work correctly for this purpose of database - I can use each screen that I tested it under the menus of Administration, schema, security, availability and Performance, but EM13c cannot go beyond these metric assessment errors and identify the target State.

    The metric errors that EM13c meeting appear in the incidents as Manager screen:

    'Start-time error metric assessment - target {oracle_database. '. "SID.domain.com} is broken: dynamic category, dynamic property Get property error error, not this type of metadata - no valid queryDescriptor or executionDescriptor found for target [oracle_database.SID.domain.com$ 30]."

    and for the target database system:

    "Beginning of metric assessment error - received an exception when evaluating sev_eval_proc for: name of the target = SID.domain.com_sys, metric_name = response, metric_column = status; Error Msg = target encountered metric erros. at least one member in metric error"


    I can live without seeing a status of target on this database, but right now the fact that I can't schedule tasks to safeguard against this database of the XE is the only thing preventing me from moving my monitoring entirely on EM13c of production and closing down my EM12c system.  Work performed against this goal immediately get hung with "Suspended: target is not ready."

    I enabled debugging at the agent level and the path of the log files during the attempt to add the target.  After that, there are three dynamic properties agent cannot calculate for this target:

    2016-01-15 12:10:05, DEBUG 905 [1806:4CE3192] - calculation of dynamic property: [ComputeVC] is (1 msec, error = true)

    2016-01-15 12:10:06, 452 [1806:F917F5F8] DEBUG - calculation of dynamic property: [GetDumpDestination] is made (0 msec, error = true)

    2016-01-15 12:10:06, 508 [1813:6EEEAC87] DEBUG - calculation of dynamic property: [DeduceAlertLogFile] is (1 msec, error = true)

    Other dynamic properties are calculated correctly:

    2016-01-15 12:35:38, 038 INFO - calculation of dynamic properties finished (total time 817 ms). Calculated DP number: 19. Number of DP with the error: 3 number of dynamic properties that have been added: 132.

    Dynamic property ComputeVC (which seems to determine the category of the database version) seems to be impossible to analyze the Oracle 11 g XE version string:

    2016-01-15 12:11:18, 779 [1830:CD3A325D] DEBUG - error has been added to oracle_database.SID.domain.com$ 23(0|) MONITORED | false | true | < UF >): invalid entry

    2016-01-15 12:11:18, 779 [1831:3657AE55] DEBUG - abandoning long op ' CDProps:oracle_database.SID.domain.com:ComputeVC:GENERIC_TASK:Fri Jan 15 12:11:18 CEST 2016. "

    2016-01-15 12:11:18, 780 [1830:CD3A325D] DEBUG - error during the dynamic property ComputeVC calculation: criticism = true, missingCatProps = [VersionCategory], missingProps = [VersionCategory]

    oracle.sysman.emSDK.agent.fetchlet.exception.FetchletException: invalid entry

    at oracle.sysman.gcagent.addon.fetchlet.versionRange.VersionRange.getMetric(VersionRange.java:78)
    at oracle.sysman.gcagent.target.interaction.execution.FetchletFactory.getMetric(FetchletFactory.java:431)

    The other two, for the lack of dynamic properties appear to be failing as a side effect of losing the database connection after the failure of the calculation of property ComputeVC.

    Other information in the newspapers, it seems that EM13c could be trying to access the BUNDLE_SERIES column in dba_registry_history (which does not exist in the XE) and maybe not because of that.

    Someone 11 GR 2 XE added as a fully functional goal in their EM13c environment?

    Thank you

    -Brian

    Sorry, please disregard.  I solved this on my own.  The missing column of BUNDLE_SERIES in DBA_REGISTRY_HISTORY on XE has been the source of my inability to monitor XE of EM13c.

    As the UserControl (DBSNMP, in my case), I created an empty DBA_REGISTRY_HISTORY table, including a column BUNDLE_SERIES in the scheme of surveillance of the user.

    SQL > create table dba_registry_history (ACTION_TIME TIMESTAMP (6), ACTION VARCHAR2 (30), space name VARCHAR2 (30), VERSION VARCHAR2 (30), identification NUMBER, BUNDLE_SERIES VARCHAR2 (30), VARCHAR2 (255)) COMMENTS;

    I then forced recalculation of dynamic properties for the target through the agent of EM13c:

    $ emctl recharge dynamicproperties SID.domain.com:oracle_database agent

    Oracle Enterprise Manager Cloud control 13 c Release 1

    Copyright (c) 1996, 2015 Oracle Corporation.  All rights reserved.

    ---------------------------------------------------------------

    EMD recalculate dynprops completed successfully

    Once this command is successfully completed my goal of Oracle XE database appears with the 'high' good state and I can submit jobs to run against her.  I can't recommend anyone following the steps I did, instead I have suggest you wait for a fix of the OEM team, but I had an urgent need to move away from my EM12c installation due to the fault of hardware.

  • change the field type selection list of text based on the data in the other domain.

    Hello

    We have a requirement where we are looking to display the page as element select list or a free text field based on the value of the item to another page.

    Say, we have two fields

    Day:

    Products:

    If day = 'Monday' produced a drop in low field of another product would be a free text field.   Is this possible in APEX?

    This is the configuration I did.

    I used the field produced twice (as a text and list field select) as an element of a page., dependent on the value of the day I used the dynamic properties of actions to show/hide these fields.

    However, when I click on submit, it throws an error:

    ORA-06550: line 1, column 108: PL/SQL: ORA-00957: name of column in double ORA-06550: line 1, column 13: PL/SQL: statement ignored


    Kind regards

    Satya

    You can have both share the same database column, the process of the APEX DML does not know how to consolidate.

    You will need to add a calculation and determine the real value based on two fields, up to an only one mapped to db.

  • PROCESS MEMORY

    OS: WIN SERVER 2008 R2 64 bit, 24G

    EMP: 11.1.2.3.501

    The daily schedule is running.

    However, an error occurs and the program does not run correctly.

    Journal to confirm the results, we were able to confirm that there is a PROCESS OF MEMORY.

    ==============================================

    0_IRJOB_AGENT_MODULE_irjob_68121b090b4cc826S18fd58b7149aeaf4a36S7d89_stdout.log

    ==============================================

    [Tue Jan 20 06:50:27 2015] [Memory usage ~ 780 Mb]

    [Mar 20 January 07:05:27 2015] [Memory usage ~ 2863 MB]

    PROCESS MEMORY

    -Default PROCESS_MEMORY_LIMIT = 1536

    -Default PROCESS_MAX_MEMORY to 2095054848

    PROCESS_MEMORY_LIMIT the value of 6000

    Job Service interactive starting declaration: 11.1.2.3.000.1175 at 21/01/2015 07:11:40

    The INTERFACE language is English

    ==============================================

    1_IRBI_AGENT_MODULE_irbi_68121b090b4cc826S18fd58b7149aeaf4a36S7d78_stdout.log

    ==============================================

    [Thu Jan 22 09:01:31 2015] [Memory usage ~ 58 MB]

    [Thu Jan 22 09:16:31 2015] [Memory usage ~ 58 MB]

    [Thu Jan 22 09:19:31 2015] [Memory usage ~ 1782 MB]

    Process has reached the limit of memory 1536 MB!

    ==============================================

    1_IRJOB_AGENT_MODULE_irjob_68121b090b4cc826S18fd58b7149aeaf4a36S7d89_stderr.log

    ==============================================

    PROCESS MEMORY

    PROCESS MEMORY

    PROCESS MEMORY

    ==============================================

    1_IRJOB_AGENT_MODULE_irjob_68121b090b4cc826S18fd58b7149aeaf4a36S7d89_stdout.log

    ==============================================

    [Wed Jan 21 06:29:12 2015] [Memory usage ~ 113 Mb]

    [Wed Jan 21 06:44:12 2015] [Memory usage ~ 1652 Mb]

    [Wed Jan 21 06:59:12 2015] [Memory usage ~ 123 Mb]

    PROCESS MEMORY

    Refer to the documentation has been implemented the PROCESS MEMORY LIMIT.

    How to increase the limit of memory for interactive reports Services (Doc ID 1487440.1()

    But could not resolve the PROCESS OF MEMORY error.

    Please tell us how to solve the error of PROCESS MEMORY.

    -Default PROCESS_MEMORY_LIMIT = 1536

    -Default PROCESS_MAX_MEMORY to 2095054848


    And, if the default value of the PROCESS MEMORY MAX setting method, please help.

    Thank you for,




    Hello

    I read this master document of IR on KB https://support.oracle.com/epmos/main/downloadattachmentprocessor?attachid=1456233.1%3A34&action=inline

    page 55. He mentioned to avoid executing multiple tasks simultaneously in order to reduce the memory usage.

    I know its hard and not a good solution.

    I guess you already tried to increase the PROCESS_MEMORY_LIMIT of the workspace.

    If you do NOT have to follow the following steps

    1. connect to the workspace-> Reporting and Analysis-> Services

    2. choose each service IR and add the value PROCESS_MEMORY_LIMIT

    3. According to article Manage-> dynamic properties

    4. Enter the value PROCESS_MEMORY_LIMIT = 2500 MB

    5. save the details

    6. restart the Reporting services.

    Thank you

    Anjum

  • Transformation of Scripts that run only on the selected Tables

    I'm relatively new to Data Modeler, but found almost everything to be very intuitive. I'm now doing use custom transformation scripts to dynamically add custom DDL elements. I wrote a transformation script that adds a sequence at the end of my DDL trigger successfully, and I'm happy with the results. The problem I run into is that we have two different categories of tables that require slightly different sequence triggers, but as my model is set to the level of database, my transformation scripts are applied to all arrays regardless they come what schema. Do you have any suggestions on how to limit the tables which proceeds by a transformation script? I thought to add if statements to check what schema tables are coming from, but if I have a situation where I have two different tables that require two different processing scripts, but they are in the same pattern, how can that I manage that? Ideally, I'd like to just pick a table and apply a transformation script for this table individually. Is this possible?

    I work in a relational model with Data Modeler 4.0.

    to dynamically add items customized to DDL

    you need to check the custom of DDL in DM 4.1 features - "tools > rules and design transformations > Table DDL transformations"-DM 4.1 comes with example to generate tables of the newspaper and associated trigger.

    . I wrote successfully in a transformation script that adds a sequence at the end of my DDL trigger

    Data Modeler can generate the sequence and relaxation for you - you need to define the column as 'auto increment' / identity and set in preferences, you want "trigger" put in place. 4.1 DM added support for z/OS, DB2 LUW DB2 and MS SQL Server 2012.

    Do you have any suggestions on how to limit the tables which proceeds by a transformation script? I thought to add if the instructions to check the schema, the tables are coming, but if I have a situation where I have two different tables that require two different processing scripts, but they are in the same schema

    Well you need to sort it out on yourself - you can use classification types, dynamic properties user defined properties (in DM 4.1) or put paintings in various subviews or use the search feature (4.0.3 DM / DM 4.1 comes for example how to use the search results to create subview).

    Ideally, I'd like to just pick a table and apply a transformation script for this table individually. Is this possible?

    Here is an example of how get selected tables:

    appv = model.getAppView();
    dpv = appv.getCurrentDPV();
    //check there is a diagram selected and it belongs to the same model
    if(dpv!=null && dpv.getDesignPart() == model){
     tvs = dpv.getSelectedTopViews();
     for(var i=0;i
    

    Philippe

Maybe you are looking for