Additional Collection/Resource Renderer Properties and Actions

Hi,
All LayoutSets shows the property createdby as name of the user, and i need to display the user id instead of the name. I already tried the property rnd:user_id, without success, the column Id is displayed, but the resources lines doesn’t contain any value under the column ID.
Any hint?
I also need to add a link (action) to a specific property, different from the predefined links existent on the portal (e.g. rnd:displayname(contentlink). Something like rnd:displayname(http://www.google.com/search?q=rnd:displayname). Is it possible?
Thanks and regards,
John

Hi John,
I'm unsure if for the first thing there isn't a standard property / property renderer; double-check by yourself if there isn't something to use.
Both aims can be reached by implementing a propertyRenderer, using a "dummy" property (just create something like "googleProperty", implement the propertyRenderer, activate it on your dummy property, and set the dummy property on the resource or collection renderer (depending on the layoutSet used)).
Hope it helps
Detlev

Similar Messages

  • Rendered attribute and actions

    If a component has rendered set to false, can it still perform an action? In other words, if I have a button which does something which I don't render for unauthenticated users, is there any way they will be able to save the html to disk, and modify the various form elements to perform that unauthorized action?

    @RaymondDeCamo
    I understand that this is true for most languages eg. PHP, however I was wondering if the server would still execute the action if the button that was bound to it had its rendered attribute set to false. It seems like the JSF people would put in that kind of functionality. In other words, are you sure JSF doesn't run the server-side checks itself?
    @BalusC
    I know the person won't be able to click on the button, but could they add in their own custom HTML into the form to perform the action?

  • Can't change displayed properties in resource renderer

    Hello everybody!
    I'm trying to do display a very simple list of filenames in a KM navigation iView. I've assigned a layout set, which references a collection renderer and a resource renderer. In the resource renderer, "Visible Properties" is set to rnd:displayname(contentlink).
    But still I get a list with filename, file size and timestamp. No matter what I put in the "Visible Properties" field, the same thing is displayed.
    I've verified that the layout set references the correct resource renderer by changing other attributes ("Command Display", for instance), and these changes do have an effect.
    Any ideas what might be the problem here?
    One more thing. This iView is a dynamic navigation iView. How can I make the documents open in the content area of the portal instead of in a new window?
    Any help is very much appreciated.
    -martin

    Hi Martin,
    seems like you have selected a collection renderer for "structured output", like the grid or tree collection renderer. In this case the collection renderer is the one who is responsible of the properties displayed.
    So what you have to do is edit the parameter "Displayed Properties" of your collection renderer with the properties you want to display.
    Check this <a href="https://forums.sdn.sap.com/thread.jspa?threadID=28751">link</a> for more info about "unstructured vs. structure coll. renderers".
    Hope this helps,
    Robert
    PS: The iView Property "Launch in New Window" should be set to "Display in Portal Content Area", in order have the iView displayed as you wish.

  • Displayed Properties in Collection List Renderer are not displayed

    Hello All,
    I have created one custom property and entered the value for a resource which had that property.
    Now, when I am trying to display the custom property in any layout, its not coming, even though I have added the property name in the Displayed Property of the collection list renderer.
    To check the view is taking the correct layout or not, i changed some other settings of the collection list renderer and the changes are immediately getting reflected. What could be the problem here?
    Any help, deeply appreciated
    Regards
    BP

    Hello Bobu,
    Are you using a different Namespace Alias other than 'Default' in your property definition? If so then you need to specify the property in the 'Displayed Properties' parameter of the collection renderer as <NamespaceAlias>:<propetrty ID>, e.g. rnd:displayname.
    Other than that you should check the 'Folder Validity Patterns' and 'Document Validity Patterns' to make sure they are valid for the content on which you are trying to display this property, you may have already checked this.
    Regards,
    Lorcan.

  • I want to make a new "Address Book" in Thunderdird's Address Book in addition to "Personal Address Book" and "Collected Addresses"

    Is there a way in Thunderbird's Address Book to create additional collections of addresses, say "Professional Colleagues", in the same pane as "Collected Addresses" and "Personal Address Book". In other words, these latter two collections of addresses appear to be the default. Can I add additional collections?

    Open address book window
    From the menu bar select File-New-Address Book
    No menu bar? Press the alt key.

  • IMac: I try to save a file and get 'the action "Copy Finder Items" encountered an error.  Check the action's properties and try running the workflow again.'

    I keep on running into this when I try to save a download file. Any help would be appreciated.
    'The action "Copy Finder Items" encountered an error.  Check the action's properties and try running the workflow again.'
    I tried clicking the button to change the save but that has no effect.

    Hi All,
    I am having same issue too.  Can anyone you advise?  Thank you.

  • How can i use a Property as Link in the Resource Renderer Setings

    Hi to all,
    i have created a Propertry with the name SFS_NewsLink.
    The content of this Property is
    http://<server>.<domain>/path/sitemap
    Now, how can i use this property in the Visible Propertis? i dont will use use the default "contentLink" i will use as Link the content from the SFS_NewsLink.
    how can i do this? have envery one any ideas?
    Best Regards
    Thomas

    Hello Thomas,
    You can modify your Collection Renderer and Resource Renderer to achieve this functionality.
    Check this weblog, to get ideas:
    https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/3648
    Greetings,
    Praveen Gudapati

  • Portal Collection List Renderer - problem with alignment

    Dear All,
    I'm having an issue with alignment of columns when changing a Layoutset.
    This modification is all done with SAP standard components, so I decided to try my luck here first at SDN before writing an OSS message.
    Here's what is happening:
    I want to have the KM files listed like this:
    (as I can't put a printscreen, I will put it on text for you to have an idea)
    FILENAME..................MODIFIED...........................MODIFIEDBY
    ...file1..........................xx/xx/xxxx..........................aaaaaaaa
    Description of file1 here....
    file2.............................xx/xx/xxxx..........................aaaaaaaa
    Description of file2 here....
    file3.............................xx/xx/xxxx..........................aaaaaaaa
    Description of file3 here....
    To obtain this I'm changing the standard object AdminCollectionListRenderer
    I do this by going to KM configuration and change this SAP standar object on
      Collection List Renderer Settings > AdminCollectionListRenderer
        Flavor:
          From: List
          To: Not Set
        Displayed Properties:
          From: rnd:icon,rnd:displayname(contentLink)+rnd:action,contentlength,rnd:lock,modified,modifiedby
          To: rnd:displayname(contentLink),rnd:lock,modified,modifiedby,rnd:description(\[2;1-1\]/noTitle/maxChars=300)
    The result is ok, but there's a very small detail that doesn't disappear no matter what I do.
    If you go to the txt above, the "file1" is ALWAYS one blank space to the right. It's not aligned with the
    other items on the list.
    Has anyone experienced this ?
    Is there any solution ?
    Kindest Regards
    /Ricardo Quintas

    Check in your type preferences. Apply leading to entire paragraphs will fix this. It's likely that the return at the end of your last line has a larger point size assigned to it, and it's throwing your leading off.

  • SOAP Use Adapter-Specific Message Properties and Variable Transport Binding

    Hi Friends,
       I am new to use to Soap Adapter. Please help me out bellow doubts.
       1.When you use Use Adapter-Specific Message Properties and Variable Transport Binding .
       2. Where exactly  we r using below parameters.
    Remote User : (technical name: SRemoteUser )
    Remote Host : (technical name: SRemoteHost )
    SOAP Action (technical name: SHeaderSOAPACTION )
    To transfer further header fields, set the relevant indicator. You can then store the following attributes and their values in the XI message header:
    Variable Header : (technical name: XHeaderName1 )
    Variable Header : (technical name: XHeaderName2 )
    Variable Header : (technical name: XHeaderName3 )
    Thanks&Regards
    G.Bhanuprakash

    Hi,
       1.When you use Use Adapter-Specific Message Properties and Variable Transport Binding .
    SAP Help says both are needed to be checked when you want to process adapter attributes
    Configuring the Receiver SOAP Adapter - SAP NetWeaver Exchange Infrastructure - SAP Library
    These attributes can be get/set using dynamic configuration and their technical names are what you have pasted:
    Remote User : (technical name: SRemoteUser )
    Remote Host : (technical name: SRemoteHost )
    SOAP Action (technical name: SHeaderSOAPACTION )
    To transfer further header fields, set the relevant indicator. You can then store the following attributes and their values in the XI message header:
    Variable Header : (technical name: XHeaderName1 )
    Variable Header : (technical name: XHeaderName2 )
    Variable Header : (technical name: XHeaderName3 )
    Remote User - the username used to send a message to the adapter engine using SOAP
    Remote Host - hostname which the remote user used
    SOAP Action - SOAP Action of the XI webservice (sender) / SOAP Action of the receiver webservice
    Variable Headers are additional key-value pairs in the HTTP Header that could be accessed in the XI Header using dynamic configuration. The limit is only three though.
    Regards,
    Mark

  • Author metadata separated by semi-colons truncated in file properties and "Get Info"

    I'm using Acrobat Professional 9.0 (CS3) for Mac to edit the metadata for a collection of PDFs to be made available on the web. When I enter the data, I am inputting a list of authors separated by commas, like this: Smith J, Watson C, Brown J. If I click on "Additional metadata", the data I've already entered is transposed into the various XMP fields. And the commas separating the author names are changed to semi-colons. I gather that this happens because XMP wants to separate multiple authors with semi-colons, and Acrobat wants the metadata in XMP fields to match the metadata stored for the file properties. Fine.
    However, if I save such a PDF and then use Get Info on my Mac (OSX 10.4) to look at the file properties, the list of authors is now truncated where the first semi-colon appears. The list is also truncated in Windows XP if I right-click and select properties. The list is also truncated when I look at the file properties in Preview on my Mac, or if I look at file properties using FoxIT, or using Adobe Acrobat Reader 7 or earlier. The only way a site visitor will actually be able to view the full list of authors in a file saved this way is to use Adobe Reader version 8 or later.
    I would like to preserve XMP/Dublin Core/etc metadata in the proper format in the XMP code, but would also like users of standard, popular file viewers to be able to access the full list of authors. Is there a way to do this with Acrobat 9?
    Also, once I've saved a file and the XMP metadata has been altered, Acrobat seems to permanently change the way that the authors are listed in the file properties. I cannot manually change those settings any longer without Acrobat overriding my changes and converting commas to semi-colons, or surrounding the entire list of authors in quotation marks. Is there a way to get around these Acrobat overrides and manually take control of my metadata again?
    Does Windows Vista read the authors list correctly in the file properties if it is separated by semi-colons?
    It seems to me that in an attempt to get XMP metadata working smoothly across the entire CS line, Adobe has jumped the gun somewhat and is now forcing Acrobat users to use "file properties" metadata that is really only fully compatible with Adobe products. Is there a way I can get some backwards compatibility on this?
    Thanks for any suggestions or insight anyone can provide to this vexing issue.
    Phil.

    Bridge has some pretty powerful and helpful features. However, I am unable to figure out how to access the non-XMP "file properties" fields through Bridge, and if I add metadata via Bridge, then I run into the same problem regarding the use of semi-colons to separate authors.
    If I had more time, or a larger set of files I might investigate the use of ExtendScript to import all my metadata from an Excel file (where it already exists) into the PDF file properties and XMP metadata.
    The best solution for my case though appears to be to use Acrobat 9 and to do the double-edit process for each file. I should be able to just cut-and-paste the metadata from the Excel file, and then if I save the Authors list to the end, I can simply paste it once into the XMP field (through the Advanced metadata button) and then return to the regular file properties page and paste it again in there, where Acrobat will add quotes around it.
    Lastly, if anyone else happens to find this post and is looking for similar information, I would recommend searching in the Bridge forum as well as the Acrobat forum.
    Phil.

  • Custom Resource Renderer not coming on Implementing Flexible UI Components

    HI,
    I am using the Sneak Preview NW2004s SP9 with TREX .
    I have to modify the search result list as returned by the TREX using the default search, basically have to include a custom Link based on the resource name.
    I am trying to run the examples from the Knowledge Management and Collaboration Developer's Guide - "How to Implement Flexible UI Components".
    I deployed the par file for the sample application "Using Flexible UI Ready-Mades"
    and followed the steps as outlined below:
    System Administration>System Configuration>Knowledge Management -->Content Management
    1) Under
    User Interface->Mapping>Resource Renderer
    Created a new mapping for the java class com.sap.km.ui.renderer.SimpleResourceRenderer
    2) Then under
    User Interface->Settings>Resource Renderer Settings
    Created a duplicate of  SearchResourceRenderer
    and in the copy changed the Resource Renderer to the custom one(as the one mapped in previous step).
    In the Search Result layout Set, i changed the Resource Renderer Name to the custom one.
    Now i restarted the server.(i tried restarting after almost all the steps )
    But my resource renderer is not coming after i execute the TREX Search.The list returned seems to use the default Resource Renderer.
    I even tried by making an advanced copy of the Search Layout Set, changed the Resource Renderer name, updated the OTH file(search.oth), Switched on the degugging for the WdfProxy and reloaded the OTH.
    Now the new layout Set is being used but still i cannot see the result as per the custom resource renderer.
    Morover, if i try to print some message from the resource renderer code(Component render method), it is not printed in the default Trace file.
    Please help me in identifying and resolving the problem.
    Thanks,
    Siddhartha

    Hi Detlev,
    Sorry for the delay.
    We don't want to exlude the folders, we would like keep it, the problem is, instead of appearing the folder name, is displayed the error message and below the actions (details, delete, …).
    At first, we thought that could have been an error in the configuration of LayoutSet, but then, we tried on other two environments, with the default LayoutSet configuration and we still get, on the three environments, the same error message.
    Any idea?
    Thanks and Regards,
    John

  • KM Doc Iview & Resource Renderer

    Hi,
    I have a XML Form with two Shows - Show & Show-X.
    I created a IView of KM Navigation and created a new XML Form Renderer to show the contents of a Show-x form.
    I created a IView of KM Document type and it picks Show by default. Can I change the Resource Renderer of such IView?
    Rgds

    hi
    basically   an Xml FORM has two types of renderer one collection renderrer and other resource renderrer u can duplicate the renderer but before hand duplicate the command group and add or delete those commands required and attach the command group to duplicated resource renderrer and apply the renderrer to duplicated Layout that is layout of the form has to be duplicated and then that duplicated layout has to be attached to the form. basically iviews to be used is NEWS Authoring and layouts to be used is NEWSExplorer and News Browser just back trace them and you will find the renderers for duplications.hope this helps you.please don,t forget to give points
    with regards
    subrato kundu

  • Creating properties and namespaces with WD4J

    Hello,
    In several tutorials (like one of building a bulletin board, .. ) the properties are always customizied by hand. The thing is that I need to create them via program. In this way I don't know if it is possible to create the properties and the namespace (like I can do it in the metadata administration).
    I just want the following:
    - I have a entry for an article (name, title, category, description, ... )
    - I want to add some documents to the entry
    - For this entry I have several (own) properties
    Later on (and I think that I know how to do this) I want:
    - to display an overview of the articles with some filter capabilities
    - showing a detail page
    - Develop some renderer for being used be the enterprise search
    The thing I don't get is how to create the properties with WD4J?
    Could someone help and bring some light into my darkness?
    Thank you,
      Vanessa

    Hi Vanessa,
    Why do you want to create the property through WD4J?
    You can have this one time  task done through metadata administration.
    Later in your application you can set/get the values for these properties.
    IResource res = ResourceFactory.getInstance().getResource(path,context);
    //Create Property Names...
    IPropertyName propNameName = new PropertyName("http://sap.com/xmlns/cm","name");
    IPropertyName propNameTitle = new PropertyName("http://sap.com/xmlns/cm","title");
    IPropertyName propNameCategory = new PropertyName("http://sap.com/xmlns/cm","category");
    IPropertyName propNameDescription = new PropertyName("http://sap.com/xmlns/cm","description");
    //Create properties
    IProperty propertyName = new Property(propNameName , "your Name Value");
    IProperty propertyTitle = new Property(propNameTitle , "your Title Value");
    IProperty propertyCategory = new Property(propNameCategory , "your Category Value");
    IProperty propertyDescription = new Property(propNameDescription , "your Desc Value");
    //Create a map to put all properties
    IMutablePropertyMap newPropertiesMap = new MutablePropertyMap();
    newPropertiesMap.put(propertyName );
    newPropertiesMap.put(propertyTitle );
    newPropertiesMap.put(propertyCategory );
    newPropertiesMap.put(propertyDescription );
    //Set the properties to the resource at one go.
    res.setProperties(newPropertiesMap );
    Also use [Java Docs|https://help.sap.com/javadocs/NW04s/current/km/com/sapportals/wcm/repository/IResource.html] this along with your development...
    Regards
    BP

  • Report for all Collection Resources all Memberships

    Hi All,
    Hope you are all doing very well, I have one situation where I need to know all the memberships of a specific collection resources. We have a collection ABC and have about 800 computers in this collection. I have to provide a report to my Manager which should
    show all the other collections to which each of these 800 computers belong, please advise how should I do this.
    Virgo

    you can get this info via reports but the list will be huge for all the resources in collection . 1 PC member of X  collections,800*X will be huge .Try the following SQL query:
    select sys.name0 [PC Name]  coll.Name [Collection Name] ,fcm.CollectionId [Coll ID] from dbo.v_R_System
    sys
    join dbo.v_FullCollectionMembership fcm on sys.ResourceID = fcm.ResourceID
    join dbo.v_Collection coll on coll.CollectionID = fcm.CollectionID
    Where sys.Name0 in("PC1","PC2","PC3",........"PC800")
    Eswar Koneti | Configmgr blog:
    www.eskonr.com | Linkedin: Eswar Koneti
    | Twitter: Eskonr

  • DBMS_APPLICATION_INFO MODULE and ACTION

    Hi,
    I'd like to use DBMS_APPLICATION_INFO MODULE and ACTION to store some additional logging information (see http://tylermuth.wordpress.com/2010/02/19/logger-1-2-2-released/ and read 2nd and 3rd comments for more info). Would their be any issues of doing this when using an APEX application? I noticed that (from Tyler's logging package) that APEX is storing the Application ID and the Page ID in Module and Action respectively.
    Thank you,
    Martin
    [http://apex-smb.blogspot.com/]

    Martin,
    As much as I love your train of thought, I wouldn't use module and action with an apex app. APEX is going to set them for you, so as your page draws the values of module and action could change based on the order of who sets them. It makes them a bit unpredictable. You can blame me for this one, as I added it to APEX back when I was on the team. However, I stand behind the decision as it adds a lot of value for most use-cases. Feel free to try it, but I think it will be unpredictable.
    The reason I suggested module and action in my response to your comment was that you said "batch" and I don't usually equate batch with an APEX application. Does the p_scope parameter of logger not work for you? Another option is dbms_application_info.set_session_longops (http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14258/d_appinf.htm#i996999).
    Tyler Muth
    http://tylermuth.wordpress.com
    "Applied Oracle Security: Developing Secure Database and Middleware Environments": http://sn.im/aos.book

Maybe you are looking for

  • Cancellation of internal excise invoice

    Hi, We have captured excise duty against a PO  and made the GRN with reference the captured excise invoice. Since this is not cenvatable we want to cancel this internal excise invocie . The GR cannot be reverses as the IR had been booked and payment

  • Recall process movement type configuration and account assignment for 671

    Hi Gurus- We have a retail recall business scenario. 1. Create STO from Distribution Center and receive goods with 671 at DC from the store. If the store moving average price is $1.10 and at DC Mov. Avg. Price is $1.00. GL account for Inventory posti

  • SQL Upgrade 2000 to SQL 2005

    We are upgrading to new server and installing SQL 2005.  Using Crystal Server 10.  Where can I find a step by step?  Can I just backup Business Objects Database, install the app on the new server, restore the database to SQL 2005? Thanks, SS

  • How receive all the changes in a displayed table using internal table in WD

    The same thing can be done in ordinaty Dyn Pro as PAI Loop at <It> Module get_details [ Accessing the screen structure and modify the internal table with the current      index of  the table control] endloop

  • Vendor Calendar in PIR??

    Hello all, Similar to how there is in customer master, is there a calendar we can assign in vendor master or PIR? For a specific vendor, when we send PO, we wish to have requested delivery day for Tuesday and always Tuesday only.  What is the best wa