OmniPortlet Tip: Adding columns to the tabular layout

Hello,
I had some questions about the limitation to 5 columns of the OmniPortlet tabular layout. Here is a tip to add more columns to this layout:
1. backup the current OmniPortlet provider.xml
     /OC4J_HOME/applications/portalTools/omniPortlet/WEB-INF/providers/omniPortlet
2. You can not open the file:
     and look for the tag <dataField
3. You can add new fields, by copying the existing <dataField> tag and change the value of the <name> and <displayName>
          <!-- Here is a complete example -->
<dataField class="oracle.webdb.reformlet.definition.DataFieldDefinition">
<name>Field6</name>
<displayName>Column6</displayName>
<description>Field6</description>
<text>##column##</text>
<alignment>left</alignment>
<displayAs>hidden</displayAs>
<type>linebreak</type>
<font>Arial.3.Plain.None</font>
<color>#000000</color>
<style>none</style>
<styleType>custom</styleType>
</dataField>
          <!-- end of the example -->
The same logic could be used to add parameters or events to the OmniPortlet.
Regards
Tugdual Grall

Hi, I have some problem to find this file "Omniportlet provider.xml".
Where I can find it?
I try to find in this path:
/OC4J_HOME/applications/portalTools/omniPortlet/WEB-INF/providers/omniPortlet
but I don't view OC4J directory.
I'm using AS 10g
Please answer me as soon as possible.
Thanks.

