Dynamic headers/themes.

Is there a way to dynamically change a theme based on the left hand navigation items? 
For example, in the left hand navigation we would like to have 3 hyperlinks each assigned to different roles and each role having it's own theme.  When clicking on one of the three different hyperlinks, we would like the header/navigation items for that hyperlink to change.
Thanks

Thanks for the response. 
A person can be in several roles.  What we would like to have happen is that when a user clicks on one of the links in the left hand navigation, they will have a different look and feel for that particular role.  What it is sounding like, though, is that the user gets a single theme no matter how many roles they are assigned to.  I'm guessing that when a user logs in, the person will get logged in with the highest priority of the roles assigned and the associated theme to that role?  Not to get off topic, but we are getting ready to implement LDAP and I do not see a way to assign a priority to the LDAP (distribution list) roles.  If a person is in several different roles and we are utilizing LDAP, which theme will a user see? 
Thanks

Similar Messages

  • Dynamic headers in table control

    Hi,
    How to create dynamic headers in table control headers?
    I have to replace the header labels with internally computed headers.
    I have created input fields for headers..
    Regards,
    Krutika

    Hi Krutika,
    Try this out,
    Populate an internal tabel with all the dates and day in it and also populate the column position  in it.
    say you have populated all this in an internal table it_date----fields in the internal table
    1. date
    2. day
    3. spot1 -
    column name of the table control(spot1 represents the column position)
    then do this ,
    LOOP AT it_date INTO wa_date.
       LOOP AT SCREEN .
    *WHERE screen-name = wa_date-spot.
        CASE wa_date-spot.
          WHEN 'SPOTS1'.
            spots1 = wa_date-dd.
          WHEN 'SPOTS2'.
            spots2 = wa_date-dd.
          WHEN 'SPOTS3'.
            spots3 = wa_date-dd.
          WHEN 'SPOTS4'.
            spots4 = wa_date-dd.
          WHEN 'SPOTS5'.
            spots5 = wa_date-dd.
          WHEN 'SPOTS6'.
            spots6 = wa_date-dd.
          WHEN 'SPOTS7'.
            spots7 = wa_date-dd.
          WHEN 'SPOTS8'.
            spots8 = wa_date-dd.
          WHEN 'SPOTS9'.
            spots9 = wa_date-dd.
          WHEN 'SPOTS10'.
            spots10 = wa_date-dd.
          WHEN 'SPOTS11'.
            spots11 = wa_date-dd.
          WHEN 'SPOTS12'.
            spots12 = wa_date-dd.
          WHEN 'SPOTS13'.
            spots13 = wa_date-dd.
          WHEN 'SPOTS14'.
            spots14 = wa_date-dd.
          WHEN 'SPOTS15'.
            spots15 = wa_date-dd.
          WHEN 'SPOTS16'.
            spots16 = wa_date-dd.
          WHEN 'SPOTS17'.
            spots17 = wa_date-dd.
          WHEN 'SPOTS18'.
            spots18 = wa_date-dd.
          WHEN 'SPOTS19'.
            spots19 = wa_date-dd.
          WHEN 'SPOTS20'.
            spots20 = wa_date-dd.
          WHEN 'SPOTS21'.
            spots21 = wa_date-dd.
          WHEN 'SPOTS22'.
            spots22 = wa_date-dd.
          WHEN 'SPOTS23'.
            spots23 = wa_date-dd.
          WHEN 'SPOTS24'.
            spots24 = wa_date-dd.
          WHEN 'SPOTS25'.
            spots25 = wa_date-dd.
          WHEN 'SPOTS26'.
            spots26 = wa_date-dd.
          WHEN 'SPOTS27'.
            spots27 = wa_date-dd.
          WHEN 'SPOTS28'.
            spots28 = wa_date-dd.
          WHEN 'SPOTS29'.
            spots29 = wa_date-dd.
          WHEN 'SPOTS30'.
            spots30 = wa_date-dd.
          WHEN 'SPOTS31'.
            spots31 = wa_date-dd.
        ENDCASE.
    Hope this helps you,
    Regards,
    Abhijit G. Borkar

  • Example of obj.conf file using dynamic headers/footers

    Just a quick query. I'm trying to use dynamic headers/footers and I've read
    the notes on:
    http://docs.iplanet.com/docs/manuals/enterprise/50/ag/essearch.htm#26999
    I cant seem to get it to work. Could you send me an example of an obj.conf
    file so I can get mine to work?
    Many Thanks in Advance,
    Mian Amar Ahmad

    Thanks. I followed the guidance of the 3 links you provided. I thought what I coded in the obj.conf was working.
    <If $uri =~ "^/dynamic/(.*)$">
    NameTrans fn="restart" uri="/$1?$query"
    </If>
    But, I later found that this fails when the method is a GET and the query-string is null and when the method is a POST. I need all GETs and POSTs starting with "/dynamic" to have it stripped and "restarted". So, I modified my original config to make POSTs work. So now I have the following code:
    <If $method eq "POST" and $uri =~ "^/dynamic/(.*)$">
    NameTrans fn="restart" uri="/$1"
    </If>
    <If $method eq "GET" and $uri =~ "^/dynamic/(.*)$">
    NameTrans fn="restart" uri="/$1?$query"
    </If>
    Now, I'm left with trying to get it working for GETs where the query-string is null. I'm not quite sure how to do this? Do you have any suggestions? It seems like the code is getting pretty crazy just to perform this functionality, Is there a simplier way that I am not seeing?

  • Dynamic Headers in adobe form

    Hi,
    I want to display dates as headers  in my form.How can I implement this?
    I am using this form in a ABAP WD application.
    I was able to get statis text on multiple pages but dynamic text is only appearing one time.
    I have created a new content area and page2 I have created a subform to hold header descriptions.
    I tried to bind it to a table which holds date values.headers are comming only in 2nd page there after they are not showing up.
    Rgds
    Praveen
    Edited by: PRAVEEN s on Apr 1, 2009 12:11 AM

    Hi Praveen,
    I am facing similar problem. Please go thru the below thread if you find time.
    http://scn.sap.com/thread/3205664
    Could you let me know how did u resolve?
    Thanks,
    Swami

  • Dynamically Change Theme @Runtime

    Hello,
    I was wondering if using out of the box Apex, it was possible to let the end user change the theme of the application.
    The users don't have access to the Apex console, only to the application.
    Here is the idea : http://www.apex-themes.com/stock-themes/dynamic-theme-switching/
    But based on stanard themes.
    Regards,
    A.Reper

    Arnaud,
    End users CAN'T change the themes dynamically. But we can mimic the same. If you search forum, you will find quite number of threads on this and approach is more or less same - Point to different CSS files dynamically
    Regards,
    Hari

  • Dynamic portal Themes

    Hello All,
    I just wanted to know if it is possible to changes the portal themes based on roles during runtime.
    Thanks

    Hi,
    Yes, it is possible and easy.
    You must to create different Desktops in PCD.
    Using "master rules", you define, which desktop use each user or users group.
    http://help.sap.com/saphelp_nw70/helpdata/EN/ed/f794f201654cc8bdd6968e350800d9/frameset.htm
    A desktop contain a Framework Page, and a Theme.
    http://help.sap.com/saphelp_nw70/helpdata/EN/1a/d7c1617dd29e4d85064b467636fada/frameset.htm
    Then, each user, depending of which desktop you assign it in Master rules, will use different theme.
    regards,
    Edited by: Leandro  Balboni on May 9, 2008 11:29 AM

  • How refresh(redraw) one element in dynamic (JDBC) theme-based FOI layer?

    MapViewer version: Ver11_B090501
    I'm add layer on map:
    var QFM = createQuery('formosat', ordsArray.toString(), begd, endd);
    var TFM = createTheme(QFM);
    var HTFM = new MVThemeBasedFOI('HTFM', TFM);
    HTFM.setRenderingStyle("C.FM");
    HTFM.enableHighlight(true);
         HTFM.setHighlightStyle("C.SP");
         HTFM.setHighlightMode("multiple");
         HTFM.setMaxWholeImageLevel(maxImgLev); // 7
         //HTFM.enableImageCaching(true);
    mapview.addThemeBasedFOI(HTFM);// add on map
    If i try click on FOI element, it will be not Highlighted (because im used setMaxWholeImageLevel(maxImgLev); // 7). Can i redraw only selected elemet?

    Feature highlighting only works when the theme is NOT displayed as a whole image.

  • Dynamic Headers in ALV Based on Different layouts

    Hi Experts,
    I Have a requirement in an ALV Report wherein After the report run as the user chooses different layouts from saved ones the ALV header should change accordingly.
    I'm using Function modules to write the ALV.
    First of all , is it possible? and if yes how?
    Thanks,
    Sachin Soni

    hi rohit ,
    thanks for replying but i think ppl have not understood it clearly.
    I'm not asking about the variants which the user saves before calling the report but rather the layout which after the report run user creates based on what columns he wishes to see at that moment.
    thanks
    sachin soni

  • Trouble with passing parameters to a dynamic theme

    Hello experts,
    I have been wrestling with this for days now, and can't seem to understand what is going on here. I don't think it's difficult to figure out and I'm sure I'm not the only one who has come across this, I just feel like I am missing something.
    In a nutshell - I have a predefined theme called TEST_DYNAMIC_THEME_NEW2. Its styling rules are as follow:
    <?xml version="1.0" standalone="yes"?>
    <styling_rules caching="NONE">
        <rule>
            <features style="C.RED"> select geom, :1 FROM TRACT_CURRENT_GEO </features>
      </rule>
    </styling_rules>I am obviously trying to pass a parameter to this theme, representing a column name. Perhaps this is not possible, but I don't know why not.
    The error message I'm getting in Firebug is as follows:
    <?xml version="1.0" encoding="UTF-8" ?> <oms_error> MAPVIEWER-06009: Error processing an FOI request.
    Root cause:SQLException: ORA-01722: invalid number
    </oms_error>On the other hand, when I am in mapbuilder and I Preview the theme it works fine. It asks for a parameter value for :1, I give it a column name, and a big red map displays in the Preview screen (this is what I want to see [at least for now]).
    Any ideas, folks?
    Thank you all very much for your time,
    John

    jpaiva,
    I thought that this might be the case. What I was clearly attempting to do is set up a predefined theme that would reference a specific table, but then the queried column could change based on a bind variable. If I want to continue down this path, perhaps the best solution would be to simply create a dynamic jdbc theme query on the client side.
    Thanks!

  • JDBC theme - dynamic advanced style

    Hi
    I'm using dynamic JDBC theme's from within javascript. For instance :
    themebasedfoi=new MVThemeBasedFOI("XX","<themes><theme name='XX'><jdbc_query asis='true' spatial_column='GEOLOC' jdbc_srid='82343' render_style='DK_VALUE' datasource='PHV_MAP'>"+aip_sql+"</jdbc_query></theme></themes>");
    that works nicely.
    Now I want to be able to build the advanced bucket style on the fly instead of using a fixed advanced style(in the example DK_VALUE').
    I can define the style as for instance:
    vol_style="<style name='vol_style'><AdvancedStyle><BucketStyle><Buckets><RangedBucket seq='0' label='less than 100k' high='10000.0' style='C.RED_1'/><RangedBucket seq='1' label='100k - 150k' low='10000.0' high='15000.0' style='C.YEL_1'/><RangedBucket seq='2' label='150k - 250k' low='15000.0' high='20000.0' style='C.BLUE_1'/><RangedBucket seq='3' label='250k - 350k' low='20000.0' high='30000.0' style='C.GRE_1'/><RangedBucket seq='4' label='350k - 450k' low='30000.0' high='100000.0' style='C.GRE_2'/></Buckets></BucketStyle></AdvancedStyle></style>";
    But how can I get the dynamic theme to use this dynamically created advanced style?
    Jesper

    With MapViewer 11 preview 1, you can define dynamic styles and use the dynamic styles in your jdbc themes. We provide classes such as MVStyleColor, MVStyleMarker, MVBucketStyle, MVBarCharStyle, MVPieCharStyle and the most generalized all, MVXMLStyle to define any MapViewer supported style.
    Here is an example.
    var dynStyle = new MVStyleColor("mycolor", "00FF00", "FF0000") ;
    var themeDef =
    '<theme name="mytheme" >' +
    '<jdbc_query spatial_column="geometry" jdbc_srid="8307" ' +
    'render_style="mycolor" datasource="mvdemo">'+
    'select geometry from counties' +
    '</jdbc_query></theme>' ;
    var themeBasedFOI = new MVThemeBasedFOI('county_theme', themeDef);
    themeBasedFOI.addStyle(dynStyle) ;
    mapview.addThemeBasedFOI(themeBasedFOI);

  • Change Table control Column Header text dynamically

    Hi,
    I have an requirement to change table control column header text dynamically.
    i.e. I have about 10 columns in table control, out that need to change 5 columns header text. These header texts are stored in an internal table.
    I had looked into the below link but could not get exactly how to do it.
    Dynamic headers in table control
    Could you please tell me how to do that.
    Thanks in Advance.

    Hi Saba,
    What you will need to do is this.....
    1. First replace the column Header Text box by I/O Fields and name them accordingly.
    Say for example we will consider the same example which i had explained in the link.
    there in the column header we want the header to change when some dates and entered into two fields which are out of table control say
    Start Date: 01.01.2010 to End Date: 06.01.2010
    Now we want the header to look like this,
    Column  No.    -        1               2             3                  4               5               6
    Header label   -    01/FRI       02/SAT     03/SUN       04/MON     05/TUE      06/WED
    Header name -    SPOTS1   SPOTS2    SPOTS3      SPOTS4     SPOTS5    SPOTS6
    then you go as per the instructions in the link......
    Let me know if you need further help,
    Hope this solves your problem....
    Regards,
    Abhijit G. Borkar

  • Dynamic Creation of Items in Runtime through Application UI

    We have a requirement where the Users wanted to have an option of creating an item dynamically. We developed and deployed a very simple application but the users want to have the flexibility of adding new columns (without vaildations and processing - just data) to some of the existing regions. They are not IT people and want a simple interface to add columns without IT involvement.
    I thought of two options.
    (a) To pre-create around 10 items in the table with column names as customize1...customize10 with varchar2(1000). Have a configuration table which stores the column names and Label. Create a Report based on a Pl/SQL function returning query, and using HTMLDB_ITEM to dynamically populate them. Iam not very keen about this approach as do not want to create unnecessary columns and have to do a lot of manual processing for the data manipulation.
    a.1. Can we create a form (not a report) based on a pl/Sql function returning query.
    (b) To have an interface which does an "Alter Table .... add column ...." to create the new column. In this case how can we include this column to an existing form. Can we use HTMLDB_ITEM to add (create) columns to an existing region?
    (c) Any other suggestion ?
    Would appreciate an answer on the way to go forward to this, and also to a.1.
    Thanks

    Hi Marc,
    Thanks. I just tried something like this. Taking the EMP table example, (it doesn't matter which table), I created a region based on a Pl/Sql function returning SQL query
    ( I selected the vertical report template including nulls to display it like a form ) :
    DECLARE
    v_sql VARCHAR2(3000) ;
    mn_idx NUMBER := 1 ;
    BEGIN
    v_sql := 'SELECT ' ;
    FOR recs IN (SELECT * FROM ALL_TAB_COLUMNS WHERE TABLE_NAME = 'EMP' ORDER BY COLUMN_ID)
    LOOP
    v_sql := v_sql || 'HTMLDB_ITEM.TEXT(' || mn_idx || ',' ||
    recs.column_name || ') ' || recs.column_name || ', ' ;
    mn_idx := mn_idx + 1 ;
    END LOOP ;
    v_sql := SUBSTR(v_sql, 1, LENGTH(v_sql) -2) ;
    v_sql := v_sql || ' FROM EMP WHERE EMPNO = 7369 ORDER BY 1 ' ;
    RETURN v_sql ;
    END ;
    This allowed me to do my updates etc.., Then I created a button called 'Apply' and a process called 'update_changes' on button click and defined this:
    DECLARE
    v_sql varchar2(1000) ;
    mn_ctr NUMBER := 1 ;
    BEGIN
    v_sql := 'BEGIN UPDATE EMP SET ' ;
    FOR recs IN (select COLUMN_ID, COLUMN_NAME, DATA_TYPE
    from all_tab_columns where table_name = 'EMP'
    ORDER BY COLUMN_ID) loop
    -- Make changes here if required- this is assuming 9 columns --
    v_sql := v_sql || recs.column_name || ' = HTMLDB_APPLICATION.G_F0' || mn_ctr || '(1),' ;
    mn_ctr := mn_ctr + 1;
    end loop ;
    v_sql := substr(v_sql, 1, length(v_sql) - 1) ;
    v_sql := v_sql || ' WHERE EMPNO = 7369; END ;' ;
    execute immediate (v_sql) ;
    END ;
    Since this is for example, I didn't include code for Checksum and hardcoded empno = condition and have provision for 9 columns. I made some changes and tried saving it and I was able to do it.
    I altered the table to add a column / drop a column and when I relogin, Iam able to see the changes.
    Can you tell me if there could be any drawbacks in this approach ?.

  • Dynamic JDBC URls at Runtime

    Hi Experts,
    I did my application in jdev 11.1.1.6 and deployed using Jdbc Url connections and it worked successfully (Actually I m working with 2 diff Database connectiosn in my application)
    But the thing is my company need me to do something like I should be able to dynamically use Jdbc url connections at runtime so that they want to have QA db and PROD db inside the application
    and dynamically change them itseems. (i.e I will have 4 Db in which 2 for QA and 2 for PROD)
    Is there a way where I can achieve them. If so help me out.
    Thanks,
    933601

    Hi,
    You could store the database URLs in a properties file in the app server filesystem, then look them up in the dynamic JDBC code before setting the session attributes. So your QA app server has a properties file containing the URLs for the 2 QA databases and the PROD app server has a properties file containing the URLs for the 2 PROD databases.
    If you want a single app server to talk to multiple sets of databases you could pass a parameter to the login screen. Based on this you decide which database(s) to connect to.
    Kevin

  • How can i change column header value dynamically in IR report

    HI,
    I have created report with the help of collections. Report query has been changing dynamically but i got problem with report header names and headers names has not been changing dynamically it is always showing like c001,c002....etc so, i have created global item(G_ITEM) in shared components--->Applications items after that
    I have created process(before headers) and assigning some value to G_ITEM and used &G_ITEM to column headres in IR Report but here &G_ITEM is not showing any value.
    How can i achieve dynamic headers names by using *&G_ITEM(global items)* Please guide me to achieve this.
    Thanks in advance.
    Regards
    Narender B

    Narender wrote:
    HI,
    I have created report with the help of collections. Report query has been changing dynamically but i got problem with report header names and headers names has not been changing dynamically it is always showing like c001,c002....etc so, i have created global item(G_ITEM) in shared components--->Applications items after thatWhy didn't you answer the questions in the other thread to see if there was a better approach than this?
    I have created process(before headers) and assigning some value to G_ITEM and used &G_ITEM to column headres in IR Report but here &G_ITEM is not showing any value.
    How can i achieve dynamic headers names by using *&G_ITEM(global items)* Please guide me to achieve this.The static text exact substitution method of referencing the value of an APEX item requires a terminating dot ("."):
    &G_ITEM.

  • Dynamically Creation of  input field in webdynpro

    Hello Experts,
    I am new to webdynpro.
    I have a requirement to create the input filed dynamically for material.
    Requirement:- I have to button in my screen "+" and "-" button.
                          after execution  while i will click on + button one input filed should be created automatically and while i will clicik on
                          - button the newly creaed inputfield should be deleted from the screen.
    Coulld anybody help me on this.
    it would be great if somebody can share any solutin or sample code.
    Thanks in Adv...

    Hi Kiran,
    Jus to clarify on this: There might be situations, we don't know how many fields the user wants to create at runtime.
    Yes, OK, that does make sense and justifies the effort in this case, I agree with you.
    But in OP's case I think he only wants one field:
    after execution while i will click on + button one input filed should be created automatically and while i will clicik on
    Still, it does make sense to dynamically create them if there could be one up to X to keep the application slender.
    Cheers, Lukas

Maybe you are looking for

  • Hobbyist i7 build, comments please

    This is my first post on this forum and I apologise for its length but felt I should explain my choices. I found this forum and dvinfo.net in my research to build a new PC. This forum in particular has been of immense help. The expert knowledge, expe

  • What is wrong with my Nested Style?

    Hi guys, Frustrating times in InDesign when Nested Styles do not behave as i would like to. I would like to have a highlited text after the Hard Return or ":" a simple Character style Helvetica Bold like here. http://www.pixentral.com/show.php?pictur

  • Automatic Idoc outbound

    Hi, How do I configure the SAP system to create and send send IDocs when the corresponding data is updated (say material master). for eg: I have configured ALE with partner profile inbound and outbound profile to send MATMAS msg type idocs. At the mo

  • Firefox does not load the entire website, their are many missing parts to many websites

    when I am on firefox some of the websites don't finish loading and parts are missing, for example on Wikipedia, when Im on an article the search bar is gone and I cant change the subject, I am able to fix it by refreshing the page but I almost have t

  • IS CS5.5 Worth It?

    Hi Guys We're a micro-SME and went through a lot of financial pain last year investing in upgrading our equipment for CS5 and then expense of buying the programme, principally to work with AE, PPro, PS, Ai and In. I thought we were future proofed for