Retrieve custom property for a community

How would you retrieve a custom property set on a Community? Is there an equilavent PT tag similar to the "pt:userInfo" tag?
Any info would be appreciated!--jason

We went a different route to obtain custom properties. However, when using the QueryObjects method, you have to pass it the folder id. How would go about retrieving the current folder id?
Thank you again!--JasonFTN Financial
Here is the code we are using:
Dim oPortletcontext As Plumtree.Remote.Portlet.IPortletContextDim oPortletManager As Plumtree.Remote.PRC.IObjectManagerDim oExtendeddata As Plumtree.Remote.PRC.IExtendedDataDim oQuery As Plumtree.Remote.PRC.IObjectQueryDim oRow As Plumtree.Remote.PRC.IObjectQueryRow
oPortletcontext = Plumtree.Remote.Portlet.PortletContextFactory.CreatePortletContext(Request, Response)
oPortletManager = oPortletcontext.GetRemotePortalSession.GetObjectManager(Plumtree.Remote.PRC.ObjectClass.Community)
oQuery = oPortletManager.QueryObjects(353)oRow = oQuery.GetRow(0)oExtendeddata = oRow.GetExtendedData
response.write(oExtendeddata.GetValue("Reference Number"))

Similar Messages

  • Retrieve custom property for a user

    Within a custom portlet, how would I obtain custom properites of the current user viewing the portlet? For example, if a user had property "Favorite Food" populated and I wanted my portlet to display recipes using his/her favorite food.

    I finally found it myself. Here is what I was originally looking for...
    DimoPortletcontext AsPlumtree.Remote.Portlet.IPortletContextDimsEmail AsString
    oPortletcontext = Plumtree.Remote.Portlet.PortletContextFactory.CreatePortletContext(Request, Response)sEmail = oPortletcontext.GetRequest.GetSettingValue(Plumtree.Remote.Portlet.SettingType.UserInfo, "Email"))

  • Read navigation url OR Custom property for a term in Taxonomy using Javascript

    Hi All,
    we have followed the below steps to retrieve the managed metadata terms.
    http://sympmarc.com/2013/10/11/spservices-stories-18-retrieve-managed-metadata-using-javascript-and-spservices/
    and we have achieved and constructed the same through JavaScript.
    Below is the screen shot.
    Issue:-
    we are unable to retrieve the term navigation url. Can you please help us to retrieve navigation url OR Custom property.
    Thanks in Advance.

    Hi,
    According to your description, you want to manage term custom property in SharePoint 2010.
    As you know, there is no OOTB method to meet your requirement.
    If you want to do it without coding, you can take a look at this tool about managing term store:
    http://www.metavistech.com/product/term-store-manager
    As this is a third party tool, we are not sure whether it has risks, please use with caution.
    Best regards
    Patrick Liang
    TechNet Community Support

  • SharePoint 2010 UI Interface to add Custom Property for a Term, similar to SharePoint 2013 .

    Hi All,
    We have a requirement to capture additional metadata for each Term (Ex: Requested for, Requested date, Requested by). these properties are not available in Sharepoint 2010 OOTB but can be acheived using Term.SetCustomProperty(). where as in SharePoint 2013,we
    have option to add/update/delete custom Properties in Term Store management window(Custom propertiesTabs) , which is OOTB. 
    Just want to understand is  there any way to get that Custom Property Tab interface in 2010. Or any other way to manage(Add/Update/delete) custom properties from the browser itself. 
    Is there any codeplex/other solution which will  allow us to manage properties from browser with out doing the code.
    Any suggestions on this would be helpful
    Thanks in advance
    ragava_28

    Hi,
    According to your description, you want to manage term custom property in SharePoint 2010.
    As you know, there is no OOTB method to meet your requirement.
    If you want to do it without coding, you can take a look at this tool about managing term store:
    http://www.metavistech.com/product/term-store-manager
    As this is a third party tool, we are not sure whether it has risks, please use with caution.
    Best regards
    Patrick Liang
    TechNet Community Support

  • How to create a custom property for web dynpro iView - please respond

    Hi,
    I have to create a custom iView property for a web dynpro Java Application.  I am searching forums and sap help and not able to find any documentation on this. Please post your thoughts here...
    Thanks
    Srini
    Edited by: Srinibapati on Sep 5, 2009 3:56 PM

    No One replied and closing this thread...........I still don't have answer for this.
    Thanks.
    Srini

  • How to access custom property for attribute and control in .vm file?

    Hi,
    I have created custom properties in OPM for attribute and apply also that properties to attribute.
    But if how to access that value in .vm file?
    I accessed using
    $attribute.getProperty("ScreenProp", "default value")
    but it's not working but same is worked for screen custom property

    $control.getProperties().get("PropertyName") works for custom properties on a control
    If you output $control and $control.getProperties() to the html you can lookup the API for the used classes.
    I can't give an example of the html because it's stripped in this forum
    Edited by: Peter van de Riet on 20-mei-2011 14:18

  • Custom property for file in File System Repository

    Hi,
    I have create a folder on KM using File system Repository access a network path, but facing a problems that the folder can't support custom property and can't classifiable.

    hi
    http://help.sap.com/saphelp_nw04/helpdata/en/69/d96b83a84611d5993600508b6b8b11/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/43/2e6868c6ce72408d982213e314fda1/content.htm.<b>please don,t forget points</b>
    with regards
    subrato kundu

  • Custom Adaptor for JDBC Communication Channel

    Hi Guys,
    My apologies if this has been asked before, but I did a few searches and could not find anything.
    I'm trying to write an adaptor that will use/ access the information passed into a JDBC Receiver communication channel prior to the normal adaptor being called.
    Iu2019ve written a module that gets as much information from the ModuleContext and the ModuleData as possible, but I canu2019t find where the information on the database connection is being passed.
    Is there any way of accessing the Database Connection information in a custom adaptor module?
    Kind regards,
    John

    Hi 'PI Expert'
    Thanks for your reply. I'm not sure we can use that as we're running PI7.0, but just in case:
    I can't find too much information suggesting that it's possible to call the Directory API from within an adaptor module allowing the information to be read, and hopefully modified, when the communication channel is used.
    Is it possible to call the Directory API from within a custom adaptor module?
    Kind regards,
    John

  • How to reference a custom property in a vo transient attribute expr + bug

    Hi all
    I have created a transient attribute with an expression that evaluate null content to replace it by a appropriate text.
    <ViewAttribute
        Name="DescriptionUI"
        IsUpdateable="false"
        IsSelected="false"
        IsPersistent="false"
        PrecisionRule="true"
        Type="java.lang.String"
        ColumnType="VARCHAR2"
        AliasName="VIEW_ATTR"
        SQLType="VARCHAR">
        <TransientExpression><![CDATA[((Description == null) ? 'Pas de description' : Description)]]></TransientExpression>
      </ViewAttribute>I have defined a custom property for that attribute that contains the message text. I was surprised to see that the custom property was not associate with the attribute in the source file. Don't understand where the association is done
        <Properties>
          <CustomProperties>
            <Property
              Name="flex.tree.noLabel"
              ResId="flex.noDescription"/>
          </CustomProperties>
        </Properties>I had some difficulties to use the custom property editor. When creating a new related one by using an existing resource the property column value is not changed and the content 'Property' is generated. Because no relationships exists between attribute and the property, the entry is lost in the table referring custom property list for the attribute when your come back into the view object or if you save an another entry in an another attribute.
    So my first question ? Is the attribute editing part the right part to define custom property pairs if they are not related to attributes ? is it a bug ?
    My second question is : is it possible to evaluate the bundle in the expression (replacing the literal 'Pas de description' by an expression) ? What is the expression to use ? Where it is described to do such things in the help or in the documentation ?
    Thank you

    This is wrong
    ((Label == null) ? {FlexParameterModelBundle['flex.tree.noLabel']} : Label)
    What is the correct syntax to refer to the project model standard bundle in the groovy expression ?
    Thank for the help !

  • Trigger mail on Custom Property Change event

    Dear All,
    We have few license documents stored into our KM Repository and it has few custom properties attached to it such as Document Priority, Expiry Date, Document Status, description and so on... now We have already configure schedular task in km to check for document Expiry Date and generates few E-mail notification to responsible persons intimating the expiry..
    Now what i require is, the custom property Document Status has statuses Renewed, Renewal In Process, Expired and Not to be Renewed so, i want mail notification on the event of Custom Property Document Status is changed...so, is there any standard API for that or anyway other alternative to achieve this.
    Regards,
    Tushar Dave

    Hi,
    Could you kindly tell me, how the first part was done.
    I am in a requirement as follows.
    'Sending Mail notification to the document owner when the document is about to expire. and the expiry data is a custom property for us.'
    your help would be really supportive.
    Thanks,
    SK

  • Adding Custom Property to all documents

    Hi Experts,
      I have requirement to add custom property for documents. This property should be displayed under custom Tab of all documents. How can i achieve this?  Please help me regarding this.
    Regards,
    Kumar.

    Hi Kumar,
    Make all the properties, indexable.
    This u can do in the configuration of properties.
    Then these props will be searchable
    U need to come up with how u want to search these docs
    Probably a search iview and its search options and search components will be reqd.
    Mention the requirements in that way. U can start a new thread for searching rather
    than continuing with this thread as the subject is adding custom property.
    Regards
    BP

  • Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.

    Hi there,
    I use visual studio community 2013 to develop app for office. When I create app project using template and directly run it, it shows me this error: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.
    Can anyone help? Thanks in advance.

    Hi holm0104,
    Did you add custom code into the project? Can you reproduce the issue in a new project without custom code?
    If not, did you have issue when you create a normal web application?
    Regards & Fei
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • SGEN: error: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.

    Hi,
    I appollogize if this post is off topic. I have problem wiht publish WebApp MVC.
    I have website (MVC) with one Web reference. Build and run in VS working. But when I tried to publish to disk I get error:
    SGEN: error: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.
    I have VS2013 Profesional with all updates and Windows 8.1.
    If I remove web reference then publishing working. Where can be a problem? Thanks.

    @Marek Bober,
    Thanks for sharing the solution back to here.
    Best regards,
    Barry
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Can't filter community query by custom property

    I'm trying to search for a community through the objectManager based on a custom property value (part of a LoginPEI that redirects the user on login to a personalized community).  The Query() call is failing with the following exception:
        ParseQueryFilter error on clause #0
        (0x80070057) Invalid property ID specified (0xc8)
    where 0xc8 is the ID of the property I'm filtering by.
    The same code works correctly if I filter by PT_PROPIDS.PT_PROPID_NAME instead, making me think it's something about either that property in particular, or just filtering managed objects by extended props in general.   I've confirmed that the property has been added to the community object through the Global Object Property tool.
    Code shown below (and, yes, I'm aware that the results if there are more than one matching object are undefined).  Any advice appreciated.
    Thanks,
    Pete
        private int lookupObjectBySingleProperty(IPTSession session, int classId, int propertyId, Object value) {
          IPTObjectManager objectManager = session.GetObjectManagers(classId);
          Object[][] filter = {
                                new Object[] { propertyId },
                                new Object[] { PT_FILTEROPS.PT_FILTEROP_EQ },
                                new Object[] { value }
          IPTQueryResult results = objectManager.Query(
            PT_PROPIDS.PT_PROPID_OBJECTID, //Property properties
            -1, // search all folders -- might want to restrict this later
            PT_PROPIDS.PT_PROPID_OBJECTID, //sort
            0, // start at first result
            -1, // return all results
            filter); // filter
          if (results.RowCount() == 0) {
            return -1;
          return results.ItemAsInt(0, PT_PROPIDS PT_PROPID_OBJECTID);

    can you try filter this way:
    var sURI = 'http://<host>:<port>/sap/opu/odata/sap/ZTESTODATA_SRV/';
      oModel = new sap.ui.model.odata.ODataModel(sURI, false),
      sap.ui.getCore().setModel(oModel);
      var sRead = "/pdfset(customer='" + oTF.getValue() + "')"  ;
    oModel.read( sRead, null, null, true, function(oData, oResponse){
      var pdfURL = oData.url;

  • Retrieve resources ordered by a custom property value

    Hi guys,
    I'm newbie in SAP development and I have the following problem.
    I have developed a custom Java servlet which runs in SAP Portal NetWeaver '04; now, I need to retrieve a set of files in a specific RID but, they have to be ordered by a value of a custom property: does anyone can show me the way to do that?
    Is it possible to give a kind of sorting like "descendent" or "ascendant"?
    Best regards,
    Paolo

    Hello Paolo,
    I don't think you can do sorting of KM Resources with your custom property.
    My advice would be to retrieve all the Resources (Files) and do the comparing/sorting in your servlet.
    Ofcourse you can use the standard java class Comparator to do this, check this for more:
    How do you sort on IGroup's group name?
    Greetings,
    Praveen Gudapati
    p.s Points are always welcome for helpful answers

Maybe you are looking for

  • How can I do a hard reset on my tablet from my imac via usb??? please help

    I've research almost all night and no answers please I need to do a hard reset on my tablet because I can't remember the log in. I've try on the tablet everything I could and nothing so the only thing is left, is do it via USB thru my iMac. please he

  • Oracle 8.0.5.1 EE DBMS_JOB Problem

    I am running Oracle 8.0.5.1 EE on Redhat Linux version 6.1 with the glibcpatch applied. I have come across a problem with regular execution of submitted jobs. I submit a job(any job) and when execution time comes, it fails. I have dbms_job setup corr

  • English Fonts appearing wrong in custom PDF reports

    Hie All, I am facing an issue that when we run any custom made report (pdf) in eng language the output is coming some other weired langauge other then english seems to be russian character. My environment is 12.1.3 fresh installed OS: OEL 5.5 please

  • Loading VC++ DLL in LabVIEW

    Hi, I am trying to load a VC++ DLL (with two threads) in LabVIEW . Is it possible to maintain the DLL "ALIVE" in memory or it will be loaded in memory only when I am calling the DLL function?? Please provide your comments. Thanks in Advance. Regards,

  • New Build of SCOM 2012

    build condition: SCOM SQL DB with clustered(nodesql1 & nodesql2). 2 management servers(example: node1 & node2). if this build is possible where 1 of the management is down and does not impact the monitoring. only node1 management server connect to th