Define the text in the field by searching in parameter string

Hello

I've had so far that below works fine but the user has several roles. I need to get more specific. P_USERROLES contains stuff like BIAuthor, BISystem, Admin, user authentication, etc.

I need to see if P_USERROLES, contains the string "Admin" does not = "Admin".

<? xdoxslt:replace(P_USERROLES,_'Admin',_'Hello_Admin')? >

<? xdoxslt:replace(P_USERROLES,_'Reader'.) "Like to read")? >

<? xdoxslt:replace(P_USERROLES,_'User',_'Hello_User')? >

My next thought would be, if these three statements can be placed just below the other so I need to combine in a big IF - ELSE.

Thank you

To avoid a new trial if condition with @inlines line...

Thank you

Bipuser

Tags: Business Intelligence

Similar Questions

  • To change the type of search to a string field in the DataObject Layout

    Hi all

    I am trying to change a simple string search field type, but at the same time, I don't want to lose the contents of the field. Is it possible to BAM?

    Thank you

    Jayanthi

    Hi Anne,.

    When we have data in place, that we cannot change data - type.you can do you something like make a backup of the data using Icommand object.

    and change the type of xml data exported in importing data Object.and the same.

    It's like ricks, if the purpose of these data are interrelated with other data object or if you created reports on the same.

    try something like that when you finished taking backup of all things

    Concerning

    Shankar

  • Reports do not post after you have defined the field of authentication

    Hello

    to solve a different problem (see 1570267.1) I had to put the field of authentication in my Web profile (empty previously), after which the reports do not report in the report repository. The message log looks like this:

    The XML returned by the web server is not valid.

    Failed to create the XML document object.

    Cannot process the report repository HTTP response.

    Transfer HTTP error.

    I tried that once the domain of authentication field is left blank, the report repository works again.

    There are some configuration that I need to find, the documentation mentions this:

    "Enter the domain in which runs the portal, starting with a period. The main period is required. The correct setting, for example, is. Corp.com not corp.com. A field of authentication is required for a variety of features in portal. For example, if a cookie is shared on the web servers foo.peoplesoft.com and bar.peoplesoft.com, you must specify an authentication domain of. PeopleSoft.com. This value is required if you specify a default value for the addressing of the server name on the Configuration of the Web - page of virtual address profile. You must qualify this server with the domain name. If you need a domain here name, then you must set weblogic.httpd.session.cookie.domain in weblogic.properties to this domain name. If you do not override the domain here then the value specified during installation will be used. »


    I'm confused by the present, what is weblogic.properties? I can't find such a file on the server, should I seek weblogic.xml instead? Where to enter the parameters of weblogic.httpd.session.cookie.domain ? And what other settings do I - is the application server default_auth_token relevant? Any settting on the web server? I remember AuthTokenDomain in configuration.properties, but this setting has no impact.

    Thanks for any input.

    The environment is HRMS 9.2 and PeopleTools 8.53

    The solution was to change host URI node IP address, fully qualified domain name report. Reboot, repeat the test. Similar problem is described in the Doc ID 625148.1

    (Provided by Oracle Support after submitting a service request)

  • Defining the field level line in the table using jQuery

    Hello

    I am using the following command for reading and then set the values in the same row in a report.
    Re: Referring to a value of field line in an interactive report using jquery

    Consider the following excerpt
    // read information eg
    var row = $x_UpTill(this.triggeringElement, 'TR');
    var dateCompleted = $('input[name="f03"]', row)[0];
    console.log(dateCompleted.value);
    // write information eg
    var dateBooked = $('input[name="f02"]', row)[0];
    //dateBooked.value = 'xyz'; // sets to xyz, as expected
    dateBooked.value = return_date; // sets the actual code, not returning string
    Everything works as I expect except the last line. I have a js function returns a formatted string (Date set with Javascript , but in this case, my field now contains the definition of the actual code, not the date string the function actually returns.

    I don't think that I'm just not understand a simple concept for JavaScript here?

    A simple solution might be to create the P0_SYSDATE, calculated field to TO_CHAR(SYSDATE,:F_DATE_FORMAT), then apply
    dateBooked.value = $v('P0_SYSDATE');
    but I'm trying to improve my understanding of javascript/jQuery...

    See you soon,.

    Scott

    So are you saying that return_date is a function real javascript, which returns the document to the format string/date you want?
    If so, then I think you simply need parenthesis to function:

    dateBooked.value = return_date();
    

    Or... I'm missing something here?

    Thank you
    -Jorge

  • Define the TYPE as DEFAULT NULL parameter

    Hello

    How can I go on the definition of a parameter in a procedure that is based on a TABLE OF VARCHAR2 as optional (DEFAULT NULL)?

    I tried the following, but I get an error "expression is of the wrong type."
    CREATE OR REPLACE PACKAGE ar_test_pkg
    AS
                                                                                                             
       TYPE varchar2_tab IS TABLE OF VARCHAR2 (32767)
                                     INDEX BY BINARY_INTEGER;
    
        t_test varchar2_tab;
        
       PROCEDURE test_proc (
            p_tab IN t_test%TYPE DEFAULT NULL-- How do I default to null ???
            );
    
    END;
    /
    
    CREATE OR REPLACE PACKAGE BODY ar_test_pkg
    AS
    
       PROCEDURE test_proc (
            p_tab IN t_test%TYPE DEFAULT NULL -- How do I default to null ???        
            )
       IS
       BEGIN   
            NULL;        
       END;
    
    END;
    /
    Thank you

    Andrew.
    SQL> select * from v$version;
    
    BANNER
    ----------------------------------------------------------------
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bi
    PL/SQL Release 10.2.0.4.0 - Production
    CORE    10.2.0.4.0      Production
    TNS for 64-bit Windows: Version 10.2.0.4.0 - Production
    NLSRTL Version 10.2.0.4.0 - Production
    
    SQL> CREATE OR REPLACE PACKAGE ar_test_pkg
      2  AS
      3
      4     TYPE varchar2_tab IS TABLE OF VARCHAR2 (32767)
      5                                   INDEX BY BINARY_INTEGER;
      6
      7      t_test varchar2_tab;
      8
      9     PROCEDURE test_proc (
     10          p_tab IN t_test%TYPE default cast(null as ar_test_pkg.varchar2_tab)
     11          );
     12
     13  END;
     14  /
    
    Package created.
    
    SQL> CREATE OR REPLACE PACKAGE BODY ar_test_pkg
      2  AS
      3
      4     PROCEDURE test_proc (
      5          p_tab IN t_test%TYPE DEFAULT cast(NULL as ar_test_pkg.varchar2_tab)
      6          )
      7     IS
      8     BEGIN
      9          dbms_output.put_line('No. of records in array is : ' || p_tab.count );
     10     END;
     11
     12  END;
     13  /
    
    Package body created.
    
    SQL> set serveroutput on
    SQL> exec ar_test_pkg.test_proc;
    No. of records in array is : 0
    
    PL/SQL procedure successfully completed.
    
    SQL>
    SQL> declare
      2  l_Test ar_Test_pkg.varchar2_tab;
      3  begin
      4    l_test(1) := 'Hello';
      5    l_Test(2) := 'World';
      6    ar_test_pkg.test_proc(l_test);
      7  end;
      8  /
    No. of records in array is : 2
    
    PL/SQL procedure successfully completed.
    

    Concerning

    REDA

  • How to get all the names of the fields from a tcResultSet

    Hi, im a connector to write to a file all the fields of the form encoding process.

    to be like this:

    User ID: username value
    First name: First name value
    Name: LastName value

    I'm using the Process key instance for the tcResultSet.
    I know that if I give a table or list the field names hard-coded, I can get the field values.

    Like this

    String fieldname = "FORM_UDF_USR_ID";
    String response = formData.getStringValue (fieldName);

    My question is, how can I get a list of the names of the fields in the tcResultSet so I don't need to provide
    something like

    formdata.getFieldlist ();?

    Thank you.

    tcResultSet userSet = userIntf.findAllUsers (userMap);
    If (userSet.getTotalRowCount ()! = 0) {}
    String [] columns = userSet.getColumnNames ();
    for (int i = 0; i)< columns.length;="" i++)="">
    Logger.Debug (columns [i] + ":")
    + userSet.getStringValue (columns));
    }

    Who give a shot.

    -Kevin

  • Change the field values of multiple text searching a word/words in their name.

    Hello

    So in my document, I load all the text fields roughly the same name than just with slight variations in their name.

    For example:

    FldTxt

    FldTxt1

    P1. TemplateName.FldTxt

    P1. TemplateName.FldTxt1

    ... Etc.

    The way this works is that each individual text box represents a parameter for a single element, so in this case there are 4 products.

    Is the way in which these parameters are selected, the user presses a button that generates a copy of a template page.

    On this page are a group of checkboxes, buttons and drop-down lists, these particular text fields display the value of a drop-down list.

    This is so that when the user has finished with the generated page, it can be removed and all the information is stored on the main page for later in the process.

    Because of how the elements of work means that fields can either displays a 'None selected' or option selected, BUT they cannot stand by the option that was selected.

    For example;

    FldTxt "none".

    FldTxt1 "selected Option2.

    P1. TemplateName.FldTxt "selected Option2.

    P1. TemplateName.FldTxt 'None Selected '.

    I hope this explains the theory behind it.

    So I wonder is what I could put these text fields values by searching for a keyword in their name? For example. If the field has "FldTxt" in its name, and its value is not equal to "None Selected", change its value to the value of the drop-down list of the most recent.

    The reason why I want to do it in this way is because there is no predefined number of these text fields, there might be only 2 or 200 because it depends on the number of items in the form.

    So I imagine it would go something like this;

    for (var i=0; i<this.numFields; i++) {
        var f = this.getField(this.getNthFieldName(i));
        var nameSearch = //search for keywords in a field name
        var dropdown = //the name of the dropdown
        if (f.nameSearch == "FldTxt" && if f.type = "textfield") {
            if (f.value !== "None Selected") {
                f.nameSeach.value = dropdown.value;
    

    My apologies if the syntax is incorrect or even impossible, but I don't know exactly what I'm asking check I just know what would be the outcome.

    I know that we can search for words in a document so I wonder if it is possible for domain names

    Your code is not quite correct. If I understand this code should do the trick (you may need to adjust the names of fields and values, however):

    var nameSearch = "FldTxt";
    var dropdown = this.getField("Dropdown").value;
    for (var i=0; i		   
  • The maximum size of the text entered in the field "Search" the list view

    I created an APEX 5.0 application using theme 51. I have a simple list view for which the function 'Enable search' is checked.

    I want to limit the length of the "search string" in the field "search". How can I do this?

    There seems to be no limit on the size of the string in the search field. Enter a very large string in this field and submitting research causes APEX return an "Internal Server" error

    CITY

    Hi Michael,

    the amount of data entering your users? Because the limit should be 32 KB.

    Unfortunately, the search field is generated by the jQuery Mobile framework so we do not really have control of a limit, but you can specify the static 'ID' attribute in your area in order to "myListView" and then add the following code to your page "Run when the page loads" level attribute

    $( "#myListView input[data-type=search]" ).attr( "maxlength", 255 );
    

    But I doubt that this is necessary. Can you please post a screenshot of your error message "internal server".

    Concerning

    Patrick

  • How to define the format of a field drop-down list text align at the top of the field instead of the Center?

    I have a form with the fields of data entry simple Acrobat 11. I have, for the first time inserted drop-down lists and most of them is single-line fields. However, there are a few examples where my field must be larger to mask unwanted background. (The field will define the colur to white background are data entry, but I did not write the script for this.) When a selection is made, it appears centered in the field and I need to be aligned to the top.

    I guess I can put a script on the Format tab, in the custom format script, but I don't know enough about Javascript to run on the syntax. I guess it would be a simple line or two of code. Can anyone help?

    You have no control over this. They are always vertically centered. You can use a separate field in the drop down menu, however, and control its background. I suggest to use a read-only button.

  • defining the development from stage to the text field

    I am writing a program that asks that a user enters a word in a text field that appears when a button is pressed. Text entry is then compared to an array of words. It works fine, however if the step .ciblent going from the stage to the text field so that there will be a ready blinking cursor in text box o receive the contribution of the users, the input Word will not be considered against the table. The program will not work. the mytextfield.focus works to the point where the cursor is in the field of the tet and receives text etc. but it and says that the word is not in the table. It fails to check it properly. IM 3 days trying to sort and the only way it works is that if the user has to click in the box which is what I don't want. Also is there a way to show the white background textfield without having an error on this subject?

    You are welcome, please mark the thread answered if you have what you need.

    Good luck!

  • How to disable automatic paste in the field "search page"?

    Hello.

    When opening / to the point the 'search field in the page "my Clipboard (Cmd + F), is automatically pasted into the field. Is it possible to get rid of it? Subject: config? Plugin? Voodoo?
    I don't know which version of Firefox introduced this behavior but today I can't stand it anymore, I hate this stuff.

    Thank you.

    Try this extension:

    Other tweaks:
    - Set whether opening the findbar fills it with the selected text or not
    - Selecting text on a webpage immediately copies the selected text to the findbar and searches for it
    -- When used together with "Highlight all by default", it will highlight all matches of the selected text, even if the findbar is closed.
    -- Show the QuickFind bar (it will open in normal mode if "Always use normal Findbar" is enabled) when using selected text.
  • How to specify a form to fill out the field round the text and aligned to bottom

    I have a few form fields that may have contained long, but have an introductory text. I would like that the entered content to wrap around this text, as shown in the image below:

    The content is updated automatically, not entered by someone, so what allows Rich Text and defining the formatting in the input block are not an option. I see two possibilities for this:

    1. A unique field that has a hanging indent on the first line that's enough to avoid the introductory text;
    2. Two separate fields configured so that the text overflows from one to the other.

    I was not able to understand how to do either of those. In this case, I see the additional ability to adjust the left edge of a multiline field for being to the right of the introductory text, but I have other scenarios where this text is well more than half of the line, in this case the solution is not feasible.

    I also need to have the text in a multi-line field position on the bottom line and that more text is added, the current text moves upward and the overflow fills below, remain bottom line:

    but

    If anyone has a solution or any of these problems, or another thought, I would be very happy to hear about them.

    Thank you

    Dan

    As you found, there is no possible negative indent and substantive alignment is available with fields that allow rich text formatting. A new conception of form layout that works with the limits of the text fields is how I would approach it, but I know that's not always possible.

  • How to get forms to ignore the default text in the fields during the validation of LiveCycle Designer

    Hiya,

    I'm test ss4 Designer to create a simple form that is submitted by e-mail.

    Everything works except for my text boxes...  They are implemented in the form of required fields, but because I've included the text by default with the instructions, if you press on submit without changing the fields, they will not validate as empty and does not throw an error message.

    I searched the forums all day for a fix, but I'm too new to understand where to put the code, etc.  I tried to add

    ' text {! = placeholder}' in the validation box but model that does not work...

    All I have is LiveCycle Designer and I'm on windows 7.  Thanks for your help!

    Hello

    There is a script editor.  If you select the field, then you will be able to select the event in the 'Show' taking place (above the 'Design' tab), and then the code window will be active and you can enter your code.  You can extend the default value of a single line.

    Good luck

    Bruce

  • How to align the top of the text leaves a field?

    How do I align text at the top left in a form field in Acrobat XI?  When I create a new text field, the text of the centres within the field.  Thanks for any help.

    Set the multiline (under Properties - Options tab) option for the text

    aligned at the top of the field. Horizontal alignment can be defined in the

    same situation in respect of the Alignment property.

  • ADF LOV-&gt; UI: main table showing the fields ID and not the search values

    Hello
    I am very new to the development of the ADF and will have a simple question that I can't solve.

    Using Oracle JDeveloper 11.1.2.0.0 I create my views and objects of entity without incident. I have an entity object that has several "search values" (these are all optional references to foreign keys to tables 'children'). Objects and relations are perfectly mapped the ADF.

    In the views of child object I created the list UI tips
    -Type: Combo box with list values
    -the "selected" column is the "description" of the research

    in the editable display object, I traced the fields 'id' to use the predefined LOVs.

    This works as expected in the user interface, I created with an ADF table can be updated.

    However (here's the noob question), the "id" is displayed in the search on the table column. When I click the menu drop-down I can see the description, etc, but for a professional user when they look at the table, they see an unfriendly identification number.

    How can I get the part of the LOV display to show the description, while remaining linked to the ID of the parent entity.

    for example, it shows
    Country             LOV1        LOV2     LOV3
    United States     15           18           2
    while I want to display:
    Country             LOV1            LOV2       LOV3
    United States     Washington  Seattle     Rain
    If this has been answered several times or walk through there, sorry for the redundant question, I simply can't find a solution!

    Hello

    There are several ways to do this, you simply need an additional outputText next to the lov component field to display the value of the description.

    If you search the forum or adf blocks, you'll find several implementations.

    And here's one: http://andrejusb.blogspot.com/2010/06/lov-description-text-with-groovy.html

    Gabriel.

Maybe you are looking for