Restriction similar creation of descr field name

Hello

How can we limit the entrance of the similar description different node name field.

to clarify more on my request, DRM does not allow to create nodes with the same name, instead it create a next node as the same name a node shared.

but it allows us to create different nodes with different node name but with a description similar to value i, e a core.descr of base property.

How we can restrict the creation of similar description field in DRM.

Is there any property setting should be attributed or no validation can be created that runs as a real-time allows not two similar to create description field.

Hi Madhu,

Although his delay could you please check the version levels validation script to restrict a similar description through a version below:

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

var hierlist = version. GetHierarchies();
var i;
var u;
var a1 = [];
var hiername;
var errm = "duplicate value Description';
var desArray = [];

for (i = 0; i< hierlist.length;="">
{
hiername = version. HierByAbbrev (hierlist [i]);
var n1 = version. NodeByAbbrev (hiername. TopNode.PropValue ("Core.Abbrev"));
A1 = n1. GetDescendants ("True", "True");
for (u = 0; u< a1.length;="">
{
      
var version = wink. NodeByAbbrev (a1 [u]);
the var = blink of an eye. PropValue ("Core.Descr");
(a) desArray.push;
}

}

for (var j = 0; j)< desarray.length;="">
{
for (var k = j; k< desarray.length;="">
{
If (j! = k & (desArray [j] == desArray [k]) & desArray [j]! = "" & desArray [k]!) = "")
{
          
return {}
success: false,
Parameters: [errm]
}
}
       
}
}
Returns true;

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

Thank you

Kay

Tags: Business Intelligence

Similar Questions

  • Creation of Contact the PHP export leads to failure: field 'name' must be a string value.

    Hello

    I export contacts from Eloqua to my application using the API as a whole. I am stuck at a point where I'm creating export based on my maps of fields as follows:

    GET .../contact/export

    {'name' ": example","secondsToRetainData": "3600", "fields": {"C_EmailAddress": "{{Contact.Field (C_EmailAddress)" "}}" "}}

    and the server returns an error:

    {"failures": [{'field': 'name', 'coercion': 'Must be a string value, at least 1 character and a maximum of 100 characters long.'}, {'field': 'fields', 'coercion': 'Required.'}]}

    In order to ensure that my JSON string is syntactically correct, I copied (very useful) application at http secure.eloqua.com/api/docs/Dynamic/Bulk/1.0/Export.aspx and run it through the server, which results in the same error.

    I suspect that Eloqua does not recognize parts of my application as a string payload. I use PHP to build a table that is then encoded using json_encode(). All the world has known this before and found a solution? Please share!

    Wouter

    OK, my next wag: is the Content-Type header?  It must be set to application/json.  Who met with some of the calls.

    .  Topher

  • Field names in batch process

    I can't seem to find a definitive answer or examples of this anywhere, but I have about 3500 filed the names that should change. Is it possible to create an action to modify these field names, or is there at least a better way to accomplish them all individually?

    You cannot rename fields in Acrobat using an automated process. Perhaps only

    with a plugin...

    You must use an external tool to do, or a script that replaces

    each field with a new one with the desired name.

  • How can I change the name I entered during the creation of my my name on behalf of our company Adobe ID?

    How can I change the name I entered during the creation of my my name on behalf of our company Adobe ID?

    See: How can I change the name of the account on behalf of our company?

  • Employee expiration date (field name)

    Hello

    To write a quick formula, knowledge employee termination Date (the field name). Please let me know how to find a specific Oracle Apps domain name?

    Concerning

    Shakur

    EMP_TERM_DATE is the date of termination of the employee
    You can find all the items of data in the table "FF_DATABASE_ITEMS".

    Thank you.

  • Field names of specific page using javascript

    Hello

    I want access to the names of the fields of a given in a form page.

    For example:

    I have 10 pages in a form, the pages having some fields. I want the names of all the fields on page 8. Can someone please help me with the JavaScript for the same thing?

    It would be easy if you give all the fields in question the same hierarchical field name prefix (for example, P8c.text1, P8c.text2, etc.). You then get a picture of each of them with a single statement:

    Get an array of the fields P8c

    var page8_calc_fields = getField ("P8c");

    I don't know what you could do.

  • The fields 'Name' and 'Domain' to 'DNS and routing configuration/host Identification' are always in gray

    In VI3, I used to change the settings of the host DNS (host and domain name) to the tab 'DNS and routing' - & gt; "Identification of home." Even more, if the DNS and DHCP are configured correctly in the environment, there is no need to set these values manually - they were discovered automatically. The story is defferent in vSphere 4. I still have the set of fields 'Name' by 'localhost' and 'Domain' field is empty. And I can't change them - they are grey.

    Seems that the host is still able to discover its hostname automatically. I see the proper name in the (left pane of vSphere Client) console tree. But these values are not met the 'DNS and routing' tab and I can't put them manually.

    This is normal and how do I use these fields now?

    Yes, you're right. It's a little strange, but it works this way in vSphere now.

    ---

    VMware vExpert 2009

    http://blog.vadmin.ru

  • where can I find default user to IOM form field names

    Hi all


    where can I find defalut user form field names to the IOM. BCZ I want to use this name to create tasks for updating the form user field for processing the form

    In my case I want to know the user of the status of the user domain name


    plsss help me in this

    see if you want to update the values of the fields defined by the user of the form for the user to process the form then to design console go to the Administration tab-> user defined scope - search for folder "Users" in this form, you can get your name in the column for the field of the UDF.

    It's USR_UDF_CELLPHONE add this entry in the definition of research: Lookup.USR_PROCESS_TRIGGERS and the name of the task for example change of cell phone.

    Try this and let me know. It should work.

    Thank you
    Patricia

  • Please help with dynamic form field names in cfloop

    Hello

    I need to create a form with day, date, month, year and time for 12 months

    Instead of coding them 12 times, I create fileds day, date, month, year and hour in my form 1 time, then I use cfloop from = "1" to "12" = index = 'i' to these fields in form loop 12 times.

    I gave each form field name such as: < input type = "text" name = "' ScheduleDate_ # I #" value ="" > this way, each of these fields will be named differently: ""

    ScheduleDate_1, ScheduleDate_2, ScheduleDate_3, ScheduleTime_1, ScheduleTime_2, etc.

    I am facing problem when this form is sent, I think that the error has something to do with the number sign (#) when it comes to update the back-end

    I use MS SQL

    He doesn't like this:

    < CFLOOP From="1" To="12" index="k">

    < CFIF Len(Trim(Form.MeetYear_#k#)) NEQ 0 AND Len(Trim(Form.MeetTime_#k#)) NEQ 0>

    < cfquery name ='CreateSchedule' datasource =' #DSN # '>

    UPDATE TableSchedule

    The VALUE SchedDay = < cfqueryparam cfsqltype ="cf_sql_varchar" value ='#form. SchedDay_ # k'>.

    SchedMonth =

    < cfqueryparam cfsqltype ="cf_sql_varchar" value =' #form. . "AnnMonth_ # k '>.

    SchedDate =

    < cfqueryparam cfsqltype ="cf_sql_varchar" value =' #form. . "SchedDate_ # k '>.

    SchedYear =

    < cfqueryparam cfsqltype ="cf_sql_varchar" value =' #form. . "AnnYear_ # k '>.

    SchedTime =

    < cfqueryparam cfsqltype ="cf_sql_varchar" value =' #form. . "Anntime_ # k '>

    SchedId = < cfqueryparam cfsqltype ='cf_sql_numeric' value =' #k # '>

    < / cfquery >

    < / CFIF >

    < / CFLOOP >

    Can anyone help please?

    You cannot nest sharps. Do this instead:

    SET SchedDay =

    Dave Watts, CTO, Fig Leaf Software

    http://www.figleaf.com/

    http://training.figleaf.com/

  • Hash in the database field name

    I have a domain name that has a square symbol (#) in the name. I have no control over the naming of this particular database structure. I need this output field. How the hell can I do that? How do I know if the output has a # in it, but what about the real field name?

    Thank you

    In the query, I do ' ACCOUNT # as Act ' (ACCOUNT # is the real name of the field)

    I had tried this before I posted, but it was a mistake. Copied the code into a new document to isolate all other variables on the page and now it works. Frustrating.

    Thanks for the quick response.

  • How to restrict a Min - Max value field

    I have a form wih 8 areas where the user can enter the numbers. And a box of total auto calculates the values as the total sum.

    But I want to restrict the total field as max value is 60.

    When the max value is greater than 60, popup saying error

    "Value must not exceed 60.

    Mall clear fields (text1.value = "")

    Thank you.

    The custom calculation script could be something like:

    Customized for total fields calculation script

    (function () {}

    var sum = 0;

    An array of names of input fields

    Call upon him = ['text1', 'text2', 'Text3', 'text4', 'Rem5', 'Text6', 'Text7', 'Texte8'];

    Add up the values of the input fields

    for (var i = 0; i)< afields.length;="" i="" +="1)">

    sum += + getField(aFields[i]).value;

    }

    Set this field to the amount value, unless it is greater than 60

    If (sum<= 60)="">

    Event.Value = sum;

    } else {/ / clears all the fields and the user to alert}

    Event.Value = "";

    resetForm (aFields);

    App.Alert ("error goes here.", 3 ");

    }

    })();

    Set the names of the fields in the table invoke him to match the names of the fields and to change the alert text.

  • Standard field 'Name' will not be updated using this trigger

    I do so little heavy customization so that my company can manage events in addition to the standard features of CRM and have written a trigger to be used by a mandatory field that uses the information of the event or the ability to update the opportunity name.

    Here is the code:

    If (nvl (TargetPartyId, null)! = null & & nvl (FirstDayStart_c, null)! = null & & nvl (EventType_c, null)! = null)
    {
    //------------------------------------------------------------------------ Get the Location

    vRecord def = null
    Vcle def = nvl (getAttribute ('TargetPartyId'), null)
    venue of def = newView ('SalesAccountVO')
    def scene = venue.findByKey (key (vKey), 1).
    def venueLoc = null


    If (places [0]! = null)
    {
    vRecord = places [0]
    venueLoc = vRecord.getAttribute ('PrimaryAddressCity')
    }

    //------------------------------------------------------------------------ Create the Date
    eventDate def = nvl (getAttribute ('FirstDayStart_c'), null)
    eventDate = eventDate.toString () .substring (0.9)
    eventDate = eventDate.toString () .substring (5,6) + "/" + eventDate.toString () .substring (8,9) + "/" + eventDate.toString () .substring (0.3)

    //------------------------------------------------------------------------ Determine the Module
    def eventSubType = nvl (getAttribute ('EventSubType_c'), null)
    def eventType = nvl (getAttribute ('EventType_c'), null)
    def eventModule = null
    If (eventType == 'Pièce') {}
    eventModule = 'EX '.
    }
    else {}
    {Switch (eventSubType)}
    case "on the spot":
    eventModule = "O".
    case "regular":
    eventModule = "M".
    case "Curriculum":
    eventModule = 'C '.
    case 'hybrid ':
    eventModule = "H".
    case "upper Quadrant":
    eventModule = 'UQ '.
    case "Introduction":
    eventModule = 'IN '.
    }
    module def = nvl (getAttribute ('Module_c'), null)
    If (module.contains("1")) {}
    eventModule += "1".
    }
    Else if (module.contains("2")) {}
    eventModule += '2 '.
    }
    }

    //------------------------------------------------------------------------ Create and Set the Name
    def venueLoc = eventName + "-" + eventDate + '-' + eventModule
    setAttribute ('Name', eventName)
    }

    This trigger runs when a value is selected in the area assigned, which takes place during the creation of the opportunity.  It works if I turn setattribute() on the 'Comments' field, but not on this one.

    One thing that might be important: I changed the word '' opportunity '' to the 'event' by using the "Text of User Interface" option, but nothing has changed on the 'name' field I would say.

    Thanks in advance!

    This has been fixed, but it works in the simplified user interface.  This isn't a huge problem, but I would like that there was consistency.

    I think that the only problem was that I was using an incorrect object for the account name.  I used SalesAccountVO so I had was OrganizationProfile.  I'm going to suspicion because I also reorganized the way I was doing other things.  He remains the prime suspect, although, since it was the value NULL only showing in simplified.

    Here's the modified code:

    //------------------------------------------------------------------------ Location

    vRecord def = null
    Vcle def = nvl (getAttribute ('Facility_Id_c'), null)
    venue of def = newView ('OrganizationProfile')
    def scene = venue.findByKey (key (vKey), 1).
    def venueLoc = null
    If (goings. Size() == 1)
    {
    venueLoc = places [0]. PrimaryAddressCity
    }

    //------------------------------------------------------------------------ Date
    def startDate = nvl (getAttribute ('FirstDayStart_c'), null) m:System.NET.SocketAddress.ToString (.split("")) [0]
    eventDate = startDate.substring(5).replace("-","/ def") + ' / ' + startDate.substring (0.4) "

    //------------------------------------------------------------------------ Module
    def eventSubType = nvl (getAttribute ('EventSubType_c'), null)


    def eventType = nvl (getAttribute ('EventType_c'), null)
    def eventModule = null
    If (eventType == 'Pièce') {}
    eventModule = 'EX '.
    }
    else {}
    {Switch (eventSubType)}
    case "on the spot":
    eventModule = "O".
    breaking
    'Normal ': case study
    eventModule = "M".
    breaking
    case "program":
    eventModule = 'C '.
    breaking
    case 'hybrid ':
    eventModule = "H".
    breaking
    case "Quadrant":
    eventModule = 'UQ '.
    breaking
    case "Introduction":
    eventModule = 'IN '.
    }
    module def = nvl (getAttribute ('Module_c'), null)
    If (module.contains("1")) {}
    eventModule += "1".
    }
    Else if (module.contains("2")) {}
    eventModule += '2 '.
    }
    }

    //------------------------------------------------------------------------ Name
    def venueLoc = eventName + "-" + eventDate + '-' + eventModule
    setAttribute ('Name', eventName)

    There is more to do, but it's null value just controls and so on.  Thanks for the help!

  • date of creation of the renaming name problem

    Hello, when I import and rename the lot of avchd files, I choose Rename with date/time of creation AAAMMDD HHMMSS.

    But the name that is created to import name. All I want is the same date, which is imported from date.

    Metadata is good. For example, a file with the 20140605 creation date, I'll have the creation date which is the date today and the time.

    Everything I chose date creation or import.

    Can you help me?

    Thank you

    Hi Kanadiou,

    When you rename choose date/time, it tells you the file creation date and time. This you can check in the file properties.

    You can choose a predefined custom text field and fill in the date and time that you want for the particular file.

    In fact few of the fields predefined (text personalized and custom Auto increment; check the screenshot) can be customized, and the rest of the fields display values fixed by renaming.

    I hope it helps.

    Thank you

    Mayjain

  • Extract ODBC data Long field names

    I need to extract some data created by the 4 lookout data logging (files .thd).  Is it possible to do so. I use a PC that does not have installed belvedere, I only database files

    What I got so far is to export some fields whose names are less than 62 characters (using the program Logos 4.5 and driver ODBC database of 4 of Citadel by strict limitation of the field at 62 names). If I increase the limit to about 100 required to extract all the fields I can't export to Microsoft Query or any other software (which supports the import of ODBC database). I've tried several programs but usually they jump a message you can read that one point in time (or they do not see the fields or values at all)

    Please, can you tell me a way I can extract the data?

    The lifecycle of database is not applied in an aggressive manner. The database do not try and remove data simply because life has expired. On the contrary, the life expectancy is applied only when new data are currently recorded in the database and the log would need to increase the size of the database to store incoming data. The rate at which data are removed from the database may vary according to the rate at which new data are recorded in the database. If the frequency of recording is slow, it may take a long time for the data to be deleted.

    J.D. Robertson

    National Instruments

  • FieldManager Losst Focus field name

    Dear Guys,

    I'm onUnfocus in horizontalFieldManager method substitution, but always I get exceptions when run the following code...

    I want to get the names of the fields in the focusIndex variable in the code below

    any help / links would be greatly appreciated...

    int focusIndex = -1;
                protected void onUnfocus() {
    
                    focusIndex = this.getFieldWithFocusIndex();
                    //int direction = 0;
                    //Field fldName =  hProjectsTab.getField(focusIndex);
                    super.onUnfocus();
                    try{
                        Dialog.alert("FOCUS LOST");
                    }catch(NullPointerException ex){ Dialog.alert(ex.toString());}
    
                    //super.onFocus(direction);
                }
    

    Rgds

    Nadir Firfire

    SOLVED

    http://supportforums.BlackBerry.com/T5/Java-development/horizontal-field-lost-focus-to-get-field/TD-...

