Input parameters can be set dynamically?

Is there a way to fill the UI dynamically entry? Suppose we have a list of fields to which we get input parameters and this list came out a REST command in xml format, can we build a user interface based on that?

(If not, may we have input parameters that are hidden by default but are made visible from the fields in the xml file)

Example: In the xml below output, the input field should take a number with the description for the entry in the "number of volumes.

< field >
< label > Number of Volumes < / label >
< name > numberOfVolumes < / name >
< type > number < / type >
< initial_value > 1 < / initial_value >
< lockable > fake < / lockable >
< min > 1 < / min >
< omitNone > fake < / omitNone >
< required > true < / mandatory >
< select > un < / select >
< / field >

'Content' is appropriate, in this case, since it is a POST operation (POST / PUT usually has a body of the request). Check the value of the property 'See the parameter entry' group "Content Input" display in the presentation tab.

Different parameters (name, size, number, etc.) are not displayed in the interface user because in your case, they are part of the body of the request and the presentation logic in workflow "Call operation REST with dynamic params" only scans the URL parameters, not the body of the URL. In your case, if your REST API was POST/block/volumes / {name} / {size} the current logic could find name and size of the parameters in the URL. Check the "Show parameter input" values and properties "Data binding" parameters of workflow in display group "Input parameters" in the presentation tab.

So you can extend this workflow, or implement your own version of the workflow, which can retrieve information about parameters not only of URL parameters, but also the body of the request by analyzing the body of the request as XML/JSON document and extract the names of the tags.

As to what 'Generate new workflow of the operation REMAINS' do-, it generates a workflow that wraps the invocation of an operation given rest. In some cases, it is convenient; for example. you won't need to select REST operation to call every time. Also, you can change the specific workflow (for example. Add logging more, add additional processing, etc.).

Tags: VMware

