Validation setting required for custom properties

Hello

I have a custom as property: ProjectManager (data type: String) and you want to define a validation for this property at the level of the node.

The value of this property must be entered in the format Lastname, Firstname M. (Raj, Mr.Fernandez). How to achieve this?

Thank you

Fernandez

Raymond Fernandez

Please try and use this instead of the one i gave earlier-

If)

IsBlank (PropValue (Custom.ProjectManager)), it's true.

And)

Equals (Integer, POS (|, ReplaceStr (ArrayItem (PropValue (Custom.projectmanager), [Space], 1), [Comma], |, false)), length (ArrayItem (PropValue (Custom.projectmanager), [Space], 1))),

IsAlphaNumeric (ReplaceStr (ArrayItem (PropValue (Custom.ProjectManager), [Space], 1), [Comma], True), False);

(Or)

And)

Equals (String, SUBSTRING (ArrayItem (PropValue (Custom.projectmanager), [Space], 2), 1, 3), Mr.),

IsAlphaNumeric (SubString (ArrayItem (PropValue (Custom.ProjectManager), [Space], 2), 4, Length (ArrayItem (PropValue (Custom.ProjectManager), [Space], 2))), False)

),

And)

Equals (String, SUBSTRING (ArrayItem (PropValue (Custom.projectmanager), [Space], 2), 1, 4), Mrs.).

IsAlphaNumeric (SubString (ArrayItem (PropValue (Custom.ProjectManager), [Space], 2), 5, Length (ArrayItem (PropValue (Custom.ProjectManager), [Space], 2))), False)

)

)

)

)

Tags: Business Intelligence

