Add special column to author grid for cq5.4

Hi
On the siteadmin I want to add a new column for each page to the layout grid. The column should show some special content for the page.
On CQ 5.5 there is a Interface ListInfoProvider to add such a new column.
see http://dev.day.com/docs/en/cq/5-5/developing/customize_siteadmin.html
Is there something similar for CQ 5.4?
Best regards
Jan Stettler

I remember working on a similar ticket. You might need to modify SiteAdmin.js file at two places as given below:
Line 154
CQ.wcm.SiteAdmin.COLUMNS["cug"]
Line 2225
"cug": {
        "header":CQ.I18n.getMessage("CUG"),
        "id":"cug",
        "dataIndex":"label",
        "width":80

Similar Messages

  • How to add a column in alv grid report to show the serial no.

    i need to add column to show the row no. of the report say as :
    1
    2
    3
    this has to be the first column
    how to maintain a variable for this and how to use it??
    please help

    one simple way is in your final itab declare a slno type i field
    data : begin of itab occurs 0,
    slno type i,
    <other fields>
    end of itab.
    after filling the data in itab.
    loop at itab.
    itab-slno = sy-tabix.
    modify itab.
    endloop.
    in fieldcatalog also you have to define that slno field as the first column.
    but it will change its order if you are sorting the output or filtering the output.
    regards
    shiba dutta

  • How do I add a column to the Result for BT111S_OPPT

    Hi,
    I have a requirement to include a header level partner in the Results view of BT111S_OPPT.  It is already possible to search by this partner function but the partner column is not available on the view 'BT111S_OPPT/Result'.  My research has pointed me toward using the "ITERATOR" but a related blog was not available and I must admit that I am rather confused as to how to use the "ITERATOR".  I am assuming that I can use it to GET->CURRENT but then I don't know what to do after that.
    Any help is appreciated as we are under time pressure.  Thanks.
    Cheers,
    Paul

    Hi,
    iterators are normally used to convert data in lists which are already evaluated.
    In your case you better add a new column to the result list node and implement the getter with your own
    code. This would look quite similar like (just an example)
    METHOD get_po_number_ship.
      DATA:
            lv_po_number_ship TYPE crmt_po_number_ship,
            lr_current TYPE REF TO if_bol_bo_property_access,
            lr_entity  TYPE REF TO cl_crm_bol_entity.
      IF iterator IS BOUND.
        lr_current = iterator->get_current( ).
      ELSE.
        lr_current = collection_wrapper->get_current( ).
      ENDIF.
      TRY.
          lr_entity ?= lr_current.
          lr_entity ?= lr_entity->get_related_entity( iv_relation_name = 'BTItemSalesSet' ).
          IF lr_entity IS BOUND.
            lr_entity->get_property_as_value( EXPORTING iv_attr_name = 'PO_NUMBER_SHIP'
                                              IMPORTING ev_result    = lv_po_number_ship ).
          ENDIF.
        CATCH cx_sy_ref_is_initial.
          RETURN.
      ENDTRY.
      value = lv_po_number_ship.
    ENDMETHOD.
    Regards,
    Wolfhard

  • HOW TO: Add /manipulate columns for a GridControl

    HOW TO: Add /manipulate columns for a GridControl when the columns (attributes) are from different entity objects.
    This HOWTO describes the basic steps of using attributes from different entity objects for a GridControl.
    One way you can create a GridControl which contain attributes from different entity objects is to create a view object and base it on the entity objects which contain
    the desired attributes.
    Here are the basic steps:
    1.Create a new view object (or use an existing view object) by selecting File>New from the menu, clicking the Business Components tab and double-clicking
    on the View Object icon.
    2.In the View Object wizard change the name to something meaningful.
    3.Select the entity objects you will base your view object on.
    4.Nivigate to the attribute screen and select the attributes you would like to include in your view object from each entity object. At this point you can also create
    a new attribute by clicking the "New" button. The new attribute can be a concatenation of other attributes, derived from a calculation etc.
    5.In the query panel of the View Object wizard, click "Expert mode" and enter a query statement. You write complex queries such as decoding a set of attribute
    values.
    6.Add your newly to your newly created view object to the application module by double-clicking on the application module in the navigation pane and selecting
    your view object from the list.
    7.Create a new row set.
    8.Bind row set to a query by editing their queryinfo property and selecting your view object and its attributes from the queryInfo pane.
    9.Create a GridControl and bind it to the row set by editing the dataItemName property of the GridControl. Since the GridControl is bound at the row set level
    all of the related attributes are automatically added.
    null

    Michael,
    Are you intending this as a commercial solution or a work around?
    To take an existing equivalent, one would build a view in the database tailored for each grid in an Oracle Forms application. Or a separate query layered over tables for each form/grid in a Delphi or Access application? Even if it is ninety nine percent the same over half a dozen forms/grids?
    And now you've added a whole slew of "slightly different" rowSetInfos to maintain.
    So if you wanted to add a column that needs to appear everywhere... you've just increased the workload multi-fold?
    That would be a management nightmare, wouldn't it? Not to mention yet more performance cost and a slower system?
    Hmmmm..... I'm not sure I like where this is headed... someone needs to do some convincing...
    null

  • How to add column in table control for transaction APPCREATE

    Hi All,
    How can i add the additional column in table control for transaction APPCREATE.
    There is structure PT1045_EXT present behind table control. But not found any customer exit or badi to display on screen.
    Please help...

    You can add new columns
    If you add new columns in tr. PHAP_CATALOG

  • How to show author column in document properties for pdf

    Hi,
    I save all document of PDF in one folder.  Then i click choose details i choose 'Author'
    i need to add name in the author column and showed the author name in document properties.
    so i open the pdf file ---- properties -- at description (key name at author column) then save it.
    BUT , when i back into the list of document, it doesnt show author name . it only showed Name, date modified, type, size. and blank info under author.
    Please advise . thank you.
    Myra

    Hi!
    Set the block property Query Data Source Type Property to FROM clause query .
    In the Query Data Source Name Property write
    select distinct col1 from table1May set the order by block property to col1.
    Set the Primary Key (Item) Property of item col1 to Yes.
    That's it.
    Regards

  • Using numbers Invoice template-  I add a column for UPC

    Is my Numbers contaminated?  I looked at the formula list.  I tried to add the column from the right and from the left.  If I add 12 numbers this is what will happen.  736211911117  it will revert to 7.36212E+11  I can add up to 11 numbers and this will not happen.
    I have a second computer and this does not happen.
    HMMMMM?????????
    Thank you for any help!

    Hi Eclectic,
    I am not sure what you are trying to do. More information about your aim will help towards a solution.
    If I add 12 numbers this is what will happen.  736211911117  it will revert to 7.36212E+11  I can add up to 11 numbers and this will not happen.
    I agree. That happens on my machine.
    I tried to add the column from the right and from the left.
    Which columns do you mean? What are you adding? Here is a screen shot of the Invoice table that I think you mean:
    Your profile shows OS X 10.7.5. If that is up to date, you are using Numbers '09 and using the Invoice template in Numbers '09. Correct?.
    Regards,
    Ian.

  • TS1277 hello, I am trying to add get my computer authorized for my itunes account, but the store is not showing the "authorize your computer" tab...

    hello, I am trying to add get my computer authorized for my itunes account, but the store is not showing the "authorize your computer" tab...

    never mind... found it after finding someone else's answer to the same questtion.  I liked the Alt S information, that was the greatest help.  I was looking in the wrong place.  That must be a common occurance.

  • How to make Authority Check for ALVGrid?!

    Hey mates,
    i got the problem which is mentioned in the headline. How can i make an authority check for my ALVGrid? I mean i want to restrict special functions to the matching users ( Display, Edit, Delete mode ).
    Would be cool if someone can help
    Regards Basti

    Hello Bastian
    A simple approach would be to define three different transactions (e.g. Z_MYALV01, Z_MYALV02, Z_MYALV03) for editing/deleting, editing only and displaying only. Add the following coding to the report displaying your ALV grid:
      CASE syst-tcode.
        WHEN gc_tcode_create.    " 01
          " Allow all grid functions
        WHEN gc_tcode_change.  " 02
          " Suppress grid functions for deleting rows
        WHEN gc_tcode_display.  " 03
          " Suppress grid functions for editing/deleting
        WHEN others.
          RETURN.
       ENDCASE.
    Regards
      Uwe

  • Spanning columns in a grid messes up column widths

    Hi. I've been struggling with some layout issues when using
    column width percentages with the Flex Grid control. It seems that
    if I add a column that spans 2 or more columns, the column widths
    of the entire grid are altered. The strange thing is that the
    column widths are changed only if the text in the colspan column
    exceeds the width of the text in cells above or below it. Please
    see the code sample at the bottom of this message for a
    demonstration (I can't seem to find a way to "attach code").
    Does anyone have any ideas how to fix this?
    Thanks!
    Dustin
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="
    http://www.adobe.com/2006/mxml"
    creationComplete="init()" layout="vertical">
    <mx:Script>
    <![CDATA[
    import mx.containers.*;
    import mx.controls.*;
    import mx.core.*;
    import flash.utils.Timer;
    import flash.events.TimerEvent;
    private var dynamicText:Text;
    private var charCode:uint;
    private var button:Button;
    private function init():void
    var panel:Panel = createPanel();
    addChild(panel);
    addText(panel);
    addGrid(panel);
    addButton(panel);
    startTimer();
    private function timerComplete(event:TimerEvent):void
    button.enabled = true;
    private function createPanel():Panel
    var panel:Panel = new Panel();
    panel.title = "ColSpan Spacing Problem";
    panel.width = 500;
    panel.height = 200;
    panel.horizontalScrollPolicy = ScrollPolicy.OFF;
    panel.layout = "vertical";
    return panel;
    private function addText(panel:Panel):void
    var text:Text = new Text();
    text.text = "First row contains 5 columns with no col spans.
    Second row contains 4 columns with " +
    "column 2 spanning columns 2 and 3. Notice how the column
    widths are affected when the text " +
    "in the colspan cell grows larger than the text in the cell
    above it.";
    text.percentWidth = 100;
    panel.addChild(text);
    private function addGrid(panel:Panel):void
    var grid:Grid = new Grid();
    grid.setStyle("horizontalGap", "0");
    grid.setStyle("verticalGap", "0");
    grid.percentWidth = 100;
    panel.addChild(grid);
    // FIRST ROW
    var gridRow:GridRow = new GridRow();
    gridRow.percentWidth = 100;
    grid.addChild(gridRow);
    var gridItem:GridItem = new GridItem();
    gridItem.setStyle("borderStyle", "solid");
    gridItem.percentWidth = 1;
    gridRow.addChild(gridItem);
    gridItem = new GridItem();
    gridItem.setStyle("borderStyle", "solid");
    gridItem.percentWidth = 48;
    var text:Text = new Text();
    text.text = "No ColSpan Columns";
    gridItem.addChild(text);
    gridItem.colSpan = 1;
    gridItem.clipContent = false;
    gridRow.addChild(gridItem);
    gridItem = new GridItem();
    gridItem.setStyle("borderStyle", "solid");
    gridItem.percentWidth = 1;
    gridRow.addChild(gridItem);
    gridItem = new GridItem();
    gridItem.setStyle("borderStyle", "solid");
    gridItem.percentWidth = 13;
    gridRow.addChild(gridItem);
    gridItem = new GridItem();
    gridItem.setStyle("borderStyle", "solid");
    gridItem.percentWidth = 37;
    gridRow.addChild(gridItem);
    // SECOND ROW
    gridRow = new GridRow();
    gridRow.percentWidth = 100;
    grid.addChild(gridRow);
    gridItem = new GridItem();
    gridItem.setStyle("borderStyle", "solid");
    gridRow.addChild(gridItem);
    gridItem = new GridItem();
    gridItem.setStyle("borderStyle", "solid");
    gridItem.colSpan = 2;
    dynamicText = new Text();
    dynamicText.text = "A"; //IF THIS TEXT GROWS WIDER THAN TEXT
    IN THE ROW ABOVE, SPACING IS THROWN OFF
    gridItem.addChild(dynamicText);
    gridRow.addChild(gridItem);
    gridItem = new GridItem();
    gridItem.setStyle("borderStyle", "solid");
    gridRow.addChild(gridItem);
    gridItem = new GridItem();
    gridItem.setStyle("borderStyle", "solid");
    gridRow.addChild(gridItem);
    private function addButton(panel:Panel):void
    button = new Button();
    button.label = "Start Over";
    button.addEventListener(MouseEvent.CLICK, startOver);
    panel.addChild(button);
    private function startOver(event:MouseEvent):void
    startTimer();
    private function startTimer():void
    dynamicText.text = "A";
    charCode = 66;
    button.enabled = false;
    var myTimer:Timer = new Timer(250, 25);
    myTimer.addEventListener(TimerEvent.TIMER, timerHandler);
    myTimer.addEventListener(TimerEvent.TIMER_COMPLETE,
    timerComplete);
    myTimer.start();
    private function timerHandler(event:TimerEvent):void
    dynamicText.text += String.fromCharCode(charCode);
    charCode++;
    ]]>
    </mx:Script>
    </mx:Application>

    This seems to fix it.
    gridItem = new GridItem();
    gridItem.setStyle("borderStyle", "solid");
    gridItem.colSpan = 2;
    dynamicText = new Text();
    dynamicText.percentWidth = 100;
    dynamicText.text = "A";
    gridItem.addChild(dynamicText);
    gridRow.addChild(gridItem);

  • Want to expand columns on planning screen for shipment

    Dear All,
    I need to expand 3 Z-field columns on planning screen for shipment. With Note# 400368, I need to add my Z-fields in structure VTTKD and apply them to the ALV grid with modifications of FM RV_SHIPMENT_VIEW, however, in my project, we cannot do any system modification that will affect by importing R/3 support package or upgrades...
    Any other solution that I can take to expand 3 Z-fields to the ALV report?
    I am looking for GuiXT tools, however, I don't know whether GuiXT can modify standard ALV report or not.. If anyone has experience with GuiXT, could you please show me which command I want to use in this case and how?
    Thank you in advance!

    Hello Tiger,
    >>1, How could Jet DB expand columns when connection with "HDR=No". It is possible?
    We should know that “HDR=No” is used to configure whether the provider considers the first row to be column name or to be a normal data row. There is not other approach to set this configuration.
    >> 2, How to remove the header as an workaround way?
    With the oledb provider, it is not possible to avoid insert these header, my suggestion is that you could open the target inserted excel sheet, and remove first row manually which is fast and easy. Or to remove the first row through using Excel.Interop.dll.
    Regards.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Add New Column to a ViewObject?

    I'm experimenting with 10.1.3. I've created a view object, and dropped a table on a jsp with it (using ADF faces). Now, I have added a column to the query in the view object, but it isn't automatically getting added to the attribute list.
    For example, the original query was:
    select last_name||', '||first_name Name from employees
    and it was changed to:
    select last_name||', '||first_name Name, email from employees
    The only way I can see to get the new column is to add it by using the 'New' button, and then manually setting the name and data type. It seems like it should be automatically picked up, or refreshed somehow, since I can't imagine queries being that stable over time as underlying tables and user needs change, and anytime you invoke a manual process you are A) introducing more opportunities for bugs and B) wasting time anyway.
    Am I missing something?

    Interesting behavior. When I go to the jsp that has the grid, I can just drag the new column into the grid. What I had been doing was adding it into the SQL tab on the view window, testing the query, and then expecting it to be available as an attribute right then and there, so I could change the hint, label, etc. and THEN go drop it on the page. I hadn't even looked to see if it were available at the page level since it wasn't there on the viewobject yet.
    My recommendation would be that the view object attributes be refreshed first, otherwise you've added another step to go through, but of course, I'm just lazy. :)

  • Display custom metadata/ add new columns in document explorer of spaces

    We have client requirement to show custom metadata in the document explorer home sceen, like Document name, Size, Author, etc..
    Can we display metadata from advanced properties of a file like a column or can we add new columns to display to document explorer.
    How can we achieve this goal, can we customize taskflow to achieve this goal.
    Thank you,

    For what it's worth, I posted pretty much the same question a couple of days ago:
    How to show document title instead of file name in Document Manager
    If you check the source of the task flow you'll notice that the document explorer contains an af:treeTable that iterates over a collection of items.
    I have not yet identified the class it is iterating over, but I doubt you will be able to add custom metadata to this table. Perhaps the document title (which I am looking for) which is a common field, but not others.
    Might be an enchancement request for Oracle Support.

  • Showing Grid without column headers and Grid lines

    Hi all
    does anyone knows how can set a grid object to display without grid lines and without column headers?
    appreciate the help
    Yoav

    Hi Yechiel,
    When you work with the grid you just have to drag it into your srf and bind it with some table by specifying the table name in its properties.
    When the form launches the columns of the grid  will be created automatically as per the number of columns in the table.The caption of the column in the grid will be the same as that of the name of the column in the table.The only condition for this is that the table should contain some records, if the table is empty no grid lines and the column header will be displayed .
    I hope this meet your requirements.
    Below I am sending you the code segments with the help of which you can control the grid progamatically...
    //Declaring the grid object
    Grid oGrid;
    //Initializing the grid object
    oGrid=(SAPbouiCOM.Grid)oForm.Items.Item("MBS_Grid").Specific;
    //Adding a new data table to the form
    oSboApplication.Forms.ActiveForm.DataSources.DataTables.Add("MBS_DataTable");
    //Assigning the data table to the grid
    oGrid.DataTable = oSboApplication.Forms.ActiveForm.DataSources.DataTables.Item( "MBS_DataTable" );
    // This statement will clear the grid
    oGrid.DataTable.Rows.Clear();
    // In this way you can set the column properties
    oGrid.Columns.Item(0).Editable=false;
    oGrid.Columns.Item(1).Editable=false;
    oGrid.Columns.Item(2).Editable=false;
    oGrid.Columns.Item(3).Editable=false;
    oGrid.Columns.Item(4).Editable=false;
    oGrid.Columns.Item(5).Editable=false;
    // In this way you can set the column width
    oGrid.Columns.Item( 0 ).Width = 50;
    oGrid.Columns.Item( 1 ).Width = 60;
    oGrid.Columns.Item( 2 ).Width = 130;
    //This is the way you can set a user defined caption on the column header.
    query="select U_CTX_MOVCODE as 'Movie Code',U_CTX_MOVNAME as 'Movie Name',U_CTX_SHELF as 'Shelf Number',U_CTX_SPACE as 'Space Number',U_CTX_CARDCODE as 'Customer Code',U_CTX_RENTED as 'Rent Status' from [@CTX_VSTORE] order by Code";
    Regards,
    Prashant

  • Rendering each child t:tree node in seperate column in panel grid

    I have a tree component using tomahawk <t:tree>
    Each child in the tree denotes a level in my application and I would like to display that inside different columns in Panel Grid or Data Table) it does not matter).
    Say, the tree has a root node with 3 child nodes(immediate) , then there should be a total of 2 columns.
    First column will have root node, and the next column will have 3 child nodes.
    Similarly if the structure is as below
    A -root node
    B - child of A
    C - child of B
    D - child of C
    then there should be 4 columns,
    first column will have A,second B, third C and fourth D.
    I tried to use binding in PanelGrid and then tried to add DefaultMutableTreeNode, but could not find a way of how to achieve this.
    Any suggestion or link will be helpful.
    Regards,
    Joshua

    You might want to try the Tomahawk user's mailing (or the MyFaces user's mailing list if there is not one specifically for Tomahawk).