Similar Questions

  • Can not set a value by the executed dynamic action on the page element "selection list."

    I created an agenda of the page 'list of selection' and I want to when I change a value in another element of the page set only 'screen '.

    I created a dynamic action on the page element "selection list" for this.

    These are the dynamic action attribute:

    When:

    ======

    Event: change

    Selection type: point

    Article: P29_PURCHASE_ORDER

    Condition: No strings attached

    Advanced:

    ========

    Scope of the event: static

    Identification:

    ==========

    Action: Set

    The ' Action Page when the changed value "attribute of the element of 'list of selection' = 'None', and when I run form the dynamic action run and set the value for once and do not update the value according to the change in the article"list of selection. "

    Note: when I change the previous attribute of 'Redirect and set', dynamic action run and properly value, but the value was hidden soon

    I want to value when the value of change of select list according to this change successfully.

    Please, advice me,

    Best regards

    Mustafa Ezzat

    Hello

    you set the value of the 'Page elements to submit' to P29_PURCHASE_ORDER?

    Then, the SQL statement would use the current selected value.

    This is the help text says: "specify a list separated by commas of the elements of the page that will be submitted to the server and therefore available for use in your"SQL statement"," PL/SQL Expression"or"Body of the PL/SQL function".»

    Kind regards

    Erik-jan

  • Oracle Workflow and mapping of input parameters

    Hi all
    I am trying to create a process in OWB stream which will be able to pass input parameters in each of my correspondence layouts. Each map contains 2 entries, a start time and an end time.
    OWB process flow allows it to do this or is there another approach that I take in creating a workflow for these mappings?

    I am currently using 11gR 2 (11.2.0.1) and UAS v. 2.6.4.

    Thanks in advanced for any help.

    Randy

    Hi Randy,

    Open the workflow process Editor. In the window (menu view-> structure) structure, select the mapping activity and expand it to view its settings. If you select a setting, you can set its value or link to a variable in the Properties window.

    In the structure window, you can also add parameters of process flow to the start activity or to define variables of process flow.

    Kind regards
    Carsten.

  • problem with pipe separated from the input parameters to call

    Hi all

    I have a requirment as...

    I have a Sp 10 which have 3 SETTINGS and 3 settings as shown below...


    PROCEDURE sample_sp1 (p_start_dt IN VARCHAR2,
    p_end_dt IN VARCHAR2,
    p_shift IN varchar2,
    p_out1 OUT t_bpd_nm, - array type
    p_out2 OUT t_target, - array type
    p_out3 to t_drr); -type of array



    PROCEDURE sample_sp2 (p_start_dt IN VARCHAR2,
    p_end_dt IN VARCHAR2,
    p_shift IN varchar2,
    p_out1 OUT t_bpd_nm, - array type
    p_out2 OUT t_target, - array type
    p_out3 to t_drr); -type of array



    .........


    ..........


    PROCEDURE sample_sp10 (p_start_dt IN VARCHAR2,
    p_end_dt IN VARCHAR2,
    p_shift IN varchar2,
    p_out1 OUT t_bpd_nm, - array type
    p_out2 OUT t_target, - array type
    p_out3 to t_drr); -type of array






    Now, I have to create a new SP. This SP, I have to call one of the top 10 SP and have to come back as a REF CURSOR.


    the entries to the new MS are 3 as... (shown below).


    create or replace new_sp (p_report_name IN varchar2,
    p_report_inputs IN varchar2,
    p_report_as_ref to ref_cur_type) is


    ..............

    where p_report_name is a name of sp
    p_report_inputs is the input to SP parameters with "|" separated pipes (ex: ' 23/04/2010 | 20/05/2010 | 2 ')
    p_report_as_ref is setting to return as an OUT refcursor.


    I'm unable to manage the setting shild (with tickets). How to separate input parameters and how can I call existing SP
    with these settings?


    friends... can someone help me please...


    Thanks in advance...

    What of it?

    with t as
    (select replace('500 Oracle Parkway| Redwood Shores| CA','|',',') str from dual)
    SELECT
      replace(REGEXP_SUBSTR(str,'[^,]+,'),',') first,
      replace(REGEXP_SUBSTR(str,',[^,]+',1,1),',') second,
      replace(REGEXP_SUBSTR(str,',[^,]+',1,2),',') third
      FROM t;
    
    ----
    500 Oracle Parkway      Redwood Shores      CA
    
  • Can I set up a secondary monitor to the HD on my iMac mid 2011

    Can I set up a secondary monitor to the HD on my iMac mid-2011 with no problems. I cannot afford to upgrade to the new iMac 27-inch and wanted to update my monitor.

    Is this possible on the Mid 2011 iMac?

    Yes.

    Your best option is to choose a good monitor that has Display Port or DVI input and shy away from those who only have HDMI and VGA input.

    For a display Port monitor you will need a Mini Display Port to Display Port cable if it is not provided with the monitor.

    For a DVI monitor you will need to a Mini DisplayPort to DVI adapter and a DVI cable.

  • Would it not correct to say that the PCI-6110 can be set to 'redeclenchables' but the PXI-6115 module cannot use this property?

    Would it not correct to say that the PCI-6110 can be set to 'redeclenchables' but the PXI-6115 module cannot use this property?  If Yes, where is it documented the series cards can do trigger?  For example, is it possible to configure the trigger on the PXI-6124?

    Hi Joel_Neptune,

    The PCI-6110 and other materials as the PXI-6115 S series and SMU-6124 do not natively support NOR-DAQmx analog input alarm. However, you can use one of the generalist counters/timers of the Council to generate a reenclenchees pulse train, then use this as the sample clock pulse train. This transportation example shows how:

    LabVIEW\examples\DAQmx\Synchronization\Multi-Function.llb\Multi-Function-Ctr Retrigg Pulse Train generation for the Clock.vi sample

    In addition, the new material of the simultaneous sampling X series are supported trigger analog input without using a separate task of counters/timers.

    Brad

  • How can I set a password for my hard drive?

    How my HDD password?

    Hello

     
    Please use your favorite search engine and browse for a software which can be used for this purpose.
     
    Note: Microsoft cannot guarantee that problems resulting from the use of third-party software can be solved. Software using third party is at your own risk.
     
    You can also set a password in the bios to lock the computer.
    Warning of the BIOS:
    BIOS change / oxide of additional metal (CMOS) semiconductor parameters incorrectly can causeserious problems that may prevent your computer from starting properly. Microsoft cannot guarantee that problems resulting from the configuration of the BIOS/CMOS settings can be solved. Changes to settings are at your own risk.
     
  • How can I set default values to set the Mode in the config of the AO?

    Hi, how can I set default values to allocate mode in the config of the AO. To be precise, in the attached vi, I need to set the Mode allocate in the AO Config to ' use FIFO memory (6) ' if the value inside the structure of my case is false and 'no change (0)' if the value inside the strusture case is true.

    Create two constants for Mode allocate input (right click > create > constant). A place in the real case of the structure of the case and place it in the case of false. Their son in the same tunnel (border of the structure of the case), then the tunnel of wire to the pole to allocate the AO Config Mode. I do not have traditional DAQ installed, but who should do it.

  • How can I set the default value of a selection in the Query Panel with table.

    Hi Experts,

    JDev 12.1.3.0.0

    I have a view Criteria (contains a attribute with LOV). and the named criteria is dragged as a query with Table Panel.

    In the user interface, the LOV is now visible in the query Panel. Suppose that the LOV has 3 values: 'Manual', 'Other' and 'portfolio '.

    How can I set a default value for the choice of a select. ?

    Thank you

    Roy

    refer to:

    Andrejus Baranovskis Blog: Dynamic value by default for the field in query ADF search

    but rather to express as in the bellows of the image, choose literal and let 2

  • Can I set a "record in the recently used list" 0 on an iPad?

    Versions of Adobe Reader > that support version 11.0.8 setting the number of recently seen files from 0 to 100 and a default value of 100. Older versions of what the range is from 1 to 10 with a default value of 5. This can be set to 0 on an iPad? I do not see the parameters of similar type on an iPad

    Open Acrobat Reader on your iPad. Go to recent option on the top center. This will display a list of recently open PDF files. At the top right, you will see an icon beside the mobile link to clear the recent files list.

  • Problem with clone script - news-VM: all parameters can be solved by using the values of named parameters.

    Hello. First post, so please be nice. Running into errors of hella tried different methods to run this script:

    $cloneparams = "c:\scripts\clone-parameters.csv".

    $cloneparams import-csv - useculture | %{

    Get-oscustomizationspec $_. "" customization ". Get-oscustomizationnicmapping | »

    game-oscustomizationnicmapping - ipmode UseStaticIp - ipaddress $_.ip - subnetmask $_.subnetmask - passerelle_par_defaut $_.gateway

    new-vm - vmhost $_. "' $vmhost '-name $_. "" vm_name "-location $_. "" folder "-model $_. "" resourcepool-$_ template_name. "" resource_pool "datastore-$_. "' datastore_name ' numcpu-$_. "" numcpu "memorymb-$_. "" memoryMB ' oscustomizationspec-$_ .customization - confirm: $false - runasync

    }

    The error looks like this:

    New-VM: all parameters can be resolved by using the specified named parameters.

    C:\scripts\clonescript.ps1:14 char: 7

    + new-vm < < < <-vmhost $_. "' $vmhost '-name $_. "" nameyname "-location $_. "" folder "-model $_. "" resourcepool-$_ template_name. "" resource_pool "datastore-$_. "' datastore_name ' numcpu-$_. "" numcpu "memorymb-$_. "" memoryMB ' oscustomizationspec-$_ .customization - confirm: $false - runasync

    + CategoryInfo: InvalidArgument: (:)) [new-VM], ParameterBindingException)

    + FullyQualifiedErrorId: AmbiguousParameterSet, VMware.VimAutomation.ViCore.Cmdlets.Commands.NewVM

    The .csv has these column headings (with the appropriate values to each for a bunch of new virtual machines to create):

    vm_nametemplate_namedatastore_namecustomizationVLANintellectual propertyentry doorsubnet maskDNSfolderresource_poolnumcpumemoryMBvmhost

    The oscustomizationspec bit seems to work, but the New - VM cmdlet is obviously not happy.

    I noticed others have posted similar code that seems to work for them. All thoughts were highly appreciated.

    Thank you!

    You have about the New - VM cmdlet parameters that are unique to different parametersets. You cannot combine unique parameters of different parametersets.

    I f you look at the New - VM cmdlet, you will notice that there are 4 available parametersets.

    In your case, by selecting the parameter of the model, you fall in the 2nd set.

    In the red rectangle, you see the other settings, you can select.

    In your case, the parameters ResourcePool, NumCpu and MemoryMB cause the conflict.

    If you want to change the distribution of CPU and memory of the model, you will need to do after the virtual machine has been created with the Set-VM cmdlet.

    Similarly, you can use the Move-VM to change the ResourcePool, after the virtual machine has been created.

    Pretty sweet?

  • How can I set the default folders to the drive working?

    Hellooo...

    I was just wondering how can I set a default folder (work disk) location in Premiere Pro CC 2014?

    example image:

    Scratch-disks-in-premiere-Pro-cc.png

    So it should automatically record audio previews and video to one of my disks SSD and not on the same hard disk where my project.

    It's pretty boring change the location of the current 'default' whenever I start a new project...

    I can't find the menu for these parameters?

    Thanks for any help in advance!

    Create a template project with your desired settings.  Use it to start new projects and rename and save.

  • Date range per week based on input parameters

    Afternoon people - I need to produce a report that will appear in coming weeks.

    There are two input parameters: P_FROM_DATE and P_TO_DATE

    I need to find the beaches of dates in weeks starting THURSDAY and ending WEDNESDAY. For example, if my P_FROM_DATE is August 1, 2012 and P_TO_DATE 11-SEP-2012, I need to show the weeks following this way:
    02-AUG-2012 - 08-AUG-2012
    09-AUG-2012 - 15-AUG-2012
    16-AUG-2012 - 22-AUG-2012
    23-AUG-2012 - 29-AUG-2012
    30-AUG-2012 - 05-SEP-2012
    06-SEP-2012 - 12-SEP-2012
    So, the idea is to begin the first THURSDAY after the P_FROM_DATE and at the end the Wednesday preceding the P_END_DATE...

    Thank you!

    Hello

    Here's one way:

    WITH     params          AS
    (
         SELECT  DATE '2012-08-01'     AS p_from_date
         ,     DATE '2012-09-19'     AS p_to_date
         FROM     dual
    )
    ,     end_points     AS
    (
         SELECT     TRUNC ( p_from_date + 4
                    , 'IW'
                    ) + 3          AS first_thursday
         ,     TRUNC ( p_to_date + 4
                    , 'IW'
                    ) - 5          AS last_wednesday
         FROM    params
    )
    SELECT     first_thursday + (7 * (LEVEL - 1))     AS week_start_date
    ,     first_thursday + (7 * LEVEL) - 1     AS week_end_date
    FROM     end_points
    CONNECT BY     LEVEL     <= ( last_wednesday
                      + 1
                      - first_thursday
                      ) / 7
    ;
    

    TRUNC (dt) is the beginning of the ISO week containing DATE dt.
    The 'magic number' 4 is used because the ISO week starts on Monday, 4 days later your week begins, so

    TRUNC ( dt + 4
          , 'IW'
          )
    

    is set for Monday in the same week from Thursday to Wednesday as dt.

  • Duplication of datasets based on input parameters

    I posted this question in the context of the reports of the Oracle, but I think that this is not really a question of relationship Oracle, its more a matter of SQL. I'm on Oracle 9i.

    I need to generate a report based on a maximum of 6 input parameters.
    Three of them belong to the client ID # and 3 belong to the Number of Copies that must be printed on the report.
    Settings on clients: P_CUST_ID1, P_CUST_ID2, P_CUST_ID3
    Parameters for the number of copies: P_N1, P_N2, P_N3

    So, at some point, there could be a maximum of 3 Customer ID passed to the main request. Here is an example of what might look like the input parameters.
    The user has chosen to enter the values for Customer ID 1 and 2 and left blank for 3 client.
    Customer ID1   1001         Number of Copies   2
    Customer ID2   1002         Number of Copies   3
    Customer ID3   ----         Number of Copies   -
    The query that retrieves data looks something like this. The query below is intended to get the client host and addresses of the Office.
    Of course, it is possible that there could be no home or office address or both.
    SELECT    c.cust_no,
              c.saln||c.first_name||' '||c.last_name cust_name,
              a.address_type,
              a.street,
              a.city||' '||a.province||' '||a.postal_code city,
              '('||a.tel_area||') '||a.tel_number telephone
    FROM      customer c, customer_address a
    WHERE     c.cust_no = a.cust_no
    AND       c.cust_no IN (:P_CUST_ID1, :P_CUST_ID2, :P_CUST_ID3);
    Based on my query:
    Customer ID 1001 has 3 addresses (House 2 and 1 office)-> the Total number of records = 3
    Customer ID 1002 a 2 addresses (1 House and 1 office)-> the Total number of records = 2

    The output should be something like that. I put a copy1 copy2, Copy3 label to show
    How the data will appear for readability.
    Cust No Customer Name      Address Type    Address Line 1         Address Line 2        Telephone
    -----------------------------------------------------------------------------------------------------
    Copy1
    1001    Mr Robert Green    H               2100 Picket Fences     Vancouver BC V6E 2C9 (604)726-5555
    1001    Mr Robert Green    H               2300 Happy Valley      Vancouver BC V6G 2N8 (604)308-5555
    1001    Mr Robert Green    O               1200 Davie Street      Vancouver BC V1V 1X1 (604)211-5555
    Copy2
    1001    Mr Robert Green    H               2100 Picket Fences     Vancouver BC V6E 2C9 (604)726-5555
    1001    Mr Robert Green    H               2300 Happy Valley      Vancouver BC V6G 2N8 (604)308-5555
    1001    Mr Robert Green    O               1200 Davie Street      Vancouver BC V1V 1X1 (604)211-5555
     
    Copy1
    1002    Ms Cynthia Brown   H               261 King Street W      Calgary AB M5A 1N1   (416)432-5555
    1002    Ms Cynthia Brown   O               150 Bloor St W         Calgary AB M1W 1S3   (416)321-5555
    Copy2
    1002    Ms Cynthia Brown   H               261 King Street W      Calgary AB M5A 1N1   (416)432-5555
    1002    Ms Cynthia Brown   O               150 Bloor St W         Calgary AB M1W 1S3   (416)321-5555
    Copy3
    1002    Ms Cynthia Brown   H               261 King Street W      Calgary AB M5A 1N1   (416)432-5555
    1002    Ms Cynthia Brown   O               150 Bloor St W         Calgary AB M1W 1S3   (416)321-5555
    Scripts for creating the table and INSERTs
    CREATE TABLE CUSTOMER
      (
        "CUST_NO"    VARCHAR2(4 BYTE) NOT NULL,
        "SALN"       VARCHAR2(4 BYTE),
        "FIRST_NAME" VARCHAR2(20 BYTE),
        "LAST_NAME"  VARCHAR2(20 BYTE),
        CONSTRAINT "CUSTOMER_PK" PRIMARY KEY ("CUST_NO")
      );
     
    Insert into CUSTOMER values ('1001','Mr','Robert','Green');
    Insert into CUSTOMER values ('1002','Ms','Cynthia','Brown');
    Insert into CUSTOMER values ('1003','Dr','David','Taylor');
     
    CREATE TABLE CUSTOMER_ADDRESS
      (
        "CUST_NO"      VARCHAR2(4 BYTE) NOT NULL ENABLE,
        "ADDRESS_TYPE" VARCHAR2(1 BYTE) NOT NULL ENABLE,
        "STREET"       VARCHAR2(20 BYTE),
        "CITY"         VARCHAR2(20 BYTE),
        "PROVINCE"     VARCHAR2(2 BYTE),
        "POSTAL_CODE"  VARCHAR2(10 BYTE),
        "TEL_AREA"     VARCHAR2(3 BYTE),
        "TEL_NUMBER"   VARCHAR2(10 BYTE)
      );
     
    Insert into CUSTOMER_ADDRESS values ('1001','H','2100 Picket Fences','Vancouver','BC','V6E 2C9','604','726-5555');
    Insert into CUSTOMER_ADDRESS values ('1001','H','2300 Happy Valley','Vancouver','BC','V6G 2N8','604','308-5555');
    Insert into CUSTOMER_ADDRESS values ('1001','O','1200 Davie Street','Vancouver','BC','V1V 1X1','604','211-5555');
    Insert into CUSTOMER_ADDRESS values ('1002','H','261 King Street W','Calgary','AB','M5A 1N1','416','432-5555');
    Insert into CUSTOMER_ADDRESS values ('1002','O','150 Bloor St W','Calgary','AB','M1W 1S3','416','321-5555');
    Insert into CUSTOMER_ADDRESS values ('1003','O','435 Richmond Street','Calgary','AB','M5A 4T6','416','453-5555');
    Any help or pointers in this regard would be great.
    I could have adopted a procedure for use of temporary tables , but I really prefer not to go in that direction that there could a few reports which must be generated in this way.

    Thanks and a great weekend.

    Hello

    Roxyrollers wrote:
    I tried to replace the Clause WITH with views online, but have hit a wall. Of course, it is said Table or view does not exist because it cannot find the report_parameters table. Also, I realize that I can't really get the view online at the same level.

    No, report_parameters is used in two places in the solution I posted Saturday. You could code 2 copies of the report_parameters (one inside the cntr, the other to join it), but it should really be. CNTR can rely on two instead, like this:

    SELECT    c.cust_no,
              c.saln ||c.first_name||' '||c.last_name cust_name,
              a.address_type,
              a.street,
              a.city||' '||a.province||' '||a.postal_code city,
              '('||a.tel_area||') '||a.tel_number telephone
    ,       t.n                -- If wanted
    FROM      customer           c
    ,        customer_address   a
    ,       (               -- Begin in-line view report_parameters
                SELECT  :p_cust_no_1 AS cust_no, :p_no_copies_1 AS no_copies  FROM dual  UNION ALL
              SELECT  :p_cust_no_2 AS cust_no, :p_no_copies_2 AS no_copies  FROM dual  UNION ALL
              SELECT  :p_cust_no_3 AS cust_no, :p_no_copies_3 AS no_copies  FROM dual
           )  p               -- End in-line view report_parameters
    ,       (               -- Begin in-linve view cntr
                 SELECT     LEVEL     AS n
                 FROM     dual
                 CONNECT BY     LEVEL     <= GREATEST (:p_no_copies_1, :p_no_copies_2, :p_no_copies_3)
           ) t                    -- End in-line view cntr
    WHERE     c.cust_no           = a.cust_no
    AND       c.cust_no           = p.cust_no
    AND       p.no_copies          >= t.n
    ORDER BY  c.cust_no
    ,       t.n
    ,            a.address_type
    ;
    

    Ensure that: p_no_copies_1,: p_no_copies_2 and: p_no_copies_3 are not NULL; otherwise, GREATEST return the NULL value. Check the settings, you do need lower or equal to 0, or use NVL inside the GREATER expression.

  • Read a script title input parameters

    I'm sure it's a matter of javascript adobe newbie, but I watched for a while and do not find the answer. How to read a script file as input parameters? For example, let's say I want to run a script that requires 3 input variables, but instead of asking the values, I would like to read from the file name of the script... for example, Myscript (my_variable1, my_variable2, my_variable2), where the variables are all real numbers. So I guess that the name of the script when it is run should look to...  MyScript (10, 10, 100), but how can I read these and assign these values to a VAN in the script?

    Thanks for any help!

    That you will get the name of the file, including the path

    alert($.fileName);
    

Maybe you are looking for