Creation of optional field in sitestudio.

I am trying to create a definition of the region using sitestudio. I successfully added two elements in the definition of the region. I couldn't find a property to make them compulsory or optional. My need is to make others mandatory and an optional.

When I'm helping both become mandatory and I have do not provide value to them. Is there a way to make an optional element.


Thank you
Sanjeev

I think that you define if the field is required or not at the level of the element definition. For example, if you want an optional and the other required, you must use two different element definitions.

Jonathan
http://jonathanhult.com

Tags: Fusion Middleware

Similar Questions

  • Diagram of the Avro - optional fields - not give 'in the Union"exception

    Hi all

    I have a problem with the help of the optional fields in a schema by using the JSONAvroBinding and avro.

    If I have a scheme of the user who has a first name field. The user may choose to provide the name or not. The field is optional from the perspective of readers.

    (this comes from http://docs.oracle.com/cd/NOSQL/html/GettingStartedGuide/avroschemas.html who is nosql avro documentation)

    {

    "type': 'record."

    "namespace": "com.example."

    'name': 'Full name',

    'fields':]

    {'name': 'first', 'type': ['string', 'null']},

    {'name': 'last', 'type': "string", "default": "Smith"}

    ]

    }

    Here, if I provide this example as Avro scheme, then omit the name when I write, it will work without problem. But when I try to write 'John' it will fail with:

    Caused by: org.apache.avro.UnresolvedUnionException: not in the union ['string', 'null']: 'John '.

    to oracle.kv.impl.api.avro.JsonBinding$ JsonData.resolveUnion (JsonBinding.java:403)

    at org.apache.avro.generic.GenericDatumWriter.resolveUnion(GenericDatumWriter.java:144)

    to oracle.kv.impl.api.avro.JsonBinding$ JsonDatumWriter.write (JsonBinding.java:599)

    to oracle.kv.impl.api.avro.JsonBinding$ JsonDatumWriter.writeRecord (JsonBinding.java:695)

    to oracle.kv.impl.api.avro.JsonBinding$ JsonDatumWriter.write (JsonBinding.java:565)

    Truncated. check the log file full stacktrace

    It does not work:

    {

    'first': 'John ',.

    "last": "Smith".

    }

    It works:

    {

    "last": "Smith".

    }

    It seems that someone else has had this problem and posted on the Avro site, where a response said that it might be NoSQLs due to lack of libraries:

    "The error is thrown from the Oracle NoSQL Avro library use and is not clearly a problem of Avro. You might be better off trying to get help for this Oracle? »

    https://issues.Apache.org/jira/browse/Avro-1376

    Any thoughts? To me, this seems to be a bug in the JsonBinding class?

    According to this:

    http://www.Oracle.com/technetwork/database/nosqldb/learnmore/nosqldb-FAQ-518364.html#HowtouseAvrounionstoencodeoptionalfields

    Sending

    {

    'first': 'John ',.

    "last": "Smith".

    }

    is not correct.

    Instead, sending:

    {

    'first': {}

    'chain': 'John '.

    },

    "last": "Smith".

    }

    works.

  • What is the meaning of Option field in the tool 'Toshiba button Support?

    I used Toshiba button successfully Support to change the usage of my Eco mode button.
    There are 4 fields: Description, field target and button Option.

    I have already searched the web but can't find any answers.
    What does the input field 'option '?

    Hmm that's the right question
    I think that this field allows an option button (or maybe a shortcut in option) that would start the tool placed in the field target.
    But that's just a hypothesis test that simply and thanks for posting a comment... I'm interesting as well...

  • 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

  • Make a mandatory or optional field according to the value in the other field

    Hello

    I added a new location of the merchant class just under the name of merchant in the fresh details in iexpense page. I want to make this field option or required depending on the value selected in the field Type of expense.

    If Type of expense is like mileage so merchant should be mandatory otherwise in option.

    I found controller associated with this page is DetailsPageGlueCO and here is the code that I am trying to extend DetailsPageGlueCO.

    package oracle.apps.ap.oie.entry.lines.webui;
    Import oracle.apps.ap.oie.entry.lines.webui.DetailsPageGlueCO;
    Oracle.apps.fnd.framework.webui import. *;
    Import oracle.apps.fnd.framework.webui.beans.OAWebBean;
    Import oracle.apps.fnd.framework.OAException;

    SerializableAttribute public class XXDetailsPageGlueCO extends DetailsPageGlueCO
    {
    ' Public Sub processFormRequest (pageContext OAPageContext, OAWebBean webBean)
    {

    super.processFormRequest (pageContext, webBean);

    Try
    {
    String ExpReportType = pageContext.getParameter ("ExpTypeChoice"); take the value of the list of ExpTypeChoice

    If (ExpReportType.toLowerCase () .indexOf ("mileage")! =-1) / / check if the value selected in the list ExpTypeChoice is of type mileage
    {
    Code to intercept the value in ExpTypeChoice list, and then newly added fact XXMerchantLocation required field?



    }
    } catch (System.Exception e)
    {
    throw new OAException ("you must enter merchant location");
    }
    }
    }

    Pls. suggest a piece of code in the section / / Code to intercept the value in ExpTypeChoice list, and then fact newly added XXMerchantLocation required field?

    Published by: yannick bigot on January 2, 2012 06:42

    Bigot,

    To make a required field on the selection, you must join a SPEL with the bean and make true or false based on your requirement.

    See article PPR of the developer's Guide.

    Kind regards
    GYAN
    www.gyanoracleapps.blogspot.com

  • Need a few more details on the Options field, scope of the attribute, 'Global' vs 'form' when defining tags

    OK, I admit I am confused... I solved my problem but I do not understand the solution.

    I have a form that has a header that is reported as"overflow" and NO overflow and the multiplier of overflow is set to 0.  The trigger is manual and use a search mask counter instance flag and 0.  The header is repeated at the top of each page, everything as I want it, but the header tags (IE POLITICAL. NUMBER) are printed on the first occurrence of the header section and the second and the following tags is white/not filled.

    If I change the section that is used for the header and define the scope of the POLICY. Tag NUMBER 'form', it works correctly and prints the value of POLICY. NUMBER on each occurrence of the header.  If I set the scope of the POLICY. Tag NUMBER on 'GLOBAL' of POLITICS. Tag NUMBER is entered on the first occurrence (page 1) and white on all events (page 2, 3...) It makes no sense for me?

    My POLICY. NUMBER tag on the section uses the XDB, multiplier of overflow rule is set to 0 and overflow is the default.

    Can someone explain to me how it works?  The impression that the GLOBAL setting should fill all occurrences of the tag POLICY. NUMBER of all forms together.  Would have been logical for me if I changed it the chapter to the FORM but not global to FORM.

    Thanks in advance for helping me understand how it works!

    Documentation... I'd be surprised if this is not documented somewhere. It is perhaps not as important as it should be. As a guess, I would first look at the description of the PaginateAndPropagate rule or any place that talks about the paging / batch (Gendata) execution of overflow. If it is not described as a note somewhere in the DMStudio of the field properties, then it is a logical place where is should be. The problem is that this behavior is different in the lots it is for data entry where the global spread is managed dynamically, so it is noteworthy.

  • Creation of required field when the form is visible only

    Hello

    I have created a form that contains about 25 pages inside. The home page has a drop-down list that allows the user to select one of 25 pages and once selected the specific page is hidden to visible. (They are initially hidden). Each 25 page contains radio buttons and I want to make them mandatory when the page that they are visible and not hidden. How can I do this? I searched through the forums, but I could not find a set of step by step instructions for those who are not very tech-savvy with LiveCycle. There is a constructor function of action that I can use? If this is not the case, what script need me, and where and how can I get it? I am inexperienced with script and would welcome words can.

    Thanks in advance

    There are several ways to do depends on how you have configured the form. You can place the code in the event of release from the drop-down list or in the case of option buttons layoutReady. The logic is the same - basically, you use the 'presence' (if it is visible or hidden) to decide whether or not the 'nullTest' is enabled (which makes mandatory - 'error' is on).

    For example, if you culd put this code in the radio buttons in the layout (in FormCalc) event:

    If (Subform1.presence == 'visible') then

    $. validate.nullTest = "error".

    else $. validate.nullTest = "disabled".

    endif

  • Support for the creation of form field which allow you only to multiple of 6 to affix

    I am working on a form and my boss asked me to see if I can make the fields only accept several

    6 s (as it is a purchase order of the product, and they come in packs of 6).  I think I'll have to use javascript for this

    but I'm not yet familiar with the writing of these.  a friend mentioned something about 'validate' and which confused me even more.  I read a 5 inch

    book on the use of pdf forms, but thought I might be able to get a faster answer here with you all of the wonderful people and then to refine my search in my book to learn about more by what answers I get here.

    I REALLY APPRECIATE ANY HELP!

    I hope you all had a wonderful Turkey day!

    Thanks in advance!

    Your friend was right, you need a validation script. The way to do is to use the modus operator (%) and then look at the result of the entered number 6 mod. If this is not 0, then the number you entered is not a multiple of 6. Try this script validation of a text field is defined as a number:

    If (' event.value! = null & event.value! = "") {}
    If ((Number(event.value)%6)!=0) {})
    App.Alert ("you must enter a multiple of 6.");
    Event.RC = false;
    }
    }

  • Creation of graphics/field/pirctures - HELP

    My program collects sampled data and an interval defined by the user.  It is then a simple regression line y = m * x + b where m = Cov [x, y] / Var [x] and b = bar - y - m * x - bar.  After these calculations are down I want to draw the diagram of dispersion of data and overlay the line defined by the equation produced in the regression, and then display it on the front panel.

    My current attempt is to use the Multi - XY.vi to draw each set of x and x on a photo and then place each image for each channel in an array of arrays.  Then, the user can watch each other through the table.  The error I get has to do with the data type.  I feel that it's quite difficult to type what I'm trying to say this is why I've included a screenshot of my VI area that generated the error.  I find myself using the variant to the vi data to convert my data to the appropriate data type.  When I use a constant of data it breaks the lines, but if I use a constant variant, it is good - but then, I get an error "type".  I'm not too familiar with the help of variations and types of data so that any help would be appreciated.  I have most of the code for this program, I'm just working the bugs and that's where I'm hung up at the present time.

    Thanks in advance.

    Hello

    the fact that you try to convert data from one data type to another by using a bad track, missing

    You cannoth convert various types of data using the data type-->--> new data type Variant.

    There are separate manually in a loop and rebundle the data in the new data type.

    Look more closely, you seem to create (i.e. the part of the code is not visible all) the data in a table.

    The object of the conspiracy eats table of stories!

    Create bundle XY

    Create table of these bundles

    Create a cluster above this table

    Add this group in a table

    This power to the plot

    Code conversion for your folder should look like this...

  • Question about the creation of the field

    Hello team,

    I'm new to Fusion middleware technology. I installed my suites SOA 11 g R1 successfully, but when I am trying to create a domain by selecting the BPM Suite for developers or SOA suite for devlopers, I get the error below

    CFGFWK-64069 - the following prerequisites have been found to Miss

    Oracle JRF - 11.1.1.0

    Extension of management Oracle SOA - 11.1.1.0

    Oracle WSM - 11.1.1.0 policy Manager

    One has any idea on how to solve this problem.

    Kind regards

    Simo

    Can you confirm that that you are Login user and administrative law set up the domain?

    See note below:

    CFGFWK-64069 error during the Configuration of the WCC 11 g (Doc ID 1335778.1)

  • Urgent: Creation of BPM field in sql server 2008

    Hello

    I created the repository for SOA and BPM and installed the soa 11.1.1.7 in 64-bit windows.

    While create the domain to soa weblogic Server 10.3.6. Get the error message like


    [FMWGEN] [SQLServer JDBC Driver] [SQL Server] Stored procedure not found ' master... xp_jdbc_open2'.

    CFGFWK-60850: the Test failed!

    For this question, I found the solution of MOS

    SOA 11 g: error using SQL Server in the domain Configuration Wizard, "CFGFWK-60850' [ID 1483823.1] data source.


    We tried above solution, but still we are facing the same question.


    Please suggest me to fix this problem.



    Concerning

    Kumar V




    Hello

    Now, the problem has been resolved.

    We followed the below mentioned document. It gives the solution for this problem.

    SOA 11 g: error using SQL Server in the domain Configuration Wizard, "CFGFWK-60850' [ID 1483823.1] data source.

    Thank you

    Kumar V

  • Fusion MiddleWare failure of the creation of the field facility

    Operating system = Red Hat Linux AS 5 64 bit 4 GB memory
    WebLogic version = 10.3.4.0 wls1034_generic.jar
    RCU = ofm_rcu_linux_11.1.1.3.3_disk1_1of1.zip
    JRocket = jrrt - 3.1.2 - 1.6.0 - linux - x 64 .bin



    The WebLogic Console works fine

    Install only Oracle Forms and reports



    Question

    Cannot create domain in the right configuration issue of binder section.


    Log shows:

    oracle.as.provisioning.exception.ASProvWorkflowException: workflow runtime error.
    at oracle.as.provisioning.engine.WorkFlowExecutor._createDomain(WorkFlowExecutor.java:688)
    at oracle.as.provisioning.engine.WorkFlowExecutor.executeWLSWorkFlow(WorkFlowExecutor.java:393)
    at oracle.as.provisioning.engine.Config.executeConfigWorkflow_WLS(Config.java:866)



    A tried

    RCU. Properties change the entry below:

    DTD_LOCATION=%RCU_HOME%/RCU/config/


    Oracle Magazine document 854117.1



    Signs of welcome.

    With the help of WLS version 10.3.2 is the answer.

  • make a field required optional

    I wanted to do the last name field that is one required field to another option. Could someone help me on this.

    Thanks in advance

    Hello

    Edit FormMetaData.xml and make the optional field. I don't know if the change only formMetadata.xml will give error. If yes then change the tjspGenerateCreateUserForm.jsp.There is already a lot of changes to JSPS.

    Below the message can be helpful.let me know if you have any questions.

    IOM form customization

    Concerning
    Nitesh

  • Problem at startup of field step installation Peopletool 8.50

    Hello
    I install Peopletool 8.50 on my pc.
    Before the creation of the field everything went well.
    Instance name: PSP1
    I chose that domain name.

    Next, I created the domain with the following options:


    ----------------------------------------------
    Fast configuration menu - field: PSP1
    ----------------------------------------------
    Characteristic parameters
    ========== ==========
    Servers of pub/Sub 1): n ° 15) DBNAME: [PSP1]
    (Server 2) Quick: No. 16) DBTYPE: [ORACLE]
    (Query servers 3): No. 17) user name: [sysadm]
    ((4) shock: Yes 18) UserPswd: [sysadm]
    ((5) Jolt relay: No. 19) Networkid: [TESTSERV]
    ((6) WSL: No. 20) AddToPATH: [D:\app\Lenovo\product\11.2.0\dbh
    ome_1\BIN]
    (Debugger 7) PC: Yes 21) ConnectID: [people]
    (Event notification 8): Yes 22) ConnectPswd: [peop1e]
    [(Serveurs de 9) MCF: No. 23) name of the server:]
    (10 assembler) Perf: No. 24) Port of WSL: [7000]
    ((11) Analytics servers: Yes 25) JSL Port: [9000]
    (Bridge 12) areas: No. 26) Port of JRAD: [9100]


    Now when I started (series) this area I found the following error.

    PSADMIN.5620 (0) [02/04/13 19:19:11] (0) attempt to Begin priming on domain PSP1
    PSAPPSRV.3344 (0) [02/04/13 19:19:26] (0) early version 8.50 PeopleTools (WinX86)
    ING. Tuxedo server is APPSRV 99/2
    PSAPPSRV.3344 (0) [02/04/13 19:19:26] (0) used Cache Directory: C:\Users\Le
    novo\psft\pt\8.50\appserv\PSP1\CACHE\PSAPPSRV_2\
    PSAPPSRV.3344 (0) [02/04/13 19:19:28] (1) GenMessageBox (0, 0, M): the database access code
    : Invalid user or password database signon ID. (id = sysadm)
    PSAPPSRV.3344 (0) [19: 19:28] (0) 02/04/13 server could not start
    PSADMIN.5620 (0) [02/04/13 19:19:34] (0) attempt to end PSP1 field boot


    But I can connect in PSP1 with sqlplus sysadm.
    Can someone please help me with this problem?

    Thank you!

    You try to start the field with the database owner who is an Oracle account. You must provide a PeopleSoft (items 18 and 19) account, which has sufficient permissions to start the application (PS for example) server.

  • How to rearrange the positions of field in the user form

    Hi all
    I have added some fields to the user creation form, I want to rearrange the fields (as I want to keep some fields which at the beginning, I created and some ultimately) .is it possible to rearrange the fields. If someone can help me by giving detailed instructions.

    Thank you
    Kishore.

    Published by: user10457483 on October 22, 2008 04:08

    To reorganize your user-defined fields, simply change the column 'order' in the form of the UDF in Console Design.

    If you want a field defined by the user between the fields by default, the process is a little more complex:

    (1) the field of the visible set to false.

    (2) open the file FormMetadata.xml (oim_server_home\xellerate\config\FormMetadata.xml).

    (3) declare your UDF, just before the line

    (it comes in the form of the user to create):

    (for example)

         

    (4) Finally, to add the reference to this area at thesection, in the desired position:
    (for example)
    -1003

    An important note is that (in my experience), this procedure works only for optional fields. I don't know why it breaks down when I do it with the required fields.

    Kind regards