Maybe you are looking for

  • How can I recover my favorites after having reinstalled Win7 and Firefox?

    I had to reinstall Win7 and Firefox and now need to find my bookmarks file and put it back in Firefox. What is called, and where is it located?

  • The Touchpad right button does not work on the Satellite Pro L series

    The icon in the taskbar indicates that the right button is permanently pressed, if it is not.So I can't right click at all. A radio mouse works fine, but there are times I want to use the touchpad. In addition, the screen does not turn off, and the c

  • print two-sided 276dw incorrect order

    I am running Office2013 on a computer of Windows8. I have not connected a wireless OfficeJet Pro 276dw printer. When I print a duplex of multi page documents the order page is incorrect. He released 2/1, 4/3 and 6/5 instead of 1/2, 3/4 and 5/6. How d

  • My DVD - RW drive won't read any discs of all kinds

    Original title: Please help me with my cd/dvd! I have a laptop HP Compaq 6735 s with a Xp Sp3 system and I have problems with the Sony optiarc DvdRw AD7561S dvd, he doesn't read any type of disc (Cd and DvD new or original or burned), anyone have a s

  • Call log displays only the latter do not miss after Ics

    Verizon droid RAZR maxCall log only shows recent and doesn't let you do a journal of everything just do not miss after IcsYou used to be able to select different "missed" call logs Entrants and the GOI.The 'recent' tab does not draw down to offer the