Similar Questions

  • What is the function of the IOS minimum set required for VPN site-to-site software?

    Hi guys,.

    I have a Cisco 1841 router to do a VPN site-to site. I would like to know what is the function of the IOS minimum set required for VPN site-to-site software?

    Thanks in advance.

    Hi Ja,

    Advanced security or more should do it. The version of the IOS, you can try later 12.4 T which is c1841-advsecurityk9 - mz.124 - 24.T5.bin, in which case you don't want to go to 15.1 still.

    I hope this helps.

    Raga

  • I need a Set accessor for custom data

    The vSphere API exposes a SetField method to handle custom fields stored in the object, but I was able to sort out how to access with the perl SDK.

    http://www.VMware.com/support/developer/VC-SDK/visdk41pubs/ApiReference/Vim.CustomFieldsManager.html

    Yesterday, I was able to sort out how to access these custom data.  Details of my rather inelegant solution are found here:

    http://communities.VMware.com/message/1891199#1891199

    While it works fine, it is creating a dependency on the structure of the object's data, rather than using its published interfaces; that is fragile to changes in underlying libraries.  If anyone can point me to an object-> method() documented to do so, I would be grateful.

    But tonight my goal is to find a way to set the values of these custom fields.

    sub update_custom_data_by_name {
      my $self = shift;
      my $vm = shift;
      my $custom_field_name = shift;
      my $custom_field_new_value = shift;
    
      print 'Our value starts as: ' . Dumper $self->extract_custom_data_by_name($vm,$custom_field_name);
      my $value;
      foreach my $field ( @{$vm->get_property('availableField')} ){
        if( $custom_field_name eq $field->{'name'} ){
          my $key = $field->{'key'};
          foreach $value ( @{$vm->get_property('customValue')} ){
            # $field->setField($key,$custom_field_new_value);
            if( $value->{'key'} eq $key ){
              $value->{'value'} = $custom_field_new_value;
              print Dumper( $value );
              $vm->update_view_data();
              last;
            }
          }
        }
      }
    
      my $confirmed_field_value = $self->extract_custom_data_by_name($vm,$custom_field_name);
      return $confirmed_custom_field_value;
    }
    

    Commented the call to-> setField died as planned to call an undefined method.  While it is defined in the underlying API, it is not exposed by the perl bindings.

    The Dumper() call in the second nested condition shows me the value I'm looking for.  While I have this practical value, I so go ahead and -> update_view_data() before leaving the scope.  However, after the bombing of this loop, pulling this value (using the new method from last night to this effect), me gives UNDEF, so I know I'm an impact, even if not update its value I intend.

    My output looks in part like this:
    
    Our value starts as: $VAR1 = 'DEV';
    $VAR1 = bless( {
                     'key' => '10006',
                     'value' => 'Staging.Refurbish'
                   }, 'CustomFieldStringValue' );
    Our updated custom value is now: $VAR1 = undef;
    

    Can someone please tell what it is that I'm missing here?

    Take a look at these examples that show you how get/set of custom fields to vCenter:

    Download

    http://communities.VMware.com/docs/doc-10220

    Set

    http://communities.VMware.com/docs/doc-14586

    http://communities.VMware.com/docs/doc-10550

  • Custom properties to allow the applicant Blueprint set the IP address and select a network

    Hello

    I have a property definition that defines


    VirtualMachine.Network0.Name

    This provides a drop-down list with the preset values, by which an applicant may select a network to which they want to connect their virtual computer. It works perfectly and the VM has asked is connected to the respective vSphere port group.

    I try to combine the above property with the

    VirtualMachine.Network0.IPAddress

    I have this Setup to allow the applicant to specify an IP address. Whatever the applicant put slot shape that is assigned the IP address simply network profile and the specified user address is ignored. This happens if I configure the property above in a group of properties or directly on the plan of action through custom properties.

    Any ideas?

    I think the confusion here is with the objects on network on the design canvas.

    I worked on a similar solution this week. I need the customer to select the network and to set an IP address. Ultimately, this does not work if there is a network object on the canvas of the design. We have to finish with that.

    Second, you can't assign network properties to a component of virtual machine on the EHR Architecture directly. The designer will complain if you try and these values are set directly. The properties must be part of a group of properties.

    So for me, I have a property group with:

    VirtualMachine.network0.Name

    VirtualMachine.network0.Address

    VirtualMachine.network0.SubnetMask

    VirtualMachine.network0.primarydns

    VirtualMachine.network0.Gateway

    Under the definitions of properties, I have a drop-down list of values for virtualmachine.network0.name.

  • Files which are required for Windows to run properly have been replaced by unrecognized versions

    I get this window popping up that reads, "files required for Windows to run correctly have been replaced by unrecognized versions.»  To maintain system stability, Windows must restore the original versions of these files.  Insert your Windows XP Professional CD2 now. "The problem is that I'm not running XP Professional.  I am running XP Media Edition (do not know what version - when I look at 'System' in the control panel it says version 2002, but the OS disc that came with my computer says version 2005 with update rollup 2).  In any case, I only have an installation disc, and when I insert it, the computer tells me it's the wrong disc.  What should I do?

    God help us all...

    Is the CD you have an XP bootable installation CD authentic or some kind of restore CD provided with your system (they are not the same thing).  If it's a CD of Windows, this Service Pack is on the CD?

    Describe your current antivirus and software anti malware situation: McAfee, Symantec, Norton, Spybot, AVG, Avira!, MSE, Panda, Trend Micro, CA, Defender, ZoneAlarm, PC Tools, Comodo, etc..

    If the system works, what do you think might have changed since the last time it did not work properly?

    What is your Service Pack installed?  If you are not sure, do the following:

    Click Start, run and enter in the box:

    Msinfo32

    Click on OK and when the system info summary appears, click on Edition, select all, copy, and then paste the results here.

    There will be some personal information (such as the user name and the name of the system), and what appears to be personal information for you, simply delete the personal information of the pasted information.

    When you see a message like this:

    Windows file protection
    Files which are required for Windows to run properly have been replaced by unrecognized versions.  To maintain system stability, Windows must restore the original versions of these files.

    I hope that you are curious to know what is the file and when you know that, you can decide what to do about it.

    You must click Cancel, and then click Yes to keep the file, then you will have an event to watch which will tell you what the problem is the file.

    Search where you sign in to see what is the name of file system Viewer, then decide what to do.

    The event will look something like in this example:

    Event type: Information
    Event source: Windows File Protection
    Event category: no
    Event ID: 64005
    Date: 10/01/2011
    Time: 14:41:56
    Description:
    The protected system file taskmgr.exe had not been restored in its original, valid version because the Windows File Protection restoration process was cancelled by user interaction, user name is Jose.  The file version of the bad file is unknown.

    When you know what the file is, you can decide what to do about it.  There are probably other copies of the files on your system, or you can get the files from another source.

    A shortcut to the event viewer is to click on start, run and enter in the box:

    eventvwr.msc

    Click OK to launch the event viewer.

    Check your event observer system log and look for a proposed Windows file protection event.

    If you double-click on an event, it will open a window of properties with more information.  On the right are black up and down arrow keys to scroll through the open events. The third button that looks like two overlapping pages is used to copy the details of the event in your Windows Clipboard.

    When you find an interesting event that occurred at the time of your question, click on the third button at the top and arrows to copy the details and then you can paste the details (right click, paste or CTRL-V) the text in detail here for analysis.  Remove all personal information from your information after you paste If you are forced to do so.

    P.S. Let us know how you go with these Microsoft KB article suggestions.

  • Under XP, while doing a disk cleanup, get a message "files required for windows runs properly have been replaced by unrecognized versions.

    While doing a disk cleanup, I received a message "files which are required for windows to run properly have been replaced by unrecognized versions.» To maintain system stability, Windows must restore the original versions of these files. Insert your CD-ROM in Windows XP Home Edition now. "and I did not... I can restore it online?

    * original title - windows file protection *.

    Maybe someday the dialog box 'ask a question' forums XP will ask these questions automatically when a new thread is started so I don't have to ask every time.  It might even be possible to solve a problem in a single response when enough information is provided.

    Please provide additional information on your system:

    What is your Version of XP and the Service Pack?

    Describe your current antivirus and software anti malware situation: McAfee, Symantec, Norton, Spybot, AVG, Avira!, MSE, Panda, Trend Micro, CA, Defender, ZoneAlarm, PC Tools, Comodo, etc..

    If you have a genuine XP installation CD bootable which corresponds to your currently installed Service Pack, you won't get away with instructions to run sfc/scannow.

    Windows file protection wants to replace a file of the backup copy he keeps in the dllcache folder and WFP found that the backup copy of the file on your system is not look right, so he complains (there is a list of 3498 files PAM knows).

    When you see the original message, if you click Cancel, then choose 'keep' the file afflicted, you will see a warning message, and then a message like this in the case where the system log viewer:

    Event type: Information
    Event source: Windows File Protection
    Event category: no
    Event ID: 64005
    Description:
    The protected system file taskmgr.exe had not been restored in its original, valid version because the Windows File Protection restoration process was cancelled by user interaction, user name is Jose.  The file version of the bad file is unknown.

    As you can see, the file that WFP is concerned is clearly stated in the paper, so now you know what is the file.

    For the above example, I used my (taskmgr.exe) Task Manager file to reproduce the problem.  You need to see what your event viewer message says.

    When you know what the file is, you can decide what to do about it.  There are probably other copies of the files on your system, or you can get the files from another source.

    A shortcut to the event viewer is to click on start, run and enter in the box:

    eventvwr.msc

    Click OK to launch the event viewer.

    Check your event observer system log and look for a proposed Windows file protection event.

    If you double-click on an event, it will open a window of properties with more information.  On the right are black up and down arrow keys to scroll through the open events. The third button that looks like two overlapping pages is used to copy the details of the event in your Windows Clipboard.

    When you find an interesting event that occurred at the time of your question, click on the third button at the top and arrows to copy the details and then you can paste the details (right click, paste or CTRL-V) the text in detail here for analysis.  Remove personal information from your information
    After having stuck if you are forced to do so.

    Do, or do not. There is no test.

    I decided to implement the points for a new puppy instead of a pony!

  • Suggestions for improvements UCS for customer experienced

    I soon do my first audit for an experienced UCS client (not the best idea, I know). I guess that everything is properly configured with the latest fw and software.

    Does anyone have a suggestion of a factor often overlooked in a UCS configuration I can verify for this customer?

    I can give you a few things to check.  Some features depend on the UCSM version as well.

    -Review all logs audit & vulnerabilities, fix what you can

    -Examine the use of resource, highlight Pools close to the depletion

    -Examine all levels FW including BIOS, make sure that everything is at a uniform level.

    -Check the interfaces configured by unused.  (May be active, but not cable).

    -Check Core files.  May indicate a problem past or present

    -Ensure SALT newspapers are backed up regularly and allowed to an external server

    -Ensure that syslogs are enabled

    -Control of user accounts.  They use a unique 'admin account ' to use RBAC. Give users min. access to the performance of their tasks. Accountability when you use authentication to remote or 1:1 local user accounts.

    -Ensure the Call home is on & set up

    -Review the use of licenses & requirements for future expansion

    -Check if the follow-up Mgmt interface is enabled

    -Binding configuration rising test.  They use the individual links or Port channels for aggregating best.

    -Is the quality of service while running or could improve bandwidth consumption

    -Are used models (vNIC, Service profile etc.) for consistency with deployments

    -CDP enabled on vNIC?  Help with guests such as vSphere Tshooting CDP supported.

    That should help you get started on a checklist...

    Robert

  • Dynamic custom properties

    Hi Jas, Frank, and all,

    We have a client where we use the ODS maintenance service and have used properties custom screens to activate the rendering engine from the user interface to apply formatting for screen definitions options.

    < typ:properties >

    < typ:property key 'screen-icon-color' = > Green < / typ:property >

    < / typ:properties >

    It's that everything works fine, except that now it is necessary to dynamically change the value of custom property based on a value of attribute and rule later.

    1. for example

    the screen-icon-color screen1

    'blue '.

    the person is happy

    'red '.

    the person who is not happy

    "green".

    in the opposite case

    How do we set the values of custom properties based on an attribute value?

    I had hoped " " % screen1IconColour % "would that work, but it's not... "

    See you soon,.

    Kris

    Cannot change custom properties. They are designed to be attached to properties of objects such as controls and they do not change based on rules.

    However, you can create attributes that are used to control the Visual display.

    In your case, you could create a "screen-1 color" attribute defined on the color based on the happiness of the individual.

    If you add the attribute to the screen, it will be returned to the screen in the maintenance department, you can even hidden and read-only if you want to do. Then it's just a matter of the use of this attribute from the XML form as an indicator of color rather than an attribute value.

    Hope this helps

    See you soon

    Frank

  • Download vCloud VM Custom Properties

    Hello

    I try to get the custom properties (product section) a vCloud VM via the api, I can get the label and description, but the value I receive is not set.

    When you try to retrieve the custom properties via vmtoolsd inside the guest os, I can see the value properly, but I need to get the value of vCo through the vCloud API.

    Thank you.

    Hello

    To get a value I follow these steps:

    if ((!vApp) || !(parameterKey)) {
        return null;
    }
    //System.log(vApp.toXml());
    var productSections = vApp.getProductSections();
    
    for each ( var productSection in productSections) {
        var catList = productSection.categoryOrProperty;
        var elements = catList.find(new VclProductSectionProperty()) ;
        for each ( var cat in elements ) {
            if ( cat.key == parameterKey ) {
                return cat.valueAttrib;
            }
        }
    }
    return null;
    

    It is inside an action of "getVAppCustomParameterValue" with VAPP and parameterKey as a starter and a returned string.

    Christophe.

  • Apex 4.0.1; automatic fire validations not null for full items

    Hello

    I have a form with two elements (textarea and select list), where the fire automatic validations not null for these items, they were filled with values.
    Please, advise how to debug.

    Link to the image: http://xmages.net/storage/10/1/0/6/e/upload/1565181d.jpg

    Thank you

    Hi Edward,.

    No, they don't. Because the server does not actually know what happens in the browser. And because of security, which should also be separated, because otherwise someone could hide a page element and work around a not null not check on the server.
    So in your case you if the "not null" for a page element is conditional, you must set the indicator required for 'No' and create a regular validation "not null" with a similar condition your dynamic action.

    Concerning
    Patrick
    -----------
    My Blog: http://www.inside-oracle-apex.com
    APEX 4.0 Plug-Ins: http://apex.oracle.com/plugins
    Twitter: http://www.twitter.com/patrickwolf

  • UMI-7774 required for readers of nor?

    I'm a movement control system design using 3 stepper motors (or Nema 23) and therefore 3 or P70360 readers. Is a umi-7774 required to connect to the controller 4 card pci motion-axis?  (I'm confused as its description on the site nor said that it is necessary for the 3rd party readers BUT in discussions I've read a lot of people have used umi 7774 or readers)

    Hello aks.

    Yes, you will need to purchase and use our 7774 universal movement (UMI) Interface to connect the three engines of readers / motion controller card.

    He could have confused because it does not explicitly say that it is necessary for the 3rd party readers, but not necessarily required for our readers. That said, the vast majority of customers use the UMI Board, because it eliminates the need for custom cables and makes it much easier to connect to several axes.

    Here are some links that can provide more details and could be useful.

    [1] NI Stepper Motion System selection guide

    [2] of wiring for a movement with a Danaher drive system explained

  • Card required for control special measures

    Hello!

    We have some NOR-DAQ cards (PCI-6221, 6251 and 6036E) but none of them seem to be capable of the following measure.

    There is a digital pulse train that must be received (practically with a meter). To measure the VOLTAGE to a channel of AI when a pulse is received. The frequency of the pulses can be 1 KHz, therefore generating events at each pulse for the PC is not viable. He must also know where the pulse OCCURRED (something as the card should have its own clock and should be able to put next to the measured voltage value).

    In addition, the map should give a sign of output (pulse change or line) of 1. the number of pulses reached a given amount or 2. the voltage is lower or exceeds a value given to a channel to HAVE. If an automatic output is not available at least we have an event to the PC.

    Will there be any card to fix this? In fact the card must have at least two meters since we have two trains of digital pulses, but only is active to a degree. Thank you very much for your suggestions!

    Could you clarify it please ", we have two trains of digital pulses, but alone is.
    Active to a degree.  You check in for a number of pulses on several lines?  You have more than one channel of Analog Input?

    Without taking into account the requirement for the 2nd train of digital pulses for the moment, to my understanding of the application the 6251 could do you need:

    1. the signal of AI must be connected to the 6251, since it is the only one of the three that supports analog trigger.

    You need to configure an analog reference trigger to allow comparison shipped.  You can use the line to HAVE it if you are sampling just one channel (or an APFI line if you're sampling from multiple channels).  Export event of analog comparison will tell you when the signal is outside a certain threshold (the graph presents 'Entering the window' but you can select "Exit" instead):

    2. connect the Digital pulse train to one of the PFI lines on the 6251.  It will be the sample for your task clock to HAVE.

    4. use the same PFI line as a source for a meter (pulse) output task.  Set the initial delay so that when the desired number of pulses have been counted you will produce a pulse on the output of the counter.

    5. you now have a line telling you what N pulses have been reached (from step 4) and a line telling you where I is outside a window (in step 1).

    6. If you want to timestamp pulses using the edge of the Office counter, you must use the counter 2nd as a county of edge stamped with the external pulse as your sample clock signal.  This will give you a very precise timestamp of your external impulses (compared to the beginning of the task).

    If you need for impulses of timestamp on multiple lines, you can look in the task configuration of change detection of DI on the 6251 and using change detection event as the sample for the task of counter clock.  You must implement logic in SW to determine which line has generated the actual event.

    You have also 4 other counters to play with on your other DAQ hardware two, so depending on what you want to do, you should have a little flexibility.

    Best regards

  • What are the network requirements for the remote server of the Panel?

    What are the network requirements for the remote server of the Panel?

    I tried for awhile now to set up a Control Board.  I can connect to my remote panel of computers from other computers on my local network but nowhere else.

    Whenever I use web publishing tool gives me a URL in this format: Http://Computer-Name.Corporate-Name.local:8086 / VI - nom.html apparently it means I have a local DNS server and this URL is meaningless to the public.

    When I try to connect with the Operate > Connect to... remote control, I get this error message:

    "Connection to Server remote panel...".
    "Connection refused by the server remote control specified: make sure that the LabVIEW Web server is enabled on the specified server.

    I got the same error when I tried to host a remote panel from my laptop at home, on my Wi - Fi.  Is there some network settings or firewall I'm not seting?  Would it be my server or the router or the private network?

    My goal is to be able to host remote panels of my laptop while I'm on the international scene, creating using 4 G internet mobile.  Is it still feasible?

    As he Turners on my router had to be put in place so that my Port is in the rage of transfer.  Also I had to disable DHCP.  Without that you cannot host behind a router.

    These are the instructions I put fallow:http://digital.ni.com/public.nsf/allkb/B1E9A3D78BAED949862573AD0065D4D2

  • Error of USB host - peripheral controller is not working properly because Windows cannot load the drivers required for this device. (Code 31)

    Original title - USB - IF xHCI USB Host Controller

    This device does not work properly because Windows cannot load the drivers required for this device. (Code 31)

    I have a permanent error on my computer and when I run the troubleshooter I get the above message.  It says Windows cannot load the driver.

    Hello

    USB devices remove all you can - restart the computer - is still there, the error? If it isn't
    It is related to one of the add-in devices that you removed. If she is still there, then, the question is
    either a device internal who can not remove or physically with the USB bus itself.
    If it was not there, add devices at a time until it is displayed - keep in mind that it is
    possible that there are two (or more) devices in conflict over the issue. Once you
    identified the check of the aircraft with the help of the manufacturer.

    1. to find the control panel - device - device - right-click on it - uninstall - Manager then
    Restart the computer to see if it clears.

    2. same place - double click on the device - driver tab - driver update - to see if that helps.

    3. check with the support of system manufacturer (manufacturer of motherboard for customized systems), their
    online documentation and drivers, diagnostics and ask questions in their forums on all known
    questions. Update the Bios and chipset or other USB drivers.

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

    If necessary, we will use these additional troubleshooting methods:

    How to fix Code 31 errors
    http://pcsupport.about.com/od/findbyerrormessage/a/code-31-error.htm

    I hope this helps.

    Rob Brown - Microsoft MVP<- profile="" -="" windows="" expert="" -="" consumer="" :="" bicycle=""><- mark="" twain="" said="" it="">

  • A software says I need 4 MB of VM set aside for the program to run.

    Original title: virtual memory.

    How to set 4 MB of virtual memory in windows xp? A software says I need 4 MB of VM set aside for the program to run.

    Hi KennethBrasel,

    Welcome to the Microsoft community where you can find all the answers related to windows.

    According to the description provided, looks that you receive a virtual memory message when installing a program on Windows XP computer.

    By default, the virtual memory paging file that is created during installation is 1.5 times the physical RAM on your computer. Therefore, a computer that has 1 GB of RAM installed will have 1.5 GB of virtual memory.

    You can manually change the size of the swap file to make it larger or smaller. You can also optimize virtual memory use by dividing the space of files between multiple drives and by removing the disks slow or very open space.

    He would be grateful if you can answer this question in order to help you further.

    1. What is the size of your RAM memory?
    2 are. what program you referring?

    I suggest you try the following steps to change the virtual memory:

    a. Click Start, right click my computer and then click Properties.

    b. in the System Properties dialog box, click the Advanced tab.

    (c) in the results pane, click settings.

    d. in the performance Options dialog box, click the Advanced tab.

    e. in the virtual memory section, click on change.

    f. change the initial size value and the value of maximum size to a higher value, click on set and then click OK.

    g. click OK to close the performance Options dialog box and then click OK to close the System Properties dialog box.

    Note: With virtual memory, the computer can use the hard drive as memory (RAM) space. The computer uses virtual memory to increase the ordinary RAM that is installed on the computer. If you reduce the size of the pagefile, some the program may not start correctly or may not start at all. This problem may occur even if the computer has plenty of RAM.

    If you need Windows guru, do not hesitate to post your questions and we will be happy to help you.

Maybe you are looking for