Help on adding custom properties to an iView

Hi all,
I have a requirement where in I have to add <B>Custom Properties</B> to an iView within SAP EP.  Please let me know.  Your early response is highly appreciated.
Regards,
Vijay

What is the type of an IView and what is the purpose of the parameter ?
If you are writing your custom portal application
add following lines to your component in portalapp.xml
    <component name="myComponent">
      <component-config>
        <property name="ClassName" value="com.company.myClass"/>
      </component-config>
      <component-profile>
        <property name="myCustomProperty" value="initial value">
          <property name="plainDescription" value="My Custom Property"/>
          <property name="category" value="my Custom Properties"/>
        </property>     
      </component-profile>
    </component>
In the java code you can read parameter with :
IPortalComponentContext componentContext = request.getComponentContext();
IPortalComponentProfile profile = componentContext.getProfile();     
String myCustomProperty = profile.getProperty("myCustomProperty");
Regards
Abdul.

Similar Messages

  • Adding custom properties to a human task of a worklist

    How can I add custom properties to a human task of a worklist. I don't know if it is possible. I tried to read the oracle BPEL Process Manager Workflow Services API Reference, but this is unreadable :-). Classes, Methods and Parameters are not commented...
    Moreover where can I find a GOOD description of the Workflow Services API explaining the usage of the classes, methods and their associated parameters ?
    Regards. Yvan

    I means I would like to add some parameters to the task without having to load the payload. I would like for example to use these parameters to do query on worklist. Or may be there is also a mean to do search query on worklist using some values that are into the payload of the tasks. May be you can help me :-)
    Regarding the documentation of the worklist API, it is for me very difficult to understant the role of the method as for example SystemMessageAttributesType.setTextAttribute1() or SystemMessageAttributesType.setNumberAttribute1() and so on, if there is no javadoc available and it is the same thing for all methods of the API :-).
    Definitivly I would like to understand the Task entities and all available properties and action I can apply to it to know excatly what I can do with it. Where can I find this information ?
    Regards. Yvan

  • Adding custom properties to a File system Repository

    Hi KM-Experts
    I have integrated a local file server in the portal, and need to attach some custom properties to the files located on the server.
    The documentation for a File System Repository displays that this task is not possible. Is there some kind of work around?
    I can se that you can attach standard meta data like “ratings” etc.
    Cheers
    John

    Hi Robert
    Thanks a lot; I think that this will solve most of my problems.
    Can I create a CM repository based on an existing fileserver, without deleting or changing any files?
    What will happened when files are changed manually on the fileserver, will the repository crash or will a lot of dead links occur?
    If you add some files directly on the file server, will they not be visible through the portal?
    I was hoping that there was some kind of “incremental” update, which could run during the night. I know that it’s not the best solution, but I am interesting in the limits of this repository solution, because the employees access the fileservers directly during the portal implementation period.
    Cheers
    John

  • Custom properties added by EWS not visible in Outlook

    Hi all
    I'm a first-time Exchange and Outlook addin developer and I'm stuck on a problem.
    I'm working on a project where we use an Outlook 2003 addin that tags items; mail, appointments and tasks
    with custom properties.
    In Outlook we do this by adding the data as UserProperties.
    After the items have been saved an onsave eventSink triggers on the Exchange 2007 mailbox server and using CDOEX, checks for the tags, collects some data and sends them to an web service wich stores the data on an AX server.
    This works fine.
    Then we want the AX server to be able to update and create new items back against exchange, and for this we use Exchange Web Services.
    I've made an application that performs the operations agains EWS, and everything works smoothly except when we add the custom properties.
    We add them as extendedproperties with the following code:
    ExtendedPropertyType extendedProperty = new ExtendedPropertyType();
    extendedProperty.ExtendedFieldURI = new PathToExtendedFieldType();
    extendedProperty.ExtendedFieldURI.DistinguishedPropertySetId = DistinguishedPropertySetType.PublicStrings;
    extendedProperty.ExtendedFieldURI.DistinguishedPropertySetIdSpecified = true;
    extendedProperty.ExtendedFieldURI.PropertyName = propertyName;
    extendedProperty.ExtendedFieldURI.PropertyType = MapiPropertyTypeType.String;
    extendedProperty.Item = propertyValue;
    This worked well for the eventSink, we found the fields and got the values just like we did for items tagged by the Outlook addin.
    However, the Outlook Addin could not find them in the UserProperties object for the item, and Using Outlookspy I could plainly see that they were not present.
    After a bunch of searching I found a thread on this forum that discussed adding custom properties as ExtendedPropertyTypes via EWS using a guid as a PropertySetType.
    Here it is: http://forums.microsoft.com/technet/showpost.aspx?postid=1764780&siteid=17
    I followed the instructions here, and now both the eventSink and Outlook are unable to find the properties.
    My question is:
    How can I apply my tags so both my Outlook addin and EWS can create, update and read them, as well as allowing the eventSink to easily read them?
    The simplest way, I imagine, is if I could make Exchange Web Services place the properties in the "UserProperties" object.
    I would greatly appreciate any help.
    thanks
    Ragnar Fatland

    I first created an extended property:
    ExtendedPropertyDefinitionepdGuid =
    newExtendedPropertyDefinition(
    DefaultExtendedPropertySet.PublicStrings,
    "Guid",
    MapiPropertyType.String);
    Then I setup the service:
    ExchangeServiceservice =
    newExchangeService(ExchangeVersion.Exchange2010_SP2);
    Find all the items:
    FindItemsResults<Item>
    userItems = service.FindItems(newFolderId(WellKnownFolderName.Inbox,
    userMailbox),
    newItemView(int.MaxValue,
    0)
            PropertySet =
    newPropertySet(BasePropertySet.FirstClassProperties,
    epdGuid)
    Loop through the userItems:
    foreach(varitem
    inuserItems)
    if(item
    isEmailMessage)
    EmailMessagemessage = item
    asEmailMessage;
    Do a message load with the PropertySet (if you don't do the PropertySet you won't see any extended properties):
    message.Load(
    newPropertySet(epdGuid));
    Then you can loop through the extended properties:
    foreach(varextendedProperty
    inmessage.ExtendedProperties)
    if(extendedProperty.PropertyDefinition.Name
    == "Guid")

  • Problem in adding custom metada properties

    Hi All,
    I want to add some custom properties while creating a document in KM repository. I am getting problem while adding the custom group in the property structure "all_groups"...
    This is waht i have done so far,
    1) I created the custom metadata properties..
    2) Created one property struture group XXX and added all the metadata properties in the gruop items field...
    3) Added this structure group in all_groups. While saving the changes, its saying "<b>These changes would introduce problematic settings: Group item "XXX" is neither a property ID nor a group name defined in the configuration. Check whether it is the ID of an unmodelled property or the ID is misspelled. Click on OK or Apply to confirm these changes. </b>"
    After saving it, following massege is displayed, 
    "<b>The following configuration objects have some invalid or problematic properties: "all_groups</b>"..
    Also the newly created structure is not getting displayed in the document properties.
    Please help me.
    Regards,
    Sandip<i></i>
    Message was edited by: Sandip Agarwal

    Hi Robert,
    Thanks for your reply. I guess I have taken care of the spelling (have done it 4-5 times )....So may be something else is wrong.
    I have sent you a screen shot of the problem to your mail id
    Thanks again for you help.
    Regards,
    Sandip
    Message was edited by: Sandip Agarwal

  • Add custom properties...Please help

    Hello,
    I would appreciate if you please let me know how can I add custom properties to documents such that they are available to all the documents, which are added to a particular datasource/repository.
    I added one custom property to one document but this new property was not available to other documents.
    I also read help pages but am unable to find my problem.
    Please help as I need to report this to my senior asap.
    Awaiting Reply.
    Thanks and Warm Regards,
    Ritu

    Hi,
    this is not possible.
    The admin has to predefine attributes for documents, which should be available to all users within a
    particular repository or folder.
    The custom properties are only for one document and for one user.
    Kind regards,
    Rebecca Ott

  • Adding more properties to already defined iView

    Hi Experts,
    I am new to this posting. I was been a silent watcher of this Forum. Now I need some help from you.
    Scenario 1:
    I am having an iView which has got already say 8 properties to it. Now the scenario is, I have to add 3 or 4 properties to same existing iView.
    Can I do This. If yes. How can i do it.
    Expecting your help.
    Regards,
    Haribabu Sheshayan.

    Haribabu,
    Not sure but you could try:
    Adding the properties in the portalapp.xml of the .par file, redeploying it and press the refresh button in the property editor of the iview that it concerns...
    Or export it via the XML export/import tool, edit it and re-import it again via the XML export/import.
    Good luck,
    Benjamin Houttuin

  • F4 help for a customer defined field added as structure enhancement

    I am trying to get the F4 help on a customer defined field added as structure enhancement. This can be achieved by programming the "F4IF_INT_TABLE_VALUE_REQUEST" (as I have data in an internal table) in the Process On Value-Request event. The problem is because it is a customer field addition as structure enhancement. I am not sure where I should put this code segment to make it work. Any help would be highly appreciated.

    Could you create a search help and attach that to the data element of your field, and then populate the data using code in the function exit of your search help if it cannot be directly read from a table or view?
    This would remove your code from the SAP dialog program.  The only mod you may need to make is to add / flag the search help on the screen field.
    Andrew

  • Adding an Attribute to a VO changes the custom properties of the existing

    Adding an Attribute to a VO changes the custom properties of the existing attributes of the VO.
    We had a requirement to add an extra column in the VO.
    We modified the underlying EO to include the new column from the table, and modified the VO as well.
    Jdeveloper was changing the custom properties of the existing attributes in the VO. Our fix was not working as expected.
    Could anyone please inform us:
    1. On what logic does Jdeveloper determine to modify the existing custom properties of other VO attributes.
    2. Can this behavior of Jdeveloper be controlled through any mechanism.
    Thanks in advance,
    Rahul.

    Hi,
    which version of JDeveloper and how to reproduce ?
    Frank

  • Make custom Web Dynpro java iView properties

    Hi All,
    Please guide me as to creation of custom Web Dynpro java iView properties in NW 04s .
    I have already gone through the music box example but  still have doubts .
    ANy pointers?
    Regards
    Radhika Kuthiala
    Edited by: Radhika Kuthiala on Dec 13, 2011 9:49 PM

    I don't think this can be done since WDJ apps can also run standalone (not in a portal)

  • Help needed in adding custom About box in built applicatio​n in LabVIEW 2009

    Hello,
    Can anyone please help me add custom About box in built application in LabVIEW 2009? I had successfully built my application in labview 8.6, 8.5 and 8.2 before to include custom About box. However, when I tried the same method in LabVIEW 2009, it only showed LabVIEW 2009 About box rather than my custom About box.
    Here is what I did:
    1) Wrote an "About Application.vi" in the built VI folder;
    2) Included this "About Application.vi" in the "Always Included" section of Source Files in Application Build;
    3) Built the application;
    4) Ran the built application, the About box showed only LabVIEW 2009 about (attached a picture).
    You can see that on the upper left corner of the picture, there is my custom icon.
    Your help is greatly appreciated,
    Cathy
    Solved!
    Go to Solution.
    Attachments:
    About Box.JPG ‏34 KB

    Here is the link to download LabVIEW 2009 f2 patch:
    http://digital.ni.com/public.nsf/websearch/C3F88F3​596A164AD86257647006FB022?OpenDocument
    Thanks for the help,

  • 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

  • Need help with adding a Key flex field to a seeded OAF page

    We have a seeded OAF page on which we already have Account Key Flex Field.
    Properties of this flex field are:
    The ApplShortName - SQLGL
    Name - GL#
    Type - Key
    As per the client requirement, in the KFF screen, we have disabled the seeded structure for Accounting Flexfield and created a custom structure.
    Our custom structure for the KFF is displayed correctly on the OAF page.
    But now the requirement is to add a new KFF on the OAF page which is duplicate of the existing KFF, along with the existing KFF field; the structure and segments are same. Only difference being the display name of the existing KFF field is Account; the new one needs to be Tax structure.
    Using personalization we added a new flex item and added the properties same as the existing KFF.
    ApplShortName - SQLGL
    Name - GL#
    Type - Key
    But the page is giving following error:
    The data that defines the flexfield on this field may be inconsistent. Inform your system administrator that the function: KeyFlexfieldDefinitionFactory.getStructureNumber could not find the structure definition for the flexfield specified by Application = SQLGL, Code = GL# and Structure number =
    We tried options like compiling the flexfield definition, but the error persists.
    Any help in this regard is highly appreciated.
    Regards,
    Kiranmayi.

    Hi,
    Please check whether your key flex structure is frozen or not. If now please freeze it and re compile and try.
    This may helps too
    error while developing KFF in oaf
    Thanks
    Bharat
    Edited by: Bharat on May 10, 2013 4:51 AM

  • Create custom properties in folder in KM

    Hi to all,
    In KM I have created a folder and now I need to create a custom field in setting - properties in this folder.
    I go to System Administration - System configuration - Knowledge Management - Content management.
    Now i go to Configuration - Component Management - Global service and I have created a Namespace, a Group and Properties.
    I think that if I go to the Content administrator - KM content - go to my folder - Details - Settings - Properties, I should see the custom field but I don't see it.
    Can anybody helps me?
    Thanks a lot.

    I have similar problem with custom properties for UME. I have added a property userdesig. I can see them in myprofile and user management in a separate tab 'Customized information'.  I can also save data in this property. 
    The problem is when I go to 'Content administrator - KM content - go to my folder - Details - Settings - Properties' I am unable to see the Custom Field.
    Would appreciate any help.
    Thanks
    JPM
    Edited by: JOSEPH MILTON on May 16, 2009 2:26 PM
    Edited by: JOSEPH MILTON on May 16, 2009 2:27 PM

  • Problem in adding Custom Provider for Work Management Service

    Hello,
    I'm facing an issue in adding custom provider for work management service. As you are aware, Work management service is a Provider model and we
    can integrate with other systems by adding custom providers. So with that confidence, i have started writing a connector as mentioned below.
    Step - 1: Added new provider xml in the below path
    "C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\15\CONFIG\WorkManagementService\Providers"
    Provider Name: provider.bizagitasklist
    Provider XML Content: 
    <Provider ProviderKey="DAA52AF3-A147-4086-8C0C-82D2F83A089D" OverrideProviderKey="" Assembly="adidas.TaskProvider, Version=1.0.0.0, Culture=neutral, PublicKeyToken=5d6f3e6be60a351b" > </Provider>
    Step -2: Added a class which inherits "IWmaTaskProvider" and implemented the override methods.
    public class BizAgiTaskListProvider : IWmaTaskProvider
    public string LocalizedProviderName
    get { return "BizAgiTaskListProvider"; }
    public string ProviderName
    get { return "BizAgiTaskListProvider"; }
    public Microsoft.Office.Server.WorkManagement.CalloutInfo GetCalloutInfo(IWmaTaskContext context, string taskExternalKey, string locationExternalKey)
    return null;
    public DashboardExtensionInfo GetDashboardExtensionInfo(IWmaBasicProviderContext context)
    return new DashboardExtensionInfo { ClassName = "SP.UI.SharePointExtension" };
    public BulkEditResult HandleBulkEdits(IWmaTaskContext context, BulkEdit updates)
    return null;
    public TaskEditResult HandleTaskEdit(IWmaTaskContext context, BaseAggregatorToProviderTaskUpdate taskUpdate)
    return null;
    public void RefreshSingleTask(IWmaTaskRefreshContext context, string externalKey)
    public void RefreshTasks(IWmaTaskRefreshContext context)
    //context.WriteProviderCustomData(
    Step – 3: Written a class to fetch the tasks from BizAgi System which has method to provide the task data.
    But I’m not able to feed those tasks in the class written in Step – 2 as I’m able to find any method which will take Tasks as Input and I’m not
    sure about the format of tasks.
    I’m able to debug the provider, and the breakpoint hitting in only one method and two properties.
    (LocalizedProviderName, ProviderName, GetDashboardExtensionInfo).
    Can you please help me to proceed further in implementing the above solution?
    Best Regards
    Mahesh

    Hi Mahesh,
    Although the implementation of work management service application is based on the provider model, I reckon the current SP 2013 RTM does not support custom providers. Only SharePoint task lists, Project server and MS Exchange are supported for now.
    Regards,
    Yatin

