Assign theme to the user through code

Hi,
   I need to create the personalize component through which we can assign theme to the user(changing theme). can anyone give solution for assigning theme to the user through code.
Regards,
Shanthakumar.

Hi Shanthakumar,
Here's a document for creating portal desktop and display rule
https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/e549a890-0201-0010-3f8b-d3b852457ebd
You can create a display rule for a portal desktop depending upon the group. Through code you can add the required users to this group.
Hope this helps resolve your issue.
Regards,
Seema Rane.

Similar Messages

  • Unable to apply custom theme with background Image through code

    Hi,
    I am creating custom SharePoint 2013 theme and applying it through code on site by referring MSDN Article : "http://msdn.microsoft.com/en-us/library/office/jj927175(v=office.15).aspx".
    However when I try to add background image in custom theme and apply that theme to site then sites UI breaks.
    Details: I have two features, in feature-1: I am Deploying *.spfont, *.spcolor and background image. Then I am adding a new entry in "composed looks" list for my custom theme. in feature 2- I am applying the custom theme to site by using following
    code
    SPTheme theme = SPTheme.Open("NewTheme", colorPaletteFile, fontSchemeFile, backgroundURI);theme.ApplyTo(Web, true);
    Both feature activates without any errors, new entry also gets added in 'Composed Looks' list with all correct URLs, current item of composed looks list also change to custom theme but entire UI of site breaks If I remove background Image code from custom theme then everything works fine. Following code works fine
    SPTheme theme = SPTheme.Open("NewTheme", colorPaletteFile, fontSchemeFile);
    theme.ApplyTo(Web, true);
    If I apply same background Image manually(not through code) then also everything works as expected.Any help will be really appreciated.

    Hi,
    Thanks for your sharing, it will be helpful to those who stuck with the similar issue.
    Best regards
    Patrick Liang
    TechNet Community Support

  • Is there a way to import images that have been edited and assign them to the original?

    I am transitioning to mac and aperture. Is there a way to import images that have been edited and assign them to the original? I have 10,000 originals and about 2,000 edited images. The originals are named img_XXXX and anything modified img_XXXX_modified. I would like to be able to import the originals and then import the edited versions and assign them to the original masters. Instead of starting from here and going forward with 12,000 masters, some of which are actual originals and others not. Thanks for the help.

    Ah, the vestiges of a destructive workflow! Once you "get" Aperture, (specifically Masters and Versions) you are going to love it, as all of this work goes away - the relationship that you seek to retain is automatic in Aperture; it is simply done differently.
    The short answer to your question is EVERY image file that is Imported into Aperture will create a new Master and one Version. Assuming that your images are PSD/TIFF/JPEG that you created in something like Photoshop, then each one that your import will be a new Master. You have many options:
    -- Stick the originals in one Project(s) and the edited versions in another Project(s).
    -- Stick them all in the same Project(s) and "Stack" them.
    But here is the real question: Why are you doing all of this work and what are you trying to accomplish? Seems you are trying to preserve old things that don't need preserving in a non-destructive workflow.
    So, what is most valuable to you?
    -- The original, out of camera files? (That is, the fear/need to revert.)
    -- The edited versions? (That is the hours of work that it took you to get there.)
    If the former, import the originals and ignore the edited versions. (Either simply leave them out on disk or import them into their own Projects which you ignore.) Use Aperture to recreate the work you had done previously. This will always give you the ability to revert to the original Master and create as many Versions as you want. This is the best idea if your edits are relatively simple crops and exposure adjustments,
    If the latter, then import the edited versions and do as above with the originals. This makes more sense if your work uses lots of layers and, perhaps lots of clone tool type corrections.
    Of course, you can do a bit of both.
    Others may have better suggestions, but you will find it easy to answer your own question when you understand an image based, as opposed to a file based, non-destructive workflow.
    Good luck!

  • How to execute BAPIs by getting the input from the user through the browser

    Hi,
    I have created a simple xMII transaction using BAPI. It is a simple BAPI with one input. Now i want the transaction to be executed by getting the input from the user through browser. Once the user enters the value and clicks on a button, I want the result of the BAPI to be displayed in the grid. How to link the BAPI/transaction with applet/Javascript coding.
    Thanks.

    The first thing I would recommend would be for you to collaborate with your colleague Vinodh, since his/her recent thread is very similar to yours:  Calling a BAPI from web page
    In your case, the iGrid applet will run the Xacue query template and automatically display the results from your output parameter.
    I would encourage you to take a look at the sticky thread at the top of the forum entitled "MII Manufacturing Templates Updated" since this MII project is full of samples for you and your colleague to learn from.

  • Apple needs more information to complete your iMessage registration. Please call AppleCare in your country (listed below) and provide them with the following validation code:

    When I try to open imessage on my Macbook Pro I get the message "Apple needs more information to complete your iMessage registration. Please call AppleCare in your country (listed below) and provide them with the following validation code:"  Then it makes me call a number for AppleCare whish then makes me buy a $19 incident care. 
    I message has worked on this machine and works on my macbook air.  What is happening?
    Charles

    Hi,
    Apple Care Level one responders are very Script Led.
    This means they try to fit what you are saying into a Software or Hardware issue and into a Apple Care Period or  not.
    If you are having problems convincing them it is an Account/Apple ID problem (even though it only effects the Mac's use of it in iMessages) ask to speak to a Level 2 person who should be more knowledgeable because fixing and Id issue is free and not subject to Apple Care.
    9:00 pm      Monday; December 15, 2014
    ​  iMac 2.5Ghz i5 2011 (Mavericks 10.9)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.6.8),
     Couple of iPhones and an iPad

  • Apple needs more information to complete your iMessage registration. Please call AppleCare in your country (listed below) and provide them with the following validation code:  3384-1797-2190

    I tried to use iMessage on my MacBook Air but i get the following message
    Apple needs more information to complete your iMessage registration. Please call AppleCare in your country (listed below) and provide them with the following validation code:
    3384-1797-2190

    Hi,
    Apple Care Level one responders are very Script Led.
    This means they try to fit what you are saying into a Software or Hardware issue and into a Apple Care Period or  not.
    If you are having problems convincing them it is an Account/Apple ID problem (even though it only effects the Mac's use of it in iMessages) ask to speak to a Level 2 person who should be more knowledgeable because fixing and Id issue is free and not subject to Apple Care.
    9:00 pm      Monday; December 15, 2014
    ​  iMac 2.5Ghz i5 2011 (Mavericks 10.9)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.6.8),
     Couple of iPhones and an iPad

  • We can assign permission to the users in Secure Zone?

    Hi BC Partners
    I have a qestion about Secure Zone
    For Secure Zone users we can assign permission to them, such as assign them upload or edit content in Secure Zone?
    Regard
    TY

    Hey there,
    It does not work like that.
    A seurezone gains access to a zone area, and thus the landing page and content assigned to that zone. Nothing more nothing less. They can not upload or edit content to your site through the securezone. The only thing they can edit and update are their details or if they have submitted web app items and you have allowed them to edit these or submit them.

  • Essbase filter assignment while importing the security through LCM

    Hi Experts,
    My source server is Essbase standalone 11.1.2.1 and my destination is Essbase 11.1.2.4, obviously shared services security.
    I just created some test users/ groups/ filters in 11.1.2.4 and did export through LCM and got the actual format of users/ groups/ roles CSV files. Then I just did edit all these CSV files with my source 11.1.2.1 users/ groups details with the respective roles and tried importing it in the same 11.1.2.4 server.
    I was successfully able to create all the users groups and its roles assignment. But I got stuck up with the filter assignment for the groups... I mean my groups are assigned with the role 'Filter' at the 11.1.2.4 environment but I dont know how to get the actual filter assigned to these groups.
    I know in Applications group we can assign filters manually using Assign access control but how to do it with the LCM import itself? is there any options/ tricks available or do we need to do it only by manually?
    Thanks,
    Siva

    Not tried the maxl create group but it is deprecated in 11.1.2.4
    Anyway there is nothing wrong with groups in EAS 11.1.2.4
    Cheers
    John

  • Assigning iViews to the Page through Program

    Hi,
    I have a page, which is already contains few iViews and set the layout. These all iViews are visible.
    Now I have assigned one more iView and aligned but it is invisible.
    Now I would like to change the property of this iView to make it visible and at the same time i have to make invisible for another iView.
    This I need to implement through program. Please let me know how to achive this .
    Thanks

    Thanks for your reply.
    This page will be visible for all users and all users having this role.
    The present requirement is that the content manager should able to decide which iView has to be displayed for the user.
    I hope it is clear
    Thanks

  • Unable to assign AMBA to the user

    I need to assign 'Approvals Management Business Analyst' to the users. I have to set up via User Management and not as a responsibility in the FND_USER screen. I have User Management and Functional Administrator responsibilities which I have added them to myself. But I couldn't see any functions under User Management responsibility. Please help me out to assign 'Approvals Management Business Analyst' to the users.

    Hi,
    I dont have access to metalink.I thought you already have access as per your other thread.
    How to use 11i user management
    How to use 11i user management
    Anyway, sharing the contents of Metalink documents is illegal.
    Regards,
    Hussein

  • Infopath: Rules run before Code...So Can we close the form through Code?

    Hi,
    I have a form with a couple of buttons. Clicking on any of the buttons first executes the RULES and then jumps to execute the code in the FormCode.cs file for the button click event. However, if I have "Close the Form" as one of the Rules for the button, the code does not execute. So, is there a way that I can close my Infopath fom after executing the code instead of closing from the RULES? Also "The form has been closed" is the message which pops up after closing form through rules. Can we redirect to the form library instead of showing this message?
    I tried to execute everything through code in FormEvents_Submit. It works fine if I have a single submit button. But how would i differenciate if there are multiple buttons like Approve, Reject etc.
    Thanks !

    Hi Aanu,
    Thanks for the reply.The proposed solution in the thread is to use;
    this.Application.ActiveWindow.Close();
    or
    thisXDocument.View.Window.Close(true) in order to close the form.
    Both of them don't work when I try to use them in Visual Studio. It complains of a missing namespace.
    Did this approach work for anyone?

  • Assign theme to one user in EP5

    I need to change the theme for one user in EP5.
    Setting it in the sql database seems a quick solution.
    How do I relate the user_id from table p320_user_portal to the id of the user in the ldap ?

    As of configurator 1.7.1 this still seems un-possible.  Contacted Apple enterprise phone support about this and they verified that at this time only one device can be assigned to a user.  A suggested workaround was to label the user with a device specific tag (IE "$USERNAME [iPad]" "$USERNAME [iPhone]") but obviously this leads to some other complications.  I asked the phone representative to please submit feedback concerning use cases where users need to have more than one device assigned.  Hopefully this can be addressed.  If other people have this question I would suggest submitting feedback at apple.com/feedback (no there isn't an option for configurator but I submitted my feedback under OS X).
    The squeaky wheel gets the grease.  Hopefully we will be heard.

  • How to find out the user Country code in flex

    Hi all,
              I want to find out the country code, to load dynamic localization swfs.
      example : my swf file name
                     en_US_res.swf
    by using capabilities.langueage am getting the local user langueage, am not able to find the locale country code. please help me out
    Thanks!!

    Hi Jesudasan ,
    You can know the user details with version management.Please find the
    below procedure to know.
    Go to table->Utilities tab->version->Version management->Compare the previous one .
    Hope this solves the issue,Let me know if you have any issues.
    Thanks,
    Rajani

  • How to find references of a Property in the class through code? similar to 'Find All References' in Visual Studio Environment.

     Hello,
    I am trying to find a code to find all the references of the property defined in a class which is very similar to 'Find All References' function available in Visual Studio environment. But I want to have it in code during run time. How to do it?
    e.g 
    =>Property 1
    private int _Salary;
    public int Salary()
    get{return _Salary;}
    set{_Salary = value;}
    => Property 2
    private int _Bonus;
    public int Bonus()
    get{return Salary * 2;}
    Like in the above example I have two properties Salary & Bonus. Bonus is calculated from salary. As soon as I set a value to Salary, value of Bonus gets updated. 
    Similarly I want to get reference of all other properties or methods in the class or program which are affected when value of Salary is changed through code. 
    Conclusion - I want to have a method or function, so that whenever I set a value to some property in a class, I want to have a list of all the other properties(List<Property>) or methods which are affected and in which the changed property is referenced.
    Please help me to achieve this.
    Siddharth.Shinde

    This is not something possible, as requested, even with reflection.
    I can't find the reason for having that kind of implementation at runtime.. your compiled assembly is not going to change once it's compiled.
    The way references are listed from within visual studio is probably using metadata gathered from the background compiler. When you write code, the compiler run pre-compilation tests, this is the same feature that will display error in your code before you
    compile, or complete your intelisense for types that aren't even compiled in the assembly.
    So, the only way for you to analyze this kind of thing would be to use something like ILDASM to disasemble your compiled libraries and gather metadata from the resulting MSIL. That would not work if you are using code obfuscation by the way.

  • Assigning role to the users

    HI All,
      I want to assign 1 role to the 400 users in my portal.Is it possible to assign automatically to do this.
    Can any one give me clue on this .
    Regrads,
    Suresh.

    You can use a script like the one below if you have all the usernames with you.
    [role]
    rid=pcd:portal_content/administrator/content_admin/content_admin_role
    rdesc=Content Admin
    user=user1;user2;user3
    Or you can assign all the users to a group using a script file like this
    [group]
    gid=Administrators
    user=user1;user2
    and then assign the role to the group.
    Thanks,
    GLM

Maybe you are looking for

  • ALV grid, prevent return to line 1 column 1 after using filter button

    How can I prevent the ALV grid display from returning to line 1, column 1, after a user has modified the display using the filter or sort button ?  I know this is possible using the is_stable field when control is passed to my ALV code, but when the

  • SDO_LRS.OFFSET_GEOM_SEGMENT

    Hello folks, Oracle EE 11gR2 w/spatial So I have this geometry that I am working on.  I am using it as a base intersection and I want to be able to offset it in pretty much any direction.  The image ( A screenshot from geoRaptor ) is below: As you ca

  • Option to boot into leopard has disappeared         mac pro/boot camp

    I have a mac pro. running the latest version of leopard. quad core xeon 2.66 w.4 GB of RAM. Runs like a dream. Sadly, however, I absolutely had to run a windows program natively. So I dutifully went out and bought a copy of vista, installed it via bo

  • Windows XP SP3 connect to Remote Desktop 2012 R2 - certificate error

    Hi all! I have Terminal Farm: 3 servers - Remote desktop session host 2012 R2(RDSH) and 2 servers - Remote Desktop Connection Broker(RDCB) I try connect to this farm from Windows XP SP3 with KB WindowsXP-KB969084 and I get error 'The connection has b

  • Incompatible with Kaspersky PURE: cannot use password manager.

    After upgrading to Firefox 5.0 I get the following error: This version of "Password Manager Autofill Engine" does not support your web-browser. Please, contact developers: [email protected] Reason: TypeError: Components.classesByID[KPMAUTOFILL_CID] i