Directly set role properties

Hi,
is it possible to set role properties directly from a provider
so that they will NOT be stored in user profile ?
I've defined a provider (extendes JSPProvider) and a channel. The channel XML defines a string property:
<...name="key" value="abc" ...>
The channel JSP shows this string. Within the Edit-Screen you can modify key=abc to a new value. But when the
provider calls the setStringProperty method the portal allways create a new channel in user profile and does not
overwrite the string in the role.
I've tried lock=true/false, propagate=true/false, merge=...
Any ideas ?

Hi,
I don't think there is a simple way to do this...
The reason for that is the inherit relationship in channel definitions and desktop profile.
Why do you want to overwrite the default portal behaviour?
I am just curiuos, why do you want to allow every user to
to overwrite an attribute in a Role and how your channel
would know which role to overwrite(for nested Roles)?!
Cheers,
Alex :-)

Similar Messages

  • Setting portlet properties on different pages

    Hello,
    New to Personalization so I apologize if this is obvious.
    Is there a way to have the same portlet available on multiple
    pages and allow a user to set different properties in a profile
    based on the page the portlet is in? For example, if portlet X
    is available on page A and page B and the edit tab allows the
    user to set value Val1 in a property, is there a way to qualify
    the Val1 property with a namespace so that it is associated with
    the page it is on? Currently if I have some properties defined
    in a profile and I set those profile values in an edit page
    and get them in the top portlet, then those same profile values
    will be associated with that portlet on all pages. That is with
    using the um:getProperty tag. Is there some way through roles
    to namespace profile values based on the page the portlet is on?
    Thanks,
    Curt

    Curt,
    Sure you can.
    Just define separate user property sets and store the information based on
    the page the user is on.
    You can easily determine the page id using portal API (for example look at
    the jsp which renders the page tabs in the framework directory).
    Regards,
    Michael Goldverg
    "Curt" <[email protected]> wrote in message
    news:[email protected]..
    >
    Hello,
    New to Personalization so I apologize if this is obvious.
    Is there a way to have the same portlet available on multiple
    pages and allow a user to set different properties in a profile
    based on the page the portlet is in? For example, if portlet X
    is available on page A and page B and the edit tab allows the
    user to set value Val1 in a property, is there a way to qualify
    the Val1 property with a namespace so that it is associated with
    the page it is on? Currently if I have some properties defined
    in a profile and I set those profile values in an edit page
    and get them in the top portlet, then those same profile values
    will be associated with that portlet on all pages. That is with
    using the um:getProperty tag. Is there some way through roles
    to namespace profile values based on the page the portlet is on?
    Thanks,
    Curt

  • Essbase Studio--cannot set essbase properties at parent level

    Hi,
    I have a recurssive hierarchy product dimension.Source is an oracle table something like
    Parent child alias
    P p1 ap1
    p p2 ap2
    p1 p11 ap11
    p1 p12 ap12
    I have an self-join between parent and child column and have no issues related to hierarchy building
    However i am able to set an alias to all other members except the member P.
    Any advice on the issue will be helpful!!!
    Regards,

    Is P the Dimension name?
    For example the dimension is entity and the hierarchy is
    Entity all entities
    Entity Alternate pollup
    All Entities zzz
    If so, you would set the properties directly for the Dimension member
    IF it is not, then can you add where P is a child of the dimension member?
    In recursive hierarchies, you should only be setting the properties on the child members as they should be the parent of other members or the level zero members themselves

  • Setting Portlet Properties in Development

    I am trying out the Portal 9.2 Trial, so am very new to this.
    I have created a very simple JSP Portlet in Workshop and created a "Message" Preference for this Portlet with a default value of "Hello World". I have created an instance of this Portlet in a Portal and run it on the server, and in my JSP it displays the default "Hello World" message.
    However how do I set another value for this Portlet Preference in my Portal within Workshop? So for example how can I overide the "Hello World" value with something else. I can see how do this through the Administration Console on my Staging site, but not sure how to do the same on the development side within Workshop.
    Not sure I really understand the difference between setting up the .portal file in Workshop and the Staging Administration Application.

    Curt,
    Sure you can.
    Just define separate user property sets and store the information based on
    the page the user is on.
    You can easily determine the page id using portal API (for example look at
    the jsp which renders the page tabs in the framework directory).
    Regards,
    Michael Goldverg
    "Curt" <[email protected]> wrote in message
    news:[email protected]..
    >
    Hello,
    New to Personalization so I apologize if this is obvious.
    Is there a way to have the same portlet available on multiple
    pages and allow a user to set different properties in a profile
    based on the page the portlet is in? For example, if portlet X
    is available on page A and page B and the edit tab allows the
    user to set value Val1 in a property, is there a way to qualify
    the Val1 property with a namespace so that it is associated with
    the page it is on? Currently if I have some properties defined
    in a profile and I set those profile values in an edit page
    and get them in the top portlet, then those same profile values
    will be associated with that portlet on all pages. That is with
    using the um:getProperty tag. Is there some way through roles
    to namespace profile values based on the page the portlet is on?
    Thanks,
    Curt

  • Unable to set template properties

    I have a site which is based off of a responsive design (HTML5/CSS3/jQuery). I've setup a nice template for our Contribute users however I get the "Unable to set template properties" error when I would try to enter the template properties. Additionally, repeating regions don't work at all. No error, nothing. They work great with Dreamweaver, but not Contribute.
    I previously had this issue with an older (non-responsive) site which was based off of a Dreamweaver CS5.5 built in template. However with that site, I would get the following error when trying to work with a repeating region, "You can't add items to repeating regions because the draft's parent template is missing or not available to users in your role. Please contact the website administrator." I was able to fix this with the following Contribute 6.5 settings.
    Users can ONLY be able to create new pages from copies of select pages. I just made blank versions of the templates I wanted people to use, and just saved them in the /Templates directory.
    Be sure creating new pages from site templates is turned OFF.
    Be sure creating new pages from content types is turned OFF.
    This is not the case with the newer site. I've tried both transitional and compatibility modes in the Contribute site settings but still nothing.
    Anyone experiencing this or have any fix ideas?

    Update:
    Looks like I'm going to have to settle on not using nested templates. I gave it a try with on a page from a single un-nested template and both template properties and repeating regions worked.
    So now I'll be including all the global code via PHP includes rather than a master Dreamweaver template. Not sure how that will effect broken link reports or global link updates but it looks like it's the only solution for now.

  • Why do users get "unable to set template properties" message?

    Hi there,
    I am trying to administer a new site that was created with DW and has a .dwt (Templates/ locatedat the site root). I'm creating "Publisher" role connection keys so users can edit their subsections of the site. Users should be able to modify template properties when they edit/create new pages.
    While testing the keys, the users report that they can connect and edit pages. However, when they try to modify template properties on either a new or existing page, they get this message "Unable to set template properties" and are prevented.
    I've tried redefining the site and starting all over, tried CS3 vs. CS4 to see if it was a compatibility issue, looked at forum after forum but can't find any answers. I am experienced with DW but new to Contribute administration so I don't know what else to try. Hoping that someone will have encountered this before and can suggest a solution.
    Thanks in advance!
    ps- Let me know if there's other info I can provide to help troubleshoot.

    I did find this April 9, 2009 post from majtom2grndctrl that suggests the issue is how contribute treats https:// sites. My site is set up as majtom2grndctrl described and I am having the same problem.
    "I've got a problem with not being able to edit Template Properties on our test sites we host on HTTPS servers. I've narrowed down the problem to Contribute CS4 ignoring the website root configuration when it looks for the Templates folder. For example, say you have a site hosted at the following address:
    https://www.yourdomain.com/yourfolder/
    Contribute is configured to know your site is in /yourfolder/, but for whatever reason, when you open or create a page, and Contribute reads the InstanceBegin template="/Templates/file.dwt" tag at the beginning of HTML documents, it looks for a Templates folder at the HTTP server root, not in /yourfolder/. This prevents Contribute from loading the template while editing a document, and any attempt to edit Template Properties will yield the infamous "Unable to set template properties" dialog box."

  • Set role on/off

    Hello All Oracle Experts,
    I have a query regarding set role command.
    I was sybase user and migrated to Oracle. Now oracle user.
    I have two queries.
    1. In sybase, By default, all the roles granted to a user are disabled. You need to enable it if you want to use. But in Oracle, it looks like by default, all the roles granted to a user are enabled. that means, when you login using that user, all the roles granted to it are enabled.
    Can we change this behaviour ? I mean by default disabled all the roles
    2. It looks like there is no way i can disable only one role in a particular session.. For example, i logged in with user User1. it has roles Role1 and Role2 (which are enabled). Now i want to disable only Role1 for that session and not Role2.
    In sybase, i can do that by using Set role Role1 OFF.
    Is there any equalent in oracle?
    Please help me out in finding the answers. Please do let me know whether my observation regarding oracle or correct or not. You can even direct me to any documentation to know the answers.
    I searched in this forum to see if there is any exisitng post. But unfortunately, looks like nobody got the problem which i was facing.
    Thank you very much in advance for your time,
    Venkatesh.

    what if there are 10 roles(R1,R2...R10) and u don't
    know all of them. Have you really gone through the link which I had posted..
    Here you go …
    http://download-uk.oracle.com/docs/cd/B10501_01/server.920/a96521/privs.htm
    Read it again..
    Here you will find a view which gives info about - what are the roles are granted to you and which of them are default.
    Select * from ….<read the doc and find the view and place it here t> ;
    All you want is you have enabled role R3 in that
    session and you want to disable it.
    I read the posted links . But i didn't find the answer for whether we can disable one role >or not?I was wrong, that I thought you had read / understood what can be done with SET ROLE
    Again in nut shell
    Activating & Decactivating Roles
    Activating A Role      --->SET ROLE <role_name>;
    Activating A Password Protected Role      ---> SET ROLE <role_name> IDENTIFIED BY <role_password>;
    Activating All Roles      --->SET ROLE all;
    Activating All Roles Except One      --->SET ROLE all EXCEPT <role_name>;
    Deactivating A Role      --->Can not be done on an individual basis

  • Setting Java Properties

    Hi everybody. I have been looking around, but can't find anywhere where you set Java Properties (the one's you get via System.getProperty() ) in the iAS. Our current application has a lot of these properties, and in order for getting it running on the iAS I must be able to specify Java Properties. Does anybody know where I do this (it's an OC4J mod, not JServ).
    Regards, Magnus Edevag
    [email protected]

    It's easy - in each OC4J container there is a "server" link (down at the left side). In following screen there are three lines (again at the bottom) - last one is called Java properties. It is where you specify startup parameters for JVM. BTW, you can find them in opmn/conf/opmn.xml. Sometimes, if you hit the wrong button you have to go there and edit directly.
    Myrra

  • How to set CORS properties for BLOB Storage using node?

    Hi - I just got started with Azure using a Node-based web site and mobile services.
    I am following various documentation in order to provide an API for users to upload images via a time-restricted SAS for the BLOB Storage.
    In order to upload my image, I need to set the CORS configuration for the BLOB Storage. Unfortunately this cannot be done via the management portal.
    I'm unclear as to how to accomplish this. I'm considering using the startup.js file in my mobile service to make a post request to the BLOB Storage REST API:
    http://msdn.microsoft.com/en-us/library/windowsazure/hh452235.aspx
    Are there appropriate methods in the Node SDK to make this easier, especially the signing part?
    What is the recommended way for setting CORS properties for the BLOB Storage via Node?
    Thanks for your help
    Stefan

    Unfortunately Node SDK does not support CORS functionality yet. Your option would be to write code which consumes the REST API for setting CORS. Not sure if it helps but there's a free tool out there written by my company which you can use to set CORS
    on your storage account. More information about this tool can be found here:
    http://blog.cynapta.com/2013/12/cynapta-azure-cors-helper-free-tool-to-manage-cors-rules-for-windows-azure-blob-storage/
    Hope this helps.

  • How do I set file properties (win XP) ?

    Does anyone know how to set/modify a windows file properties inside Labview ? For exemple : change the author, the comment... etc.
    Thank you !
    J.K.

    Hello,
    It is not possible with advanced file I/O LabVIEW VIs.
    There is a possible workaround by using low level Windows functions in a dll.
    Perhaps the easier would be to set your properties at the top of your file.
    You will find some explanations here :
    http://forums.ni.com/ni/board/message?board.id=170&message.id=85101&requireLogin=False
    regards
    Marc L.
    NIF

  • How to use the Oracle's SET ROLE?

    Hi all,
    does anyone know how I can call SET ROLE (for Oracle) from java before the report is produced with
    Crystal Reports API?
    I'm using Crystal Reports 2008 for the report design and new crystal report java sdk of JRC (v12.2 with SP1) which know as CRJ in my J2EE application.
    I tried to insert a Command (SET ROLE role) into a working fine report.
    The report runned into Crystal Reports 2008 works fine.
    Since has been made a high number of reports without a SET ROLE, to avoid to modify all the reports already made, I tried to run the SET ROLE from JAVA adding a CommandTable to report.
    Below the code inserted into java class:
              ConnectionInfos connInfos = new ConnectionInfos();
              IConnectionInfo iConnInfo = new ConnectionInfo();
              PropertyBag propertyBag = new PropertyBag();
              try {
              String usernameOracle = GestoreContesto.getAttributo("usernameOracleReport");
              String passwordOracle = GestoreContesto.getAttributo("passwordOracleReport");
              String connectString = GestoreContesto.getAttributo("dbUrl");
              String driverName = "oracle.jdbc.OracleDriver";
              //String driverName = "oracle.jdbc.OracleConnectionCacheImpl";
              //String JNDIName = "jdbc/nsisrdatasource";
              String userName = usernameOracle;               
              String password = passwordOracle;
              String TRUSTED_CONNECTION = "false";
              String SERVER_TYPE = "JDBC (JNDI)";
              String USE_JDBC = "true";
              String DATABASE_DLL = "crdb_jdbc.dll";
              //String JNDI_OPTIONAL_NAME = JNDIName;
              String CONNECTION_URL = connectString;
              String DATABASE_CLASS_NAME = driverName;
              propertyBag.put("Trusted_Connection", TRUSTED_CONNECTION);
              propertyBag.put("Server Type", SERVER_TYPE);
              propertyBag.put("Use JDBC", USE_JDBC);
              propertyBag.put("Database DLL",DATABASE_DLL );
              //propertyBag.put("JNDIOptionalName",JNDI_OPTIONAL_NAME );
              propertyBag.put("Connection URL", CONNECTION_URL);
              propertyBag.put("Database Class Name", DATABASE_CLASS_NAME);
              iConnInfo.setAttributes(propertyBag);
              iConnInfo.setUserName(userName);
              iConnInfo.setPassword(password);
              connInfos.add(iConnInfo);
              String TableName = "Custom_Query";
              String TableAlias= "Custom_Query";
              CommandTable table = new CommandTable ();
              table.setAlias (TableAlias);
              table.setName (TableName);
              table.setConnectionInfo(iConnInfo);
              table.setCommandText("SET ROLE role");
              databaseController.addTable(table, null);
              catch (ReportSDKException e) {
                   System.out.println("......");
    When I tries to render a report from Java I received this ERROR:
    15:32:52,935 INFO  [STDOUT] 15:32:52,935 FATAL [JRCCommunicationAdapter] Request failed and JRC Command failed to be undone
    15:32:52,966 INFO  [STDOUT] 15:32:52,951 ERROR [JRCCommunicationAdapter]  detected an exception: Nessun risultato restituito dalla query.
         at com.crystaldecisions.reports.queryengine.Table.u7(Unknown Source)
         at com.crystaldecisions.reports.dataengine.datafoundation.AddDatabaseTableCommand.new(Unknown Source)
         at com.crystaldecisions.reports.common.CommandManager.a(Unknown Source)
         at com.crystaldecisions.reports.common.Document.a(Unknown Source)
         at com.businessobjects.reports.sdk.requesthandler.f.a(Unknown Source)
         at com.businessobjects.reports.sdk.requesthandler.DatabaseRequestHandler.byte(Unknown Source)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.do(Unknown Source)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.if(Unknown Source)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.a(Unknown Source)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter$2.a(Unknown Source)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter$2.call(Unknown Source)
         at com.crystaldecisions.reports.common.ThreadGuard.syncExecute(Unknown Source)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.for(Unknown Source)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.int(Unknown Source)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(Unknown Source)
         at com.businessobjects.sdk.erom.jrc.a.a(Unknown Source)
         at com.businessobjects.sdk.erom.jrc.a.execute(Unknown Source)
         at com.crystaldecisions.proxy.remoteagent.RemoteAgent$a.execute(Unknown Source)
         at com.crystaldecisions.proxy.remoteagent.CommunicationChannel.a(Unknown Source)
         at com.crystaldecisions.proxy.remoteagent.RemoteAgent.a(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.ds.a(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.an.a(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.b0.if(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.b0.b(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.bb.int(Unknown Source)
         at com.crystaldecisions.proxy.remoteagent.UndoUnitBase.performDo(Unknown Source)
         at com.crystaldecisions.proxy.remoteagent.UndoUnitBase.a(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.DatabaseController.a(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.DatabaseController.byte(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.DatabaseController.addTable(Unknown Source)
         at it.ServletHelper.querySetRole(ServletHelper.java:627)
    It's a big problem. If anyone has any idea, I'd greatly appreciate it.
    Thanks

    Hi all,
    running a report with two command from java (the first contains a simple "SEt ROLE role",
    the second contains a simple select) is raised the error "No results returned by the query" while in
    Crystal Reports 2008's preview the report works fine.
    Therefore I ask: "Is it possible to run a report that contains a query without result from Java?
    How can do with the SET ROLE command, which is essential for me?"
    Thanks

  • Labels pointing to pie slices with lines (or how 2 set chart properties in code behind)

    I want to be able to create lines outside of my pie chart with labels and have those lines drawn to connect to the pie chart.  I saw that this can be done in code behind in the following thread:
    MSDN thread on lines to pie slices
    But my problem is I never declared an instance of my chart when I am using my code behind.  My code that makes the reports visible is basically (but not completely) the following:
    ReportDataSet.Tables.Add(ReportDataTable)
    ReportViewer.Visible = True
    Dim ReportDataSource As ReportDataSource = New ReportDataSource("ReportDataSource", ReportDataSet.Tables(0))
    ReportViewer.LocalReport.ReportPath = ReportToDisplay.RDLCFileName
    ReportViewer.LocalReport.DataSources.Clear()
    ReportViewer.LocalReport.DataSources.Add(ReportDataSource)
    ReportDataSource.Name = ReportToDisplay.DataSetName
    ReportViewer.DataBind()
    ReportViewer.LocalReport.Refresh()
    ReportViewer.ShowReportBody = True
    ReportViewer.Width = RVWidth
    ReportViewer.Height = RVHeight
    So how do I set chart properties for my report given the above code?  As long as I can set my chart properties with the above code, I should be able to get this to work given the above thread and the link to the Label-Outside-of-Pie and Line-Color properties
    (or whatever) info on Microsoft's info page

    Hello,
    Based on your description, you want to design a
    pie chart with outside lables and pie line inside a .rdlc report. If so, you can add the Chart report item into the report after open a client report definition (.rdlc) file in graphical design mode. And then Set the
    PieLabelStyle property and PieLineColor property. Please refer to the following screen shot:
    The link your post above it about the
    Chart Web server control. As pre my undersntand, you cannot reference a Web server control inside .rdlc file.
    If you have any question about using Chart Web server control, you can post a question on
    Chart Controls for .NET Framework forum.
    Regards,
    Fanny Liu
    If you have any feedback on our support, please click here. 
    Fanny Liu
    TechNet Community Support

  • How to set roles from JDBC connections

    Hi guys,
    I have a jdbc connection which purpose is to run queries based on a string that I construct in my program.
    My question is: if I have to run a DCL, like: SET ROLE RL_XXX TO USER1;
    What's the easiest way to do it with my same connection?
    Thanks.

    Hi Marc,
    Sorry for the typo. It's a BDC source, I use a WCF client to access a SQL Database (HR External System) that has 4 fields that are necessary to present in the Sharepoint User Profile. The issue occurs with a Full or a Delta Sync. The problem is that if the
    BDC source is not present the fields are deleted (I get a SPS-Dummy Added and all of the pbjects in the BDC Connector Space are deleted).
    I do not want this to happen. I do not want the User Profile Attributes/Fields to be empty/deleted if there is no connection I simply want them to stay what they are... I have two issues.
    1) Is that the even if i change my data on SQL Server side, the changes do not get picked up by the sync. Since the only field that is being tested for change is an ADid, since the id does not change the BDC does not consider them changes.
    2) If there is no connection I do not want the attributes to be deleted. I have not figured out a way to effectively do this.
    So my issue appears to be simple to solve, but after 4 days and hundreds of tutorial pages read I have yet to figure out a proper way to do this.
    Here is the pseudo-specification
    The Fields that come form the HR System (SQL Server) are to be presented in the user profile. If there is no connection to the BDC file the fields remain as they are until there is a connection and updates can be made. Changes to any of the fields are performed
    manually in the HR system. These changes must be picked up by the daily sync.

  • How do I set individual properties for a column in report layout at runtime

    How do I set individual properties for a column in report layout at runtime? I need to change this based on a user's input. This is for v10g.
    I need to change either the "Read from File" attribute or the "File Format" attribute for one column based on the user's input. IS this possible?
    Thanks in advance!

    Hi,
    define 2 columns and use format triggers to show the one or the other column.
    Regards
    Rainer

  • Dreamweaver Help | Set text properties in the Property inspector

    This question was posted in response to the following article: http://helpx.adobe.com/dreamweaver/using/set-text-properties-property-inspector.html

    The note at the bottom of the first section (About formatting text (CSS versus HTML)) says -
    "You can combine CSS and HTML 3.2 formatting within the same page. Formatting is applied in a hierarchical manner: HTML 3.2 formatting overrides formatting applied by external CSS style sheets, and CSS embedded in a document overrides external CSS."
    Please be aware that embedded CSS will ONLY override external CSS if the external CSS link is closer to the  tag than the embedded CSS (i.e., it comes earlier in the flow of the document).  If the embedded CSS comes first in the flow of the document, it will be overridden by the external CSS instead.

Maybe you are looking for

  • 'Connection has already been closed'. Random error connecting with a pool

    Hi all, I've got a problem I cannot solve, and really hope in someone's help... The fact is: I'm working on a webapp which doesn't made use of frameworks or patterns or similars. I introduced the DAO pattern in order to organize and speed up the work

  • How to find list box field from recording

    Dear All, My requirement is to close all POs whose delivery date is overdue by 6 months. this can be accomplished by setting the delivery indicator in ME22N. I want to do this by BDC. I have the list of all purchase doc numbers and item numbers whose

  • IP-sla udp-jitter / one-way delay no output

    Hi *, i have a question regarding "ip sla udp-jitter". On some connectins i get an output for the "show ip sla stat" for the _one-way delay_ on other links i don't get an output. The Configuration is always the same and the Probes are running. NTP is

  • Product hierarchy query

    i have to fetch materials from mara based on Product hierarchy but with one condition If the user specify product hierarchy as ‘1000Y’ (2 levels) , it should pull all the materials with product hierarchy as ‘1000Y*’ for example – either ‘1000Y’ OR ‘1

  • Microsoft Issues

    I'm a Mac man in a Windows work force. I need to be more productive at home and have issues with "webmail" and using Word documents and Excel sheets sent to me. Thanks in advance 1. I get my business email by going to "webmail."insert company here".c