Re-use Optionlist field as free text field

I have a custom type = Text metadata field and this is a list of Option. This field is used in a profile as it is and I'd like to use the same field in another profile as a free text field. Is this possible using the rules of profile?
I tried xField:hasOptionList = 0 in side effects, did not work.

Or you can just create false... custom code ;-)

In the side effects of your profile section, assuming that your current option list field name is "myOptionListField":

<$setResourceInclude("std_prepare_metafield_include","<$include super.std_prepare_metafield_include$><$if fieldName like \"myOptionListField\"$><$fieldIsOptionList=0$><$endif$>")$>

Pay special attention to the quotes around "myOptionListField" escape sequence Drop the escape sequence will cause the code to break. You could, of course, use single quotes in this case, but eventually you will run up on top of a situation using this technique where you'll get confused and start of simple mix and double if the code is complex.

Tags: Fusion Middleware

Similar Questions

  • can not reach the optionlist field in std_edit_entry within the archiving of document

    Hello all,.
    I try to customize the page to save the document in a custom component that has a resource with std_edit_entry file, what I want to do is based on a specific value in the list in the field made a specific customization.

    but the problem is when I do the customization on a filed optionlist, nothing happened. given that I can't assign to this topic. only can test and verify text fields; No optionlist fields.

    Assume that my std_edit_entry as follows:

    < html >
    < head >
    < meta http-equiv = "Content-Type" content = text/html"; charset = utf-8 ">"
    < title >
    TestCheckin htmlIncludeOrString < / head >
    < body >
    < @dynamichtml std_edit_entry @ >
    < $if not isFieldTreeEdit$ >
    < $editEntryName = $fieldName >
    < $country = $ 'xCountry' >
    < $firstName = $ 'xFirstName' >
    < $curValue = $ xml (fieldValue) >
    < $if isStrictList and isMultiOption$ >
    [[% fieldId will point to popup link (or button) defined subsequently to %]]
    < $inputFieldId = $ fieldId & "_hidden" >
    < $else$ >
    < $inputFieldId = $ fieldId >
    < $endif$ >

    < entry id = "< $inputFieldId$ >" < $if isStrictList and isMultiOption$ > type = 'hidden' < $elseif fieldType as 'Password' $> type = "password" < $else$ > type = 'text' < $endif$ > name = "< $editEntryName$ >" size = "<$ $fieldEditWidth >»
    < $include std_edit_entry_inputfield_attributes$ >
    < $if fieldMaxLength and isEditMode$ > maxlength = "< $fieldMaxLength$ >" < $endif$ > value = "< $curValue$ >" < $include text_field_enter_for_search$ >
    < editEntryName $if as country$ > onblur = "testFunc ()" < $endif$ > "
    / >

    < script type = "text/javascript" >
    function testFunc() {}
    Alert (' this is xCountry field ');
    }
    < /script >
    [[% text field can be leaves % dependent on choice list]]
    < $if useSchema and not noSchema$ >

    < $if not hasOptionList and isTrue(#active. $IsDependentList) >
    < script >
    < $useCurrentValue = $ 1 >
    < $include js_set_schema_field_options$ >
    < $viewFieldId = $ inputFieldId >
    < $include js_register_schema_view$ >
    < /script >
    < $jsViewName = "" $> "."
    < $endif$ >
    < $endif$ >
    < $if isStrictList and isMultiOption$ >
    < $include std_select_entry_special_selections$ >
    < $endif$ >

    < $else$ >
    < $if isQuery$ > < name span = "< $fieldName$ > _displaySpan" > < / span > < $endif$ >
    < $endif$ >

    < @end @ >

    < / body >
    < / html >

    Suppose the xCountry field is a list of Table-see with countries. and the xFirstName field is that a text field can be filled out by your name.
    in the example above, the onblur function does not work because the field is list, if I change the field to be xFirstName text, the onblur function works fine.

    so I can't test on the value of the option list fields. I tried to do my check * < $if editEntryName as country$ > onblur = "testFunc ()" < $endif$ > * "
    inside a special control, also does not work as:
    -$if fieldIsOptionList$ >
    -$if fieldHasOptionList$ >
    -$if isOptionList$ >
    -$if hasOptionList$ >

    any help or any suggestion to reach and affect the fields in the list.

    Note: the version of the AAU is 11.1.1.1.6

    Published by: Najdawi on 6 may 2013 07:27

    But the problem now that what I'm trying to change it, nothing happened. try and javascript code, add static text, change ID--> but no reflection that's happened.

    Where have you changed it?

    Note that the same include can be included in multiple components (patches), and you need to change the one with the highest loadOrder or (recommended), create your own custom with a container resource component understanding and having raised enough loadOrder (that you will have to do anyway).

    Try doing a search for <@dynamichtml std_option_list_entry@=""> in standard and custom components. Brutal force might be to change each of them (I put a static text in front of the)<>

    Note that sometimes for the need to restart the server to enable changes (here, it shouldn't be necessary, but it will do no harm).

  • Is it possible to resize the content of at the same time multiple bounding boxes by using number fields in the toolbar?

    I'musing cs6 and need to resize an image and two text boxes on a specific pixel width.

    I try to select all the boxes and punching in 960 px in the resizing of the toolbar field, but only the bounding boxes and not their content get resized...

    Use the field of horizontal scaling (and include units) rather than the field width.

  • Need some tips on using the field

    I'm a bit of a newbie in this aspect of RoboHelp and could use some advice.  We use RoboHelp 9.0.1.262 on Windows for a Microsoft HTML project.

    Help, I work with the Basic uses of the project sensitive context help (linked pages with pop-up windows), on each page of the interface of the software (Help button) and help on the fields and the other buttons field (click on the? mark). Developers have already added using software and sent me a text string and a value digital (or hex) pay-per-view to. I wrote the help and created the text file using the field. Everything works except the help of the field.

    The sheet of cheats, drafted by the previous writer explained that you need to create a text file called < tout_nom > .txt this help in the format text:

    .topic HIDC_OPTIONS_EXAMPLE

    Sample text for the field.

    Each entry is separated by a blank line imported into the project in the folder 'what is' in the project configuration module. I created a < tout_nom > .h file and imported into the map files folder. The format is:

    #define HID_OPTIONS_EXAMPLE 0x82bd0002

    #define HIDC_BROWSE_EXAMPLE 0x82bd1b5a

    Each entry is on a new line and the text string are separated hexadecimal number by a tab. The chain and the tab I have been given by development. Once compiled, I just get 'No help on this field' when I test it against the software. What Miss me? Processes only the doc of RoboHelp with a tool to create a separate project. Is this necessary? The writer who wrote the cheat sheet has not used one with RoboHelp 7.

    Thanks in advance. I worked on getting this past few days without success.

    To finish this thread, I found the problem. Something simple that I didn't know, as you can imagine. Amoungst all the context IDs (1084 of them), there were a couple that have not been mapped. There is no place for me to look like any other program I used is quite robust not not to break completely because of something as simple. Not robohelp, apparently. Even if the IDS not mapped had nothing to do with the areas in question, they broke the What's this? help so completely that nothing worked.  I am surprised and dismayed. What a waste of time.

  • We can do a field cannot be changed using the field Validation?

    Hello

    Is it possible if we could do a non editable field using the field validation? We cannot do it in read-only because we have a code that uses the selector report to update these fields. Is there a way we can put a posting on the ground that it would throw an error message when a user tries to change this field?

    Thank you

    MB

    Of course, we can use the validation for this:

    Add this to the field Validation:

    PRE ('') = IfNull (FieldValue (''), "XXX")

    Replace FieldName with the actual field name.

    Good luck
    Royston

  • How to save the custom of the user using PHP field?

    Hello!

    I am looking for a way to share specific data to the user between connected users. For example, all participants must know each other IDs (our own system IDs, no ACC).

    Custom user fields seems the best solution for this, but I can't find a way to save one using PHP, while creating the room.

    How to save the custom of the user using PHP field? Or maybe there's best solution to do such things?

    Had, just add the new node to the UserManager collection.

    const USER_MANAGER_COLLECTION = 'UserManager';
    static private $USER_MANAGER_CUSTOM_FIELD_CONFIGURATION = array(
       'accessModel'=>self::ROLE_VIEWER,
       'publishModel'=>self::ROLE_VIEWER,
       'persistItems'=>true,
       'modifyAnyItem'=>false,
       'userDependentItems'=>true,
       'sessionDependentItems'=>false,
       'itemStorageScheme'=>self::STORAGE_SCHEME_MANUAL,
       'allowPrivateMessages'=>true,
       'lazySubscription'=>false,
       'p2pDataMessaging'=>false
     );
     const USER_INVITE_ID_CUSTOM_FIELD = 'inviteId';
     static private function createUserManagerCustomFields($room){
       $account = self::init();
       $collection = self::USER_MANAGER_COLLECTION;
       $account->subscribeCollection($room, $collection);
       $account->createNode($room, $collection, self::USER_INVITE_ID_CUSTOM_FIELD, self::$USER_MANAGER_CUSTOM_FIELD_CONFIGURATION);
     }
    
  • using form field hidden

    using form field hidden

    Hi, I'm always a little losst on what this concept is all about.
    can someone explain to me (help) about what it's for.

    How will the action page plays a role in the present?

    Thank you

    On a product edition page, you want to pass the immutable product ID so that you know which product is being edited, but you don't want the user to change it.

    Be advised... even if hidden fields are 'hidden', they can still be modified before being submitted (not easily).

  • hands free texting while driving iphone6s w?

    I upgraded from the iphone iPhone 5 6s and I am now limited in hands-free SMS while driving.

    It works probably 1 out of 10 times.

    before, I hold down the button on my phone on the wheel, to make appear siri on my dashboard, then ask for the text to my contact.  I would like my text, then confirm, then the message is sent.

    now when I touch, rises in the mobile assistant, but siri said nothing and the microphone is dimmed, siri sense does not hear you.  every once in a while it works, but for the most part, when I run the command for siri / voice assistant, phone blue tooth disconnects and then reconnects.

    It was so convenient with my iphone 4 years, now with a brand new, I've lost this ability.

    I've read a few things about what is a 'known problem', but I don't buy it because apple has just had an update that does not solve the problem.

    chrismcclain077 wrote:

    I upgraded from the iphone iPhone 5 6s and I am now limited in hands-free SMS while driving.

    Which isn't a bad thing:

    http://www.ScientificAmerican.com/article/hands-free-texting-is-no-safer-to-use-certain time at the wheel.

    However, you can verify that your car system is up-to-date. Automakers are known for failing to keep up with that.

  • free text in the Apple health

    Is it possible to enter free text in the health of apple?

    Not as far as I know, but if you want this functionality, let Apple knowledge by using this link:

    Apple - iPhone - Feedback

  • Drop-down menu which allows free text at the same time?

    Hello experts!

    My users should at the same time a component with a list of values and a free text input text.

    I use Jdev 12.1.2 and I'm triying to reproduce, but I am not in a position:

    https://blogs.Oracle.com/adffun/entry/fun_with_declarative_components?utm_source=dlvr.it & utm_medium = Facebook

    I get an error like:

    Error: < J2EE > < BEA-160187 > < weblogic.appc failed compile the application. Recompile with the option - verbose for more details on this issue. >

    Separator is not a valid child of a choice - mySoc element

    Someone there another example of the requirement, or has been able to use it?

    Thanks in advance,
    Jose.

    Hi Jose,

    The setting of the ADF provides InputComboListOfValues that supports the list of values and free text at the same time, you can also search for and select popup with the InputComboListOfValues

    Thank you

    Shiva Shankar B N

  • Border color of free text Annotaion

    Hello

    I use the SDK for Acrobat 9.1 pro, writing a plugin in c ++. I would like to change the color of the border of a free text annotation. I tried a few techniques but they result only by changing the fill color of the annotation:

    PDColorValueRec colourRed;
    Memset (& colourRed, 0x00, sizeof (colourRed));
    colourRed.space = PDDeviceRGB;
    colourRed.value [0] = fixedOne;
    colourRed.value [1] = fixedZero;
    colourRed.value [2] = fixedZero;

    PDAnnotSetColor (annot, & colourRed);

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

    CosObj arrayObj, floatObj;
    arrayObj = CosNewArray (cDoc, false, 3);
    CosArrayPut (arrayObj, 0, CosNewFloat (cDoc, false, 1));
    CosArrayPut (arrayObj, 1, CosNewFloat (cDoc, false, 0));
    CosArrayPut (arrayObj, CosNewFloat 2, (cDoc, false, 0));
    CosDictPutKeyString ("C", annot, arrayObj);


    I scanned the section of the PDF specification for dictionaries of the annotation, and it seems that the C key governs only the color of the border when the annotation is an annotation to link, and I can't find any other way to set the color of the border. Yet, I can always change the color of the border using Acrobat, which leads me to believe that it's done in a way not standard but nevertheless valid. The key to BS (borderstyle) does not define the style of the border but makes no mention of the border color.

    I am doing the impossible?

    Look at the value of the key of the DA the one created by Acrobat.

  • Why can't just open and use files Z5 for a text called 'The Theatre' adventure game?

    I'M in TRAIN OF DOWNLOAD AND USE FILES/PROGRAMS to PLAY TEXT ADVENTURES ESPECIALLY ON CALLED 'THE THEATRE' [A TEXT ADVENTURE USING A z5 FILE HAD each time I HAVE TRIED TO OPEN AND RUN IT I KEEP GETTING THE MESSAGE WINDOWS don't IS NOT RECOGNIZE this TYPE of FILE. ANY HELP PLEASE.

    To simplify things, download and install the Windows version of
    http://www.ifarchive.org/if-Archive/Infocom/Interpreters/Frotz/WindowsFrotzInstaller.exe

    I just tried and, once installed with all the default options, you can double-click a .z5 file to launch the game and interpreter.

  • Lately when I use the mouse the words text scrolling and copy on top of itself a million times. This happens when I am on line reading something to say on the MSN homepage.

    Lately when I use the mouse the words text scrolling and copy on top of itself a million times. This happens when I am on line reading something to say on the MSN homepage. Sometimes I can click off on the side and separates the text and I can read it but when I use the scroll of the mouse or even the scroll bar on the sideit happens again and again.

    Hi Jaynebasye,

    1. This only happens when you are on the MSN Web site?

    2. did you of recent changes on the system?

    Method 1:

    You can try to change the scroll settings and check.

    For more information, see the following article

    Change the settings of the mouse

    Method 2:

    Step 1:

    You can also check if the problem occurs in safe mode with network.

    Startup options (including safe mode)

    Start your computer in safe mode

    Step 2:

    If you do not experience the problem in safe mode with network, then perform a clean boot.

    A clean boot to check if startup item or services to third-party application is causing this issue.

    You can read the following article to put the computer in a clean boot:

    How to troubleshoot a problem by performing a clean boot in Windows Vista or in Windows 7

    Note: Make sure that you put the computer to a Normal startup once you are finished.

    Hope this information is useful.

  • Cannot use my 30 day free trial

    I can't use my 30 day free trial because I only get a pop up window saying I need to renew my subscription. Can someone please help me solve this problem?

    Please try the following help documents.

    1. https://helpx.Adobe.com/x-productkb/global/trial-software-expired-early.html
    2. Failed to start the trial. Creative cloud apps
  • How to use a keyboard shortcut for text bold/underline instead of bookmarking/addition of grid using the same control keys?

    Hi people,

    I'm using Ctrl + B to "BOLD" text in my document; but he chooses randomly between the text in bold vs bookmarking page... it gets really annoying. How can I disable bookmarking page by using Ctrl + B? I'm trying just to bold text... I don't care about bookmarking

    I also try to highlight the text using Ctrl + U; He noted sometimes and other times, shows a grid on the page. How prevents having these contradictory effects by using the same command?

    S

    I use Windows 8.1, acrobat pro DC

    This happens when you use comment tools and simultaneously editing tools in the same session.

    Workaround: Do not use the comment tools when editing. Wrap with Assembly before moving to comment.

Maybe you are looking for

  • Disk utility doesn't work do not at all

    The problem started with my iMac (10.11.6) slows down. I rebooted, it worked fine for a while, and then the problem comes back. I tried three times to use disk utility, but every time it's the same thing: the start box appears on the screen, i. by "t

  • Tecra S3 - HDD was not detected during the intallation of win7

    Hello I have Tecra S3 PTS30E, serial No. is 17023153 H. Now installed windows xp, I want to install Win7, but the HARD drive is not detected during installation. Windows xp works with this HARD drive. Why this problem? Please help me on this problem.

  • Apple Mac Book Pro - don't DO NOT WORK

    Hello Bought a Mac Book Pro on December 22, 2014 of Pc World, it has stopped working. Briefed by Apple, it's the Top Case housing which is defective. Correct not bought from PC world and 13 months old, it's my portable of 14-year old son. What can I

  • Sony Google TV NSZ - GS7 not Dolby Digital 5.1 on Google play movies

    Hello I bought a Sony GTV and already bought a few movies to Google play movies but none of these movies are played in DD 5.1 just in stereo. It is not a receiver of the definition that I can for example connect my PS3 to the same port without changi

  • prevent the 2 instances of process model

    Hello We have several testers in operation.  There is a particular test that we run, which has some downtime involved on the object to be measured, and it seems that there is no test running.  Then a person can come and try to run another instance of