How to go about changing settings based upon logged in user

Hi all,
I'm wondering if anyone has any thoughts on how one would go about changing a property on a node based upon the logged in user.
For example, say you have a path property at /apps/myComponent/settings.path=/content/dam/genericfolder that for an author have the value of /apps/myComponent/settings.path=/content/dam/sandbox, and for an approver have the value of /apps/myComponent/settings.path=/content/dam/approvalsandbox

Hi Ove,
Thanks for the tip on the user role. I had thought about taking that approach, however, leveraging the user role and properties associated with it would be the correct approach if writing custom components. What I am looking for is a way to take existing components, and essentially use them in context of the user.
For example, say if you are trying to give a sub group of users access to a subset of the DAM directory, and you don't particularly wish to hack around the existing WCM DAM component, there is a setting in the tree navigator (/libs/wcm/core/content/damadmin/treeRoot) that lets you specify where the root of the tree is. (There are more settings to work with, but this is just one used to illustrate.)
If you can change the property based upon the user, that gives you the functionality without altering code.
I would like to know if this is possible, if this is an inherently bad practice, if so why, and whether there may be another alternative out there which lets you avoid having to alter the code of an existing component.
Thanks again for answering.

Similar Messages

  • How can I programaticly change settings on a FP-PG-522

    How can I programaticly change settings on a FP-PG-522 using Measurement
    Studio
    for Visual Basic and an FP-1000 module?
    Is there a Measurement Studio for VisualBasic DAQ control to do this?

    I am either in the wrong location or have a different layout than you.
    Apple button > system preferences > keyboard and mouse > mouse tab > then all I have are the options to change the tracking speed, scrolling speed, double-click speed, and which button is required to zoom with the scroll wheel. The only drop-down menu I have on this screen is to select which button + scroll wheel allows me to zoom.
    I am using version 10.5.6. Am I in the incorrect section of this forum?
    Message was edited by: Coop772

  • I no longer have access to the email address that is stipulated as my rescue email address and I cannot remember the answers to my security questions. Please advise how I go about changing / updating the answers to the security questions.

    I no longer have access to the email address that is stipulated as my rescue email address and I cannot remember the answers to my security questions. Please advise how I go about changing / updating the answers to the security questions.

    Contact iTunes Support:
    http://support.apple.com/kb/HT5699?viewlocale=en_US
    or by email:
    https://ssl.apple.com/emea/support/itunes/contact.html
    Cheers,
    GB

  • Populating values of a field based on logged in user

    Hi,
    My requirement is as follows:
    I have a LOV input field. The LOVs for the field should be populated based on the logged in user. Every user will have a group of values associated with him.
    Example:
    USER_ID/NAME BUSINESS_UNIT_ID
    1 B101
    2 B108
    1 B106
    1 B103
    2 B105
    2 B119
    if the logged in user is 1, the LOV field should have values as B101,B106 and B103.
    Can someone help me in implementing this?
    Thanks,
    Ashok

    Hi,
    looks like you have to populate LOV based on logged in user. so make a view object which will return respective values by taking user id as input(bind variable).
    execute the vo after loging.
    ~Abhjit

  • More about changing settings on Outlook Express

    Verizon has sent me a notice to change settings on both the POP3 Server and the SMTP Server (to 995 and 465 respectively.) 
    My question pertains to the "Server" screen on 'pop.verizon.net" in  Outlook Express which has two boxes at the bottom.
    The first box says "Log on using Secure Password Authentication
    The second box says ""My server requires authentication"
    My current settings (110/25) have the first box unchecked and the second box checked
    When   I  retain the current box settings I cannot send mail -- get a "time-out" message
    How should I reconfigure the two boxes?
    Your help would be much appreciated

    CKenneth wrote:
    Verizon has sent me a notice to change settings on both the POP3 Server and the SMTP Server (to 995 and 465 respectively.) 
    My question pertains to the "Server" screen on 'pop.verizon.net" in  Outlook Express which has two boxes at the bottom.
    The first box says "Log on using Secure Password Authentication
    The second box says ""My server requires authentication"
    My current settings (110/25) have the first box unchecked and the second box checked
    When   I  retain the current box settings I cannot send mail -- get a "time-out" message
    How should I reconfigure the two boxes?
    Your help would be much appreciated
    I believe the settings you specifically asked about are for receiving email only -- not sending it. 
    For sending email, the server name is smtp.verizon.net.  The outgoing connection requires authentication and uses the same user name and password as the incoming server. 
    Your ports are not correct.  The incoming port is 995 with SSL enabled, and the outgoing port is port 465 with SSL.  You apparently have them set to 110 and 25.

  • How can I use an application based upon the Siebel High Interactive Framework?

    I ma trying to use an application that is based upon the Siebel High Interactive Framework and can't open the software on my MacBook Pro. IS there any solution to this problem?

    My vote is pick up VirtualBox and download Windows 8 Preview, both are free, and see how that goes. Even though a deveoper preview and has IE10 this is my primary OS and browser. Only issue is getting it into a VM but that should be okay, and at least you can decide from there.
    Windows 7 64-bit SP1 Home Premium System Builder ($95) otherwise and then Parallels 7 or run natively.
    http://news.softpedia.com/news/Download-and-Install-Windows-8-on-a-Mac-with-Para llels-7-0-15050-231759.shtml
    http://msdn.microsoft.com/en-us/windows/apps/br229516
    VirtualBox 4.1.4 is includes a Windows 8 Template for guests.
    http://www.virtualbox.org/wiki/Downloads
    http://skear.hubpages.com/hub/Installing-Windows-8-Developers-Preview-Edition-on -VirtualBox

  • How Do I Disable/Change Settings on My Scroll Wheel?

    I just downloaded Google SketchUp (a free drafting program) and I constantly need to "grip" the page to rotate and pan along my objects. This is done by clicking in on the scroll wheel and moving the mouse. On my Mac though (as opposed to the PCs at school) it pops up the dashboard screen every time I try this. So my question: How do I disable/change the default settings on my scroll wheel so I can use this program efficiently?
    -I never use the dashboard and can click the little icon if I need to, so keeping shortcut to that isn't an issue, I just want my scroll wheel back!

    I am either in the wrong location or have a different layout than you.
    Apple button > system preferences > keyboard and mouse > mouse tab > then all I have are the options to change the tracking speed, scrolling speed, double-click speed, and which button is required to zoom with the scroll wheel. The only drop-down menu I have on this screen is to select which button + scroll wheel allows me to zoom.
    I am using version 10.5.6. Am I in the incorrect section of this forum?
    Message was edited by: Coop772

  • How to check mass change(vendor) done by any particular user .

    Hi,
    What is a transaction used  to check mass change(vendor) done by any particular user .
    Thanks,
    Dharmesh

    HI
    pls try this table CDHDR
    Thanks & Regards
    Phaneendra

  • How to not display certain items based upon certain criteria (Edit Form)

    I have a Edit form which was created from an interactive report I generated.
    There are 10 item fields which are listed which can be changed.
    Sometimes I want to see just 9 of the fields on the form based on what the value is of another field in the record.
    When I display the fields on the Interactive report I can filter this out by using a case statement, but how
    do I do this with the edit form as the query is not there.
    Thanks for your time in advance,
    Anon

    Use Conditions to control whether the item appears or not.
    In the item definition is a Conditions section where a large number of different types of condition can be used to determine whether the item is rendered. These include comparisons of the value of the item, or another item, items being null, and a lot of other options. Conditions are widely used throughout APEX—sometimes in subtle or noninuitive ways—so it's worthwhile studying how they're used.

  • How to configure the memory settings based on the number of VSAs for Cisco service control Subscriber Manager?

    Hey Good day to all,
    please help with this; when installing the Service Control Management Suite Subscriber Manager scms-sm, and at the secound step where you have to determine the system memory settings, there are several attributes to be considered:
    the maximum number of the subscribers
    with or without qouta manager
    number of VSAs used
    so, my question is about the memory configuration parameters versus the number of VSAs used, since you must multiply with certain values, set already on a table on the Cisco website, but as shown in the example under the table these values are multiplied to all the attributes except that the example dosn't show the value of the temp-size memory;
    so please confirm this to me:
    the temporary memory size "temp_size" is not related to the number of VSAs implemented!
    this is a screen shot from Cisco website:
    thank you in advance for helping

    Hi Tessitori,
    The best way to cache, index and query that amount of data in Coherence is to use a number of stand alone JVMs (i.e. com.tangosol.net.DefaultCacheServer s) to 'manage' the data. Then access (query) that cache from your application servers instances. For an indexing and querying example take a look at this FAQ item
    If you would like to discuss this further please email me at [email protected]
    Later,
    Rob Misek
    Tangosol, Inc.
    Coherence: Cluster your Work. Work your Cluster.

  • I have a used 4 or 4s, I am not sure but the phone shuts down at any time. I do not have any idea on how to reset or change settings. Any help will be greatly appreciated.

    I think I just need a hard reboot to clean out all the junk on this phone. Without any manuals or any real useful info online from apple on older phones this is my only real outlet.

    Try to set it back to factory settings, explained in this article:
    Use iTunes to restore your iOS device to factory settings - Apple Support
    To find out more about your phone check these articles as well:
    Identify your iPhone model - Apple Support
    Find the serial number and other information for your iPhone, iPad, and iPod touch - Apple Support

  • How to investigate about EP settings

    Hi experts,
    Now I'd like to check EP settings, esp, to define the connection
    between EP and Backend(ECC etc).
    Though I tried to export Visual Admin & Configtool,
    I couldn't find what I'd like to check.
    Could you tell me the way to check it?
    It seems that it is possible to export somehow, and serch by key-word.
    But until now, I can't find the way..
    If there is no way, we would check it by hand...
    Thank you in advance.
    BR
    Toshi

    Hi,
    Thank you for your reply.
    What I mean is "b) How the custom applications will be able to conenct to backend?".
    As it seems that there are some differences between "current setting" and "Design Documents",
    I'd like to check them.
    But I don't know what the paremeter settings is , and how to check it.
    BR
    Toshi

  • How do i populate one field based upon a drop down select from another field?

    Here is what I am trying to do:
    Field 1 is a drop down selection list that requires a user to make a mandatory selection which in this case is a list of apartment complexes. What I am trying to accomplish is once that user makes a selection from the drop down list (Field1) that it will populate Field 2 (standard txt) with the corresponding apartment complexes address.
    So I pick Talan Apartments from field 1, it would populate field 2 with Talan Apartments address. I tried messing around with calculation scripts but I'm fighting a loosing battle here. Some help would be greatly appreciated!

    Hi,
    Here is a sample: https://acrobat.com/#d=Hi0ZwVgVB1PWbxc6OJ0z4A where the script in the exit event of the dropdown sets the value of the address object.
    Good luck,
    Niall

  • Removing Messae counter icon and Changing settings on call logs

    Hello,I have a blackberry torch 9800 and i have problem now regarding in the icon messages counter . I want to remove it in the home screen. But i dont know how. And my other problems is when i received a call,a misscalled or messages, I dont see it. It comes in the end not in the front , I need to search it before i see  it. Its hard. I dont know what i change in the settings. Please someone help me. Thank you.

    Hello mhadzsaeed and welcome to the BlackBerry Support Community Forums.
    In order for us to be better able to assist you, can you please clarify the issue? 
    Are you saying you have an unread email you cannot locate? 
    What's the issue with the call logs - you are unable to view them? 
    Thanks!
    -HMthePirate
    Come follow your BlackBerry Technical Team on twitter! @BlackBerryHelp
    Be sure to click Kudos! for those who have helped you.Click Solution? for posts that have solved your issue(s)!

  • How to find all changes in project builder (especially in user field)

    Hi All,
    Please advice, how can i get the history who change our data in cj20n (project builder),especially in user field tab.
    Thank you.
    Best Regards,
    Nies

    I am stating once again what ever was mentioned earlier:
    Check the below:
    1. Is Change documents indicator enabled in the project profile?
    2. Have you created a User Status for business transaction 'Create Change documents' as allowed for the object WBS. (I assume you want to log the changes of WBS user defined fields)
    3. Have you used the this profile while creating the project?
    4. Did you set the user status on the WBS? This needs to be done manually
    5. Have you released the WBS?
    Now try make changes to existing fields of WBS and save it. Run the report CN60
    Regards
    Sreenivas
    Pls close this post if satisfied

Maybe you are looking for