Maybe you are looking for

  • Can't find airport on after updating to leopard

    Hi I just did an install of 10.5 on a separate internal drive, turned airport on but can't locate any networks but if I reboot with 10.4 all is fine. My daughter's g4 laptop works fine as well from the same location. We have just moved and it's taken

  • Black & White Apple Logo Lockup w/2.02

    Hello all, Eagerly updated from 2.00 to 2.02 yesterday in anticipation of never seeing the ATV locked up again with that darn Black & White Apple logo. Came back from dinner this evening, the TV was off but the ATV had been left on playing music. Tur

  • Use of FM BAPI_EQUI_CHANGE to update equipement with customer fields

    Hello all I have extended the EQUI table with customer fields using customer include structure and append structure. I want to populate these customer fields with BAPI BAPI_EQUI_CHANGE Or BAPI_EQUI_CREATE. So I have extended the structure ITOB append

  • Mass change with Reason for Rejection.

    Dear Gurus, Pl tell me the process to close all the open orders at one go. I have tried with the t.code MASS, but I was unable to do that. Pl give the step by step process. Regds, Sreehari

  • Object oriented abap

    hello abapers, am new to object oriented abap.cud u pls help me out in explaining me object oriented abap with examples.cud u also pls send me some links related to OO ABAP.. explanation wid suitable examples will b rewarded higher pints. regards, pr