Maybe you are looking for

  • Satellite Pro L series: fan always running even at IDLE when LAN is on

    the fan always running even at IDLE when lan is onThanks for any help, that can stop the fan...

  • failed to update BIOS dv7-3021ea

    I have a dv7 3021ea which does not after that update from hp for the applied BIOS and failed. When on, there are the two flashes of the LED indicating the BIOS corruption. I tried recovery BIOS WIN - B, but the laptop has a quick thinking, then turns

  • Router X 3500 how to connect to the printer HP C4180 of PHOSTOSMAR

    Good evening everyone, I am a newbe to this forum. I buyed the X 3500 router last week and I'm happy about it, but I don't know how to share my printer (HP PHOTOSMART C4180) by USB connection. You can connect to a printer to share. Indeed, this is po

  • HP 15-R100 pc serial: USB 3.0 problems

    So I looked in the product guide and it is said that "PC EXPRESS USB 3.0 1 (IO) IS supported in this notebook. but I know that usb 3.0 ports are blue but in this area, all 3 ports are black, so I looked into contrl Panel and Oh: Intel (r) 3.0 0100 eX

  • Search spell checker and editing languges

    I use WordPad to write a lot of things and I can't find a spell checker on it. I send to my windows mail as it is the only one to send to. I try to use the spelling after copy and paste in windows mail, and it says that I can't check spelling because