Similar Messages

  • Adding Columns to the matrix in SAP B1 user form using Visual studio 2010

    Hi,
    Using Visual studio 2010, I have created a SAP B1 user form( b1f ) with one matrix.Matrix is having 5 columns. Its working properly. Later, I want to add few more columns. Then I added columns to the matrix as I have created columns initially. But, it does not saves.
    i.e, Whenever I run, In B1 I could see only old columns. Newly created columns are not showing.So, I closed the .net project and opened again. Created columns are not showing in visual studio b1f itself. So, I created again and saved. But, its not saving.I tried it many times.
    What I am missing?
    Any help is appreciated.
    Thanks in advance,
    Parvatha Solai.N

    Hi Parvatha,
    Are you using B1 Studio? Anyway try to clean the solution first then rebuild it. This would re-copy files to the output directory, that contain your changes.
    Best regards,
    Pedro Magueija

  • I'm actually trying to find the date i visited a site. adding columns allow the order to be sorted but not show a date. Please tell me it there's a way to see t

    I'm actually trying to find the date i visited a site. adding columns allow the order to be sorted but not show a date. Please tell me it there's a way to see the date. the sidebar no longer has the option for date. the most recent only shows the time.

    If you only see the time then that would mean that you see an entry of the current day (today).
    History items from past days should have the date as well in the Most Recent Visit column.
    You should be able to see this changing if you open the last 7 days folder and scroll down.

  • How to get added columns in the after DDL trigger?

    As title, I want to get information, like name/type/.., about the added columns by sql statement "alter table *** add (***)" in the after ddl trigger. But looks like dba_tab_columns view doesn't include the added columns.
    Thanks

    Hi
    Hi try other versions of the trigger like
    create or replace trigger addl_trigger
    after alter on schema
    declare
    TYPE attrs_cur IS REF CURSOR;
    m_cur attrs_cur;
    m_event varchar2(50);
    m_user varchar2(50);
    m_owner varchar2(50);
    m_user1 varchar2(50);
    m_type varchar2(50);
    m_name varchar2(50);
    m_column varchar2(50);
    m_cnt NUMBER;
    m_stmt varchar2(512);
    number_of_modified_objects BINARY_INTEGER;
    t ora_name_list_t;
    begin
    m_event:=ora_sysevent;
    m_user:=SYS_CONTEXT('USERENV','SESSION_USER');
    m_user1:=ora_login_user;
    m_owner:=ora_dict_obj_owner;
    m_type:=ora_dict_obj_type;
    m_name:=ora_dict_obj_name;
    if (m_type='TABLE' and m_event='ALTER')
    then
              execute immediate 'select count(*) from dba_tab_columns where owner=:1 and table_name=:2' into m_cnt
              using m_owner,m_name;
              insert into log values (m_cnt);
              dbms_output.put_line('->'||m_cnt);
              OPEN m_cur FOR 'select c.name from sys.col$ c, sys.obj$ o, sys.user$ u where o.obj# = c.obj# and o.owner# = u.user# and u.name=:1 and o.name=:2' using m_owner,m_name;
              LOOP
                        FETCH m_cur INTO m_stmt;
                        EXIT WHEN m_cur%NOTFOUND;
                        insert into log values (m_stmt);
                        --dbms_output.put_line(m_stmt||'**************');
                        END LOOP;
    end if;
    but all versions continue to insert only the already existing columns. I think that Oracle actualize the dictionary first after this system event.
    Bye, Aron

  • About existence of added column in the database apex application.

    Hi,
    I have created an report apex application based on the table. Consider the table as Employee_details
    The columns in the Employee_details tables are
    *) Employee_id
    *) name
    *) ip_address
    *) host_name
    *) port_no
    *) sys_type
    *) email_id
    *) login_id
    *) sys_config
    *) sys_serial_no
    *) place_allotted
    *) internet_status
    and also i have created an application using this column......Now i need to add an extra column "contact_no" with this table.....
    That only also i added in the table by giving "Add column" the column is added in the table.....
    But i need to add that extra column "contact_no" in my current application along with the existed columns.
    I went to "Actions" in the application that i have created, and i shifted that "contact_no" column from "do not display side to the display side". Now it is displaying.
    But the problem where i getting here is, when i logged out of the application and when i again login into the application the "contact_ no" column that i added to show it in display field is not displaying...Why?.........
    Regards,
    Hari R

    Hi,
    If its a table column then its better to add it to the IR by modifying the Report Query of the IR.
    If you add it through the Action button then you need to save the report as Default Setting for it to keep appearing the next time you visit the page.
    Regards

  • How to hide/show columns in the tabular form

    Hi friends,
    I have a tabular form in my apex page. In the tabular form i have a check box as a one column, if i click that check box means, two more columns has to come or enable in my tabular form if i uncheck that check box means, two column has to disappear.
    How to achieve this in the tabular form.
    If it is an page item means, i can able to achieve it using DA. But for the tabular form which is like a report how i can able to achieve it friends.
    Thanks
    Brgds,
    Mini

    Hi,
    Anyone, can help me with this scenario.
    Brgds,
    Mini

  • Adding columns in the UWL

    Hi,
    This is  Rajyalakshmi. I nee to add columns in the UWL .
    I have  changed the XML coding accordingly .and uploaded the file .but the  added columns are not appearing in the UWL.
    I have added the  view in the   XML file corresponding  to the backend related.
    do i need  add the view and atributes in teh standard XML file as well?
    It would be great if anybody can share the information reagrding this.
    Raji

    Hi Beth Maben,
    I am trying to add the custom attributes.now the added columns are appearing ina subview.But i the new columns which I ahve been added  need to appear in the  default view.
    the UWL version I am using is as below.
    <?xml version="1.0" encoding="utf-8"?>
    <!DOCTYPE UWLConfiguration PUBLIC '-//SAP//UWL1.0//EN' 'uwl_configuration.dtd'>
    <UWLConfiguration version="7.00.01.01">
    I configured the XML for one task for test purpose.
    <ItemType name="uwl.task.webflow.TS10008126" connector="WebFlowConnector" defaultView="MyView" defaultAction="viewDetail" executionMode="pessimistic">
                   <ItemTypeCriteria externalType="TS10008126" connector="WebFlowConnector"/>
                       <Actions>
                        <Action reference="com.sap.pct.srm.core.action.oldwfl.approve"/>
                        <Action reference="com.sap.pct.srm.core.action.oldwfl.reject"/>
                        <Action reference="com.sap.pct.srm.core.action.launchWD.oldwfl.sc.approve"/>
                   </Actions>
              </ItemType>
              <ItemType name="uwl.completedtask.webflow.TS10008126" connector="WebFlowConnector" defaultView="MyView" defaultAction="viewDetail" executionMode="pessimistic">
                   <ItemTypeCriteria externalType="TS10008126" connector="WebFlowConnector"/>
                    <CustomAttributes>
                      <CustomAttributeSource id="WEBFLOW_CONTAINER" objectIdHolder="externalObjectId" objectType="WebflowContainer" cacheValidity="final">
                       <Attribute name="REQ_NAME" displayName="Created By"/>
                      <Attribute name="TOTAL_VALUE" displayName="TotalValue"/>
                        <Attribute name="CURRENCY" displayName="Currency"/>
                  </CustomAttributeSource>
                 </CustomAttributes>
                   <Actions>
                        <Action reference="com.sap.pct.srm.core.action.launchWD.oldwfl.sc.display"/>
                   </Actions>
    created View is as follows :
    <!-- View: New and Inprogress Tasks -->
              <View name="MyView" selectionMode="SINGLESELECT" referenceBundle="MyView" width="98%" supportedItemTypes="uwl.task.webflow.TS10008126" columnOrder="subject,creatorId,RequisitionerName,TotalValue,Currency,createdDate" sortby="createdDate:descend" tableDesign="ALTERNATING" visibleRowCount="10" queryRange="undefined" displayOnlyDefinedAttributes="no" tableNavigationFooterVisible="yes" tableNavigationType="CUSTOMNAV" refresh="300" dueDateSevere="86400000" dueDateWarning="259200000" emphasizedItems="new" dynamicCreationAllowed="yes" actionPosition="bottom">
                   <DisplayAttributes>
                        <DisplayAttribute name="subject" type="link" width="" sortable="yes" format="default" actionRef="viewDetail" referenceBundle="subject" hAlign="LEFT" vAlign="BASELINE" maxTextWidth="0" headerVisible="yes"/>
                        <DisplayAttribute
                             name="creatorId"
                             type="people"
                             width=""
                             sortable="yes"
                             format="default"
                             referenceBundle="from"
                             hAlign="LEFT"
                             vAlign="BASELINE"
                             maxTextWidth="0"
                             headerVisible="yes"/>
                              <DisplayAttribute
                             name="RequisitionerName"
                             type="String"
                             width=""
                             sortable="yes"
                             format="default"
                             referenceBundle="REQ_NAME"
                             hAlign="LEFT"
                             vAlign="BASELINE"
                             maxTextWidth="0"
                             headerVisible="yes"/>
                       <DisplayAttribute
                             name="TotalValue"
                             type="double"
                             width=""
                             sortable="yes"
                             format="medium"
                             referenceBundle="TOTAL_VALUE"
                             hAlign="RIGHT"
                             vAlign="BASELINE"
                             maxTextWidth="0"
                             headerVisible="yes"/>
                           <DisplayAttribute
                             name="Currency"
                             type="String"
                             width=""
                             sortable="yes"
                             format="medium"
                             referenceBundle="CURRENCY"
                             hAlign="RIGHT"
                             vAlign="BASELINE"
                             maxTextWidth="0"
                             headerVisible="yes"/>
                                                                                    <DisplayAttribute name="createdDate" type="datetime" width="" sortable="yes" format="medium" referenceBundle="sent_date" hAlign="LEFT" vAlign="BASELINE" maxTextWidth="0" headerVisible="yes"/>               
                  </DisplayAttributes>
                   <Actions>
                        <Action reference="removeFromNavigation"/>
                             <Action reference="addToNavigaion"/>
                             <Action reference="personalize"/>
                   </Actions>
              </View>
    I am trying to add the attributes in the  in standard XML file  as well.but I am getting that error that " adding custom attributes is not supported " as per the  standard model definition.
    Appriciate your information  if any reagarding this .
    Raji.

  • Adding columns in the matrix

    Hai ,
    I am adding the columns in an existing matrix at runtime in page load.
    I can able to add but how to give the header text for the columns added?
    I tried with the following code,
    oMatrix.Columns.Item("ItemMake").Title = "Make";
    but it gives  the error as,
    "property or indexer 'SAPbouiCOM.IColumn.Title' cannot be assigned to -- it is read only"
    and also i want the added column to be displayed in the first position.
    Regards,
    Kughan.

    Hi,
    Then i recommend u to create a UDF in the marketing document section. So that in the PO matrix u can get a new col. And for creating the UDF u can do it in SAP UI using.. Tools->Customization Tools->User defined Fields management or u can also do it in code C:\Program Files\SAP\SAP Business One SDK\Samples\COM DI\VB.NET\02.MetaDataOperations Check that sample for code.
    Hope it helps,
    Vasu Natari.

  • Radio button column in the tabular report

    Hi everyone,
    I have a tabular report. I wanted to have radio button and check box some of the field. Please take a look at my sample application.
    http://apex.oracle.com/pls/otn/
    Workspace ==> SHYIN
    username ==> SHY
    password ==> shy
    Application ID : 29879 - TabularForm
    On page 2, of the detail form, I want to have radio button in Primary Contact column and check box in status column. I would appreciate any suggession. Thanks.
    SHY

    Hi Andy,
    I surely come back with new question!
    Now, I am trying to change the status column to check box. I can see the correct status the check box in the form. But when I tried to add new rows or update anything, I am getting "No data found" error.
    here is my query
    SELECT
    APEX_ITEM.HIDDEN(1, SEQ_ID) || APEX_ITEM.HIDDEN(2, C001) || APEX_ITEM.RADIOGROUP(3, C001, NULL, NULL, 'onclick="javascript:$x(''P2_SELECTED_ID'').value=' || C001 || '"') PRIMARY_CONTACT,
    apex_item.text(4,C002) name,
    apex_item.text(5,C004) phone,
    APEX_ITEM.HIDDEN(6, C006) || apex_item.checkbox(7,C001, null, C005) INACTIVE
    from apex_collections
    where collection_name = 'C_CONTACT_INFO'
    this is the updated Contact_Collection
    begin
    IF NOT APEX_COLLECTION.COLLECTION_EXISTS('C_CONTACT_INFO') THEN
    apex_collection.create_or_truncate_collection(p_collection_name => 'C_CONTACT_INFO');
    for y in (select ID,
    NAME,
    PRIMARY_CONTACT,
    PHONE,
    decode(STATUS, 'I', ID, null) status,
    CUSTOMER_ID
    from CONTACTS
    where CUSTOMER_ID = :P2_CUSTOMER_ID)
    LOOP
    apex_collection.add_member(
    p_collection_name => 'C_CONTACT_INFO',
    p_c001 => y.ID,
    p_c002 => y.NAME,
    p_c003 => y.PRIMARY_CONTACT,
    p_c004 => y.PHONE,
    p_c005 => y.STATUS,
    p_c006 => y.CUSTOMER_ID);
    end loop;
    END IF;
    end;
    here is my updated Update_Collection process
    DECLARE
    V_C003 CHAR(1);
    V_C001 NUMBER;
    V_C005 CHAR(1);
    BEGIN
    FOR X IN 1..APEX_APPLICATION.G_F01.COUNT
    LOOP
    V_C001 := APEX_APPLICATION.G_F02(X);
    IF V_C001 = :P2_SELECTED_ID THEN
    --HTP.P('YES');
    V_C003 := 'Y';
    ELSE
    --HTP.P('NO');
    V_C003 := 'N';
    END IF;
    if APEX_APPLICATION.G_F07(X) = APEX_APPLICATION.G_F02(X) THEN
    V_C005 := 'I';
    ELSE
    V_C005 := 'A';
    END IF;
    APEX_COLLECTION.UPDATE_MEMBER (
    P_COLLECTION_NAME => 'C_CONTACT_INFO',
    P_SEQ => APEX_APPLICATION.G_F01(X),
    P_C001 => APEX_APPLICATION.G_F02(X),
    P_C002 => APEX_APPLICATION.G_F04(X),
    P_C003 => V_C003,
    P_C004 => APEX_APPLICATION.G_F05(X),
    P_C005 => V_C005,
    P_C006 => APEX_APPLICATION.G_F06(X));
    END LOOP;
    END;
    I did not make any changes to Save_Contacts process.
    Thanks
    SHY

  • Adding columns to existing template layout?

    In the "Contemporary" Template, I would like to modify the Section Text layout in Portrait Mode. I would like to make the text box have 2 columns instead of 1. These options are greyed out, however. How do I go about doing this?
    Many thanks in advance

    You are working a portrait template therefore the column options are  not available.
    Yes, contact will  flow, but its not endless, your text will flow only into the pages it needs.
    You can use a landscape template if it suits your project - and its possible to set it up to use portrait and landscape.
    I am told that  most "words only" books are written in MS Word or similar applications and pasted into inDesign, iBooks etc,. and then re-formatted to suit and the page producing flowing text works really well!

  • Discoverer 10.1.2 does not refresh new added column

    Hello,
    I need help to add a new item to EUL Business Area folder for a new added column in the database table.
    When I refresh the folder in the BA EUL, the result shows no difference between the folder and the underlying table in the database; however, when I quey the table in the database, a new column is there. The refresh of the folder in the Discoverer Admin tool cannot find the newly added column. Weird!! The first time saw this problem.
    Could someone shine some light on it? Would be really appreciate it!
    Ping

    I have a slightly different problem and can't solve it! When I refresh the EUL, the result shows the differences between the folder and the underlying tables in the database. However, it does not refresh the EUL in Discoverer Administrator 10g. Nothing happens! When I try to refresh again, the same list is shown... Does anyone know what could be happening?
    Thanks

  • Is it possible to add a column to the Item matrix in the ItemLookup form (C

    Hi,
    Is it possible to add a column to the Item matrix in the ItemLookup form (CFL or Find Lookup).
    I need to display a value in the newly added column if the itemgroup in that row matches a certain value , how can I achieve this.
    Thanks

    Hi,
    You may check this: Can we add CFL to the  system/form defined textbox?
    Please close your previous open thread.
    Thanks,
    Gordon

  • How can I insert multiple page contents in the page layout properly?

    I wanted to create 4 columns on the page layout. These 4 columns are of page contents.
    After creating new web page based on that page layout, I attempted to enter 4 different inputs on all 4 columns.
    Then, the result (from all columns) becomes the same.
    Image - edit the web page based on 4 columns page layout:
    Image - after edit & save:
    How can I insert multiple page contents in the page layout properly?

    First, I copied the HTML snippet for the Page Content on Sharepoint's Design Manger. The code of Page Content HTML snippet is shown below:
    <div data-name="Page Field: Page Content">
    <!--CS: Start Page Field: Page Content Snippet-->
    <!--SPM:<%@Register Tagprefix="PageFieldRichHtmlField"
    Namespace="Microsoft.SharePoint.Publishing.WebControls"
    Assembly="Microsoft.SharePoint.Publishing, Version=15.0.0.0,
    Culture=neutral, PublicKeyToken=71e9bce111e9429c"%>-->
    <!--MS:<PageFieldRichHtmlField:RichHtmlField
    FieldName="f55c4d88-1f2e-4ad9-aaa8-819af4ee7ee8" runat="server">-->
    <!--PS: Start of READ-ONLY PREVIEW (do not modify)-->
    <div id="ctl02_label" style="display:none">Page Content</div>
    <div id="ctl02__ControlWrapper_RichHtmlField" class="ms-rtestate-field"
    style="display:inline" aria-labelledby="ctl02_label"><div align="left"
    class="ms-formfieldcontainer"><div class="ms-formfieldlabelcontainer"
    nowrap="nowrap"><span class="ms-formfieldlabel"
    nowrap="nowrap">Page Content</span></div>
    <div class="ms-formfieldvaluecontainer"><div class="ms-rtestate-field">
    Page Content field value. Lorem ipsum dolor sit incididuntet dolore.</div>
    </div></div></div><!--PE: End of READ-ONLY PREVIEW-->
    <!--ME:</PageFieldRichHtmlField:RichHtmlField>-->
    <!--CE: End Page Field: Page Content Snippet-->
    </div>
    After I published the page layout, I found the code for Page Content from its ASPX page. The code is shown below:
    <div data-name="Page Field: Page Content">
    <PageFieldRichHtmlField:RichHtmlField FieldName="f55c4d88-1f2e-4ad9-aaa8-819af4ee7ee8" runat="server"/></div>
    So, I attempted to create 4 columns by using 4 HTML snippets of Page Content on the same page layout. The page layout is generated from HTML file to ASPX file.
    Then I edited some parts in ASPX page layout:
    <asp:Content runat="server" ContentPlaceHolderID="PlaceHolderMain">
    <table>
    <tr>
    <td style="width:70px;">&nbsp;</td>
    <td style="width:250px; text-align:right;">
    <div data-name="Page Field: Page Content">
    <PageFieldRichHtmlField:RichHtmlField FieldName="f55c4d88-1f2e-4ad9-aaa8-819af4ee7ee8" runat="server"/>
    </div>
    </td>
    <td style="width:40px;">&nbsp;</td>
    <td style="width:200px;">
    <div data-name="Page Field: Page Content">
    <PageFieldRichHtmlField:RichHtmlField FieldName="f55c4d88-1f2e-4ad9-aaa8-819af4ee7ee8" runat="server"/>
    </div>
    </td>
    <td style="width:25px;">&nbsp;</td>
    <td style="width:200px;">
    <div data-name="Page Field: Page Content">
    <PageFieldRichHtmlField:RichHtmlField FieldName="f55c4d88-1f2e-4ad9-aaa8-819af4ee7ee8" runat="server"/>
    </div>
    </td>
    <td style="width:25px;">&nbsp;</td>
    <td style="width:200px;">
    <div data-name="Page Field: Page Content">
    <PageFieldRichHtmlField:RichHtmlField FieldName="f55c4d88-1f2e-4ad9-aaa8-819af4ee7ee8" runat="server"/>
    </div>
    </td>
    <td style="width:175px;">&nbsp;</td>
    </tr>
    </table>
    </asp:Content>
    The 4 columns for Page Contents appeared on the web page when I created new page using that page layout. But the problem is that all 4 columns displayed the same result from 4th column.

  • "Dynamic column" in the workplace

    Hi experts.
    Do somebody know the possible uses of the "Dynamic column" field in the task registers of the Workflow inbox? You can add some dynamic columns via the "select layout" menu of the workplace but they seem to be empty.
    I'm wondering if I can put some custom dynamic information on them via workflow definition (information such like users names or maybe some filter criteria) in order to help the user to show and order the active tasks easily.
    Any help on this topic will be interesting for me.
    Thank you all!!
    Ismael

    Hi Ismael,
    Dynamic columns are specific to each task, you can define them using tx SWL1.
    Once defined, the dynamic column fields should now be available. However they do take a performance hit and obviously the fields are not applicable to all tasks. For this reason it is not a good idea to have a dynamic column as a default layout, but to use them in the in the task-based inbox views:
    In the workplace view Inbox -> Workflow -> Grouped by task -> the task you just defined (you must have a workitem of that task already in your inbox). Define a layout and save it as a default, teach your users to navigate to a task if they want to use the columns.
    Of course some users can still create their own workflow inbox view with dynamic columns if e.g. the majority of their work is a particular task.
    Cheers,
    Mike

  • Irritating problem with adding columns

    I am adding columns to jtable. And then moving it to required postion.
    But whenever I edit those columns all the newly added columns and the first column reflects those changes. ie whatever I enter in the new columns, it appears in all newly added columns and the first column as well.
    whats wrong I am doing here.
    EditableHeaderTableColumn ncol = new EditableHeaderTableColumn();
    TableColumnModel columns = table.getColumnModel();
    int c = table.getSelectedColumn();
    columns.addColumn(ncol);
    columns.moveColumn(i-1, c+1);

    Make sure you are not sharing the TableColumn instance or adding a TableColumn that already is in the TableColumnModel.
    When resizing the table column, do the others resize too. ?

Maybe you are looking for

  • Browsers crashing when filling out pdf forms

    Whenever I open a form and start filling it out it crashes the browser I'm using. It happens in IE and Firefox. What's going on? Thanks, Evan

  • How do i change the   database port for enterprise manager for 10g

    I ma having a problem launching my enterprise manager from my web browser ,the problem is may be there is another service using the default port which is 5500 and now i want to change it to another port but which file in the oracle installation path

  • Won't print blue

    HP Officejet Pro L7590 won't print blue despite all cleaning etc done???? !!!!

  • Can i distribute??

    Hiya, I am developing an JAVA-application on my own, which i want to distribute / spread out when i finishes it. I might even think of trying to sell it to people who are interested. All i want to know is if i CAN distribute my JAVA program without h

  • HT1553 how to create boot mac os x  lion

    i want to create a copy of my Mac os x new version, bcoz  i had purchased it in online, so kindly give me the solution.