Maybe you are looking for

  • How can i have an iTunes Store ID if my country is not listed???

    Hi guys, I live in Jordan, and the iPhone have been available since December... so far we do not have the App Store so we can get applications, it is annoying and the device doesn't worth much without applications!!! is there anyway to have an accoun

  • Unable to Load Windows 7 after a power failure

    My windows 7 workstation was in a sleep mode when a power failure happened. after trying to power up the machine it tries to resume windows session but stucks after displaying an error unable to find saved session. it gives an option to either delete

  • N95 & Auto-Rotate Function in V21.0.016

    Wife & I both have new N95's RM-159 from 3. Firmware Version is V21.0.016 as mentioned in subject line. What neither phone seems to have is the auto-rotate function. After hours of searcing I've been unbale to find out why with this version of the fi

  • ITunes wont open at all

    A while back my HDD crashed so I got a new one. Now when you go to open itunes nothing at all happens. It's like it doesn exist. Several times I have went through every itune/ipod file i can find and trashed them and reinstall itunes but nothing diff

  • ANT not recognized by the command. New style doesn't deploy after reboot.

    I am playing around the cssmill to create the ccs files and I ran into 2 issues: If I ran ANT make_main_css -DCOLOR=##, I got error that "'ant' is not recognized as an internal or external command". If I double click the make_all.bat in the directory