Change the attribute - Configuration Item mapping in task Scriptable

Hello

is it possible to change the mapping of attributes to the elements of configuration with a scriptable tasks?

Or do I have to map all possible configuration to decide later that you use attributes?

example:

configuration 1:

UC = 4

memory = 8

disk_size = 16

configuration 2:

UC = 2

memory = 4

disk_size = 8

Is it possible to have only three attributes (processors, memory, disk_size) and configuration card 2 via the script task or 1 configuration?

Or should I do 6 attributes (cpus1, cpus2, memory1, memory2, disk1, disk2) a static mapping and use three of the six possible attributes?

Thank you

Michael

The way I saw this fact is as follows:

Define a ConfigurationElement (called configElement in the example below) as an attribute to your workflow.

Create items in the ConfigurationElement prefixed by your size or configuration. (Ex: small_cpu, large_cpu, small_memory, large_memory, etc.).

In your task scriptable:

var cpuAttr = configElement.getAttributeWithKey (size + "_cpu");

var cpu = cpuAttr.value;

var memoryAttr = configElement.getAttributeWithKey (size + "_memory");

memory of var = memoryAttr.value;

Tags: VMware

Similar Questions

  • Change the number of items in the drop-down list box when running

    I'm trying to change the number of items in one of my boxes of comobo.

    I have been through the help and this forum and have the values to within the drop-down list box change very well, but in a scenario, I want to go to three options for 2. And according to other choices to 3.

    I guess I have to use a property node but I can't understand that one.

    You can use the method to reset to zero (using an invoke node) before setting the [Strings] (after setting the value by default an empty array) or create an Xcontrol (you can see examples of LabVIEW for xcontrol).

    Ben64

  • How can I change the attributes read-only or system files?

    How can I change the attributes read-only or system files?

    To view or to remove the read-only or system attributes, use the Attrib command at a command prompt:

    1. click the Start button, type cmd in the search box and press ENTER.

    2. to view the syntax for the Attrib command, Type attrib------? at the command prompt.

    WARNING: If you remove the read-only or a file system attribute, it may seem like a regular folder and some customizations may be lost. For example, Windows customizes the Fonts folder and provides a special folder view that allows you to hide variations, such as bold and italics. It also allows you to change the display settings of the file in a way that is specific to fonts. If you remove the read-only attributes and the Fonts folder system, these custom display settings not available. For folders that you have customized by using the tab, customize the folder properties dialog box, the folder icon and other other customizations may be lost when you remove the read-only attribute.

    If a program cannot save files to a folder with read-only, such as My Documents, change the read-only to the system attribute by using the Attrib command at a command prompt.

    To remove the read-only attribute and to set the system attribute, use the following command:

    attrib - r + s drive:------------.

    For example, to remove the read-only attribute and set the attribute to system for the C:\Test folder, use the following command: attrib - r + s c:\test

    Be aware that some programs may not work correctly with folders for which the read-only attribute and the system attribute are granted. You can use the following command to remove these attributes:

    attrib - r-s c:\test

  • Change the attributes of resources in GR 11, 2 ASM grid Infrastructure

    Hello

    I have two or three never starts automatic start-up located in the crs profile 11 GR 2, can I change the profile of resources to auto_start = always while the cluster is running? or fact cluster will display the parameter ASM_DISKGROUP starts listed of spfile?

    Thank you

    Hello

    user9097501 wrote:
    Hello

    I have two or three will never start Autostart located in the crs profile GR 11, 2...

    Let us clarify which component has effect on what it:
    1 profiles/resources src have nothing to do with the ASM starts
    2 auto_start is a resource of src attribute that specifies if the clusterware automatically starts the resource in question after the restart of the cluster server.
    3. the list of parameters init ASM_DISKGROUP names of disk groups that the ASM instance goes up at startup.

    I can change the profile of resources to auto_start = always while the cluster is running?

    You can change the attribute auto_start to the value 'always' online, no downtime is required.

    or fact cluster will display the parameter ASM_DISKGROUP starts listed of spfile?

    No, not this connection between the CBC and the ASM instance. Crs begins the only DSO resource (using the script specified in the resource action_script attribute) and groups of disks listed in the ASM_DISGROUP parameter, will be mounted by the instance ASM itself.

    HTH.
    Kind regards
    József

    Published by: Jozsef on October 21, 2010 21:43

  • Change the attribute to read-only by using ClientListener?

    Hello friends of the forum...

    I created a form with two INPUTTEXT and put them with read-ONLY using an EL made reference to a BEAN called GENERAL Manager

    < af:panelFormLayout binding = "#{backingBeanScope.backing_Layout2.panelFormLayout1}" id = "panelFormLayout1" > "
    < af:inputText value = "#{bindings." Modulo.inputValue}"binding =" #{backingBeanScope.backing_Layout2.inputText1} "id ="inputText1"* readOnly =" #{General.BLock} "* / >"
    < af:inputText value = "#{bindings." Proceso.inputValue}"binding =" #{backingBeanScope.backing_Layout2.inputText2} "id ="inputText2"* readOnly =" #{General.BLock} "* / >"
    * < af:clientListener type = "dblClick" method = "activate the" / > *.
    * < af:serverListener type = "activate the" method="#{backingBeanScope.backing_Layout2.activarBloque}"/ > *.
    < / af:panelFormLayout >


    ClientListener calling Javascript Fucntion:

    function Activar (event) {}
    AdfCustomEvent.queue (event.getSource (), "Activar", {operation: "Create"}, false);
    }


    ServerListener call the method to change the attribute Block of GENERAL bean and also try to update panelFormLayout...

    {} public void activarBloque (ClientEvent clientEvent)
    * General.Block = false; *
    General.Operacion = clientEvent.getParameters ().get("operacion").toString ();
    * AdfFacesContext.getCurrentInstance () .addPartialTarget (this.getPanelFormLayout1 ()); *
    }

    (the block is static attribute)

    After I do dbClick I see general.block change its value to false but inputText don't update!...


    So, how can I force it to refresh the components when actionListener is trigger?

    Hello

    I think that in this case, you must call

    AdfPage.PAGE.addPartialTargets ()

    in JavaScript

    Frank

  • How to programmatically change the attribute of af:message.for?

    < p >
    I would like to know how, if possible, dynamically change the attribute 'for' of the af: message in the code for the validator in my grain of support. In my example below, I would like to change the af: message for the 'txtReportNumber' attribute 'txtCaratWeight '.

    I have included an excerpt from the next page
    & lt; AF:panelGroup binding = "#{backing_ReportVerificationCriteria4.panelGroup2} '"
    ID = "panelGroup2" layout = "vertical".
    styleClass = "body_text15" & gt;
    < /p >
    < p >
    & lt; < color = "#ff0000" > af:message < / police > binding = "#{backing_ReportVerificationCriteria4.message1} '"
    ID = "message1", color = "#ff0000" > for = "txtReportNumber".
    < / police > inlineStyle = "font family: Gil without, Verdana, Arial, Helvetica, without serif;" do-size: 15px; color: #FFFF00; make-weight: bold; left margin: 0px; Max-width: 300px; line-height: 5px; < br / >
    messageType = "none" / & gt; < br / >
    & lt; AF:objectSpacer width = "10" height = "10" < br / >
    Binding = "#{backing_ReportVerificationCriteria4.objectSpacer1}" < br / >
    ID = "objectSpacer1" / & gt; < br / >
    & lt; / af:panelGroup & gt; < br / >
    & lt; AF:panelGroup binding = "#{backing_ReportVerificationCriteria4.panelGroup3}" < br / >
    ID = "panelGroup3" layout = "horizontal" < br / >
    inlineStyle = "font family: Gil without, Verdana, Arial, Helvetica, without serif;" do-size: 11px; color: #052149; margin left: 15px; line-height: 14px; "& gt; < br / >
    & lt; AF:outputLabel value = "number of statement:" < br / >
    Binding = "#{backing_ReportVerificationCriteria4.outputLabel5}" < br / >
    ID = "outputLabel5" < br / >
    inlineStyle = "do-family: Gil without Verdana Arial Helvetica without serif;" font-size: 11.0px; Color:RGB (5,33,73); line-height: 14.0px; "/ & gt; < br / >
    & lt; AF:inputText label = "number of statement:" < br / >
    Binding = "#{backing_ReportVerificationCriteria4.txtReportNumber}" < br / >
    < color = "#ff0000" > id = "" txtReportNumber < / police > ' columns = "20" simple = "true" < br / > "
    inlineStyle = "do-family: Gil without Verdana Arial Helvetica without serif;" font-size: 11.0px; Color:RGB (5,33,73); line-height: 14.0px; "< br / >
    showRequired = 'false' immediate = "false" < br / >
    Validator = "#{backing_ReportVerificationCriteria4.txtReportNumber_validator}" < br / >
    requiredMessageDetail = 'Both report number and Carat weights are necessary.' < br / >
    required = "true" / & gt; < br / >
    & lt; / af:panelGroup & gt; < br / >
    & lt; AF:panelGroup binding = "#{backing_ReportVerificationCriteria4.panelGroup4}" < br / >
    ID = "panelGroup4" < br / >
    inlineStyle = "font family: Gil without, Verdana, Arial, Helvetica, without serif;" do-size: 11px; color: #052149; margin left: 15px; line-height: 14px; "< br / >
    page = "horizontal" & gt; < br / >
    & lt; AF:outputLabel value = "Carat weight: ' < br / >" "
    Binding = "#{backing_ReportVerificationCriteria4.outputLabel6}" < br / >
    ID = "outputLabel6" < br / >
    inlineStyle = "do-family: Gil without Verdana Arial Helvetica without serif;" font-size: 11.0px; Color:RGB (5,33,73); line-height: 14.0px; "/ & gt; < br / >
    & lt; AF:inputText label = "Carat weight:" < br / >
    Binding = "#{backing_ReportVerificationCriteria4.txtCaratWeight}" < br / >
    < color = "#ff0000" > id = "" txtCaratWeight < / police > ' columns = "20" simple = "true" < br / > "
    inlineStyle = "do-family: Gil without Verdana Arial Helvetica without serif;" font-size: 11.0px; Color:RGB (5,33,73); line-height: 14.0px; margin-left: 7.0pt; "< br / >
    Validator = "#{backing_ReportVerificationCriteria4.txtCaratWeight_validator}" / & gt; "" < br / >
    & lt; / af:panelGroup & gt; < br / >
    < /p >

    Hello

    the field 'for' supports the El. So you can use a reference of bean managed to replace the value

    Frank

  • Change the DB_LOCATION to a mapping Table after you copy it

    Hello!

    Someone knows how to change the DB_LOCATION property for the table in a map after copying it to another module withhin the same project with OMB MORE.

    After copying the mapping of all the objects still points to the old items in the repository. But the objects now in the bad module. I have the same repository as objects in the new module, and I want to change the operator of mapping to point to the objects of the new module.
    In the mapping editor achieve you by combining the mapping object with the new object to another module. How can I do this with the OMB MORE?

    Thanks in advance
    Alexander

    Edited by: user13336549 the 14.09.2010 07:40

    Hi Alexandre

    After you copy a table in a different module, change the module to define the location of data, configure the module to set the location and synchronize the mapping to use this table.

    In OMB to synchronize incoming and outgoing use OMBSYNCHRONIZE command

    On arrival:
    TABLE OMBSYNCHRONIZE "$OMB_CURRENT_PROJECT/SALES/TÄBY" MAPPING "M_W_PARAMS" OPERATOR "TÄBY" USE ('REPLACE', MATCHING_STRATEGY 'MATCH_BY_OBJECT_NAME' RECONCILE_STRATEGY)

    Outbound:
    OMBSYNCHRONIZE MAPPING "M_W_PARAMS" OPERATOR "TABX" TO TABLE "$OMB_CURRENT_PROJECT/SALES/TABX ' USE ('REPLACE', MATCHING_STRATEGY 'MATCH_BY_OBJECT_NAME' RECONCILE_STRATEGY)

    See you soon
    David

  • Grab and the attribute configuration example VI

    Hi all

    I'm trying to get the attributes of a GigE camera. I use VI example in IMAQ "setup.vi grab and attributes. I have problem of understanding, can someone please clear my doubts below?

    (1) in the diagram-block before and after the block "update attributr tree" property with David Panel updated node is used. Until the 'update attribute tree' block wa together true and after the block, he has been set to FALSE. What is the need to use it twice, especially after the attribute tree update"block".» What is the need of it affecting FALSE?

    (2) what is the logic behind using block 'cancel the acquisition configuration' immediately after 'configure acquisition? Before grab frames, if we cancel acquisition block, how executives are acquired?

    Concerning

    Neo

    NEO6 wrote:

    If affecting true allows to get the updates to defer attributes in a short time, then this makes sense again it affecting false?

    If you don't set it to false, you frontpanel does not refresh.

    I found no application folder data, under the path you mentioned. I'm using LabVIEW 2011 SP1. My idea is to save your setup file with the settings changed each time when I hit the run button and reuse the file attributes if my results are satisfactory set of parameters withose

    The location of the file is OS dependent. Under Win7 it's C:\user\All Users\Public Documents\National Instruments\NI-IMAQdx\Data

    You can use IMAQdx Write Attributes.vi to register your attributes in a configuration file

    Concerning

    Neo

  • SharePoint 2010: How to change the BCS search item

    Hello

    I use Sharepoint server 2010.I have created an external list using sharepoint designer. I customized the form by using the infopath form. I need to find an item in the external list. So I configured the search service. I am able to get the search results. I need to change the element. So, I added a new action in the Business Data connectivity service. I need to pass the URL of the form of changes in Business Data connectivity service. I am passing the URL as

    http://Sireesha/lists/EmployeeList/item/editifs.aspx?ID=_bg0100330023007300 {0} 300 & IsDlg = 1

    I am able to see a blank form without research data to change. Could you please tell me what is the URL that I have to go to add the action.

    Thank you.

    Hi sireeshab,

    Thanks for posting your question in the Microsoft answers Forum. For any questions about SharePoint, visit the SharePoint forums.

  • Change the attributes of Certificate SSL CUCM

    How can I change the values of attributes that CUCM uses to create self-signed certificates or CSR?  I am referring to the configured settings when CUCM is installed, as an organization, State, country, etc.

    Thanks, Mike

    http://www.Cisco.com/c/en/us/TD/docs/voice_ip_comm/CUCM/cli_ref/10_0_1/C...

  • change the attributes of text on working capital in muse

    Hello!

    I'll build a Web site with muse and I need to change the text attributes when I turning on the text.

    However, when I try to do this with the States Panel, it is said "beaches of text cannot be edited or formatted by the State."

    For example, I want to change the text color to red when I hover over a menu item in my navigation bar.

    or change the color of the text when I hover over the title of the tabbed panels widget.

    Thanks in advance

    -Connor

    I'll answer my own question, hope this helps someone.

    To change the text attributes such as size, color, weight or same font family, rollover, mousedown, etc. active:

    I thought that I should click until I could change the text (the normal way to change fonts, etc.)

    but for this change by the State, simply select what you want to change (click the box, do not click until it appears the text tool) then click on the 'States' tab, choose the State to change (rollover, active, normal, etc.) then click on the button next to "Text" attribute (menu, top-right in Muse cc 2014) and then change the color , weight, etc.

    This will change it for this State!

    Sorry if that was confusing. but I thought id answer my questions for me

  • Captivate 5: can you change the color of items in the timeline?

    Maybe it's easy, but I can't seem to find the answer on my own...

    Is there a way to change the color of the objects in the timeline in Captivate 5? By default, they are really light colors (blue sky for objects, the yellow light of the mouse) and it is difficult to see how long the items are extended by slide.

    Thank you!

    E


    timeline.jpg

    Hello

    Sorry for your inconvinience, but right now the colors are not configurable. From now on we will certainly examine it.

    Thank you

    Sikandar

  • Today, I can't change the order of items in the dock?

    Today, I tried to clean my dock and to rearrange the order that items appear.  Although I was able to delete icons I no longer need quick access, but I'm not able to rearrange the order in which they appear. I'd rather have those I use him more appear at the top of the docking station. I have my dock on the left side of my screen iMac 21.5 ". All the elements I want to rearrange are above this line, but they don't allow me to change the order in which they appear. In the past I have rearranged the icons, but not today. Help?

    There are ways to cause the dock must be blocked. keyboard shortcuts, maybe, but

    more are certainly the shortcuts of command-line or terminal. Some ideas of those who, here:

    • How to lock the size of the Dock, the Position and content in OS X - Mac...

    https://www.MacObserver.com/TMO/article/how-to-lock-the-Dock-size-position-and-c materials in os x

    August 28, 2015 - here are a few easy Terminal commands to lock station size, position,.

  • Programmatically change the Active Configuration results

    I use TestStand 2012 SP1.  I would like to be able to configure the Active Configuration to get results in the process template.  A station in market our sequential model would set sequential reports configuration as the current record while a station running that a batch model would fix the lot of the report as the configuration active.  In addition, if a station can be both, running the application can select the appropriate process template and he would then choose the appropriate reporting configuration.

    I have installation of configurations but need to know how to set the active configuration.  I don't want on a base by sequence, but rather at the level of the process template so that it is executed once and done.  This would allow developers to change their configuration, but still have the lot or creating sequential reports selected according to whether they are working on.

    Thank you.

    There are a few options here:

    1. Replace the ModelOptions plugin and change the setting for ModelPluginConfigurationToLoad to the appropriate configuration.

    2. Hardcode it in the callback in ModelSupport.seq.  This way if you've always wanted by automatic override features and call their own as they could.

    3. Hard-code this entry point for execution of Initialize just before the ModelOptions callback is called in ModelSupport.seq.  In this way the customer can always substitute and change it if they want.

    If it were me, I'd go with option 3 for your case.  You can use Parameters.ModelData.ModelType to determine which model they are running with.  Then, simply put Locals.ModelPluginConfigurationToLoad on the proper setup.

    Hope this helps,

  • How to change the number of items in number to Boolean, function VI table

    Hi, I'm working on using the digital output of data acquisition to control the digital input of a DAC, and I used the Number function in Boolean table. VI to convert the number to a Boolean array. The maximum number is 4096, so it must be composed of 12 elements.

    For the description of the VI, it is said that Boolean matrix returns a table of 8, 16, 32 or 64 elements, according to the number of bytes in the whole. Therefore, I change the number of channels in the task to 16, but it still does not work. The suggesitions are greatly appreciated.

    Thank you!

    Possible reasons:

    Scripture cannot be performed because the number of data channels does not match number of channels in the task.

    When writing, provide data for all channels in the task. You can also change the task so that it contains the same number of channels as the written data.

    Number of job channels: 12
    Number of data channels : 32

    Task name: _unnamedTask<1B>

    Once you have the array of Boolean, you can resize using table tools. For example you can use the "new range" with a length of 12 to pad the table of 12 elements of Boolean values (you can also use a subset of table).

Maybe you are looking for

  • How to recover email code?

    I sent an ITunes gift card by e-mail to another user.  This user has accidentally deleted the email with the redemption code.  How can get us again?

  • Safari can't connect automatically in Gmail

    Hello I just got a new machine (OS X El Capitan v.10.11.5) to work a few days ago, and Safari (v.9.1.1) allows me to stay connected to my Gmail account, unless I connect explicitly out of it before you quit the application.  Other people rarely use m

  • In charge of WPA for Tecra 9100

    Hi all Anyone know if he is in charge of WPA for the internal WLAN module in the Tecra 9100 current, or even available? Kind regards Tom

  • No link between the Satellite C660, Lexmark X 4650

    After monthe of perfect operation, my Satellite C660 and Lexmark X 4650 have suddenly stopped communicating, so I can't print over Wi - Fi (usual) or USB cable. There is an ongoing dialogue on what the laptop recognizes the printer on the network, bu

  • iTunes is no longer performs a new backup after synchronization

    With the help of iTunes 12 plus 6 s iPhone I would like to connect my iphone to my Windows PC and perform a manual synchronization every few days instead of using icloud backup or wifi sync. Now when I connect my phone and press Sync, it performs "St