Adding Custom Property in Catalog

Hi all,
trying to add a new property in the product and SKU level. I have added the below code in custom catalog.xml.
And the below SQL script, i have got by invoking the following like in . In dyn/admin , atg/commerce/catalog/productcatalog , generate SQL link...
but i am getting the following error when executing the SQL script.
Pls let me know the best way to add a custom property in catalog, n generate SQL for same
<item-descriptor name="product" id-space-name="product" xml-combine="append">
<table name="abc_product" type="auxiliary" id-column-name="product_id">
<property name="isABC" data-type="boolean" default="false" column-name="abc"
category-resource="SIM" display-name-resource="abc">
<attribute name="propertySortPriority" value="-1"/>
</property>
</table>
</item-descriptor>
-------------------------------------------------------Error when executing script----------------------
Error starting at line 1 in command:
CREATE TABLE abc_product (
     product_id           varchar2(254)     NOT NULL REFERENCES dcs_product(product_id),
     abc           number(1)     NULL,
     CHECK (abc IN (0, 1)),
     PRIMARY KEY(product_id)
Error at Command Line:2 Column:61
Error report:
SQL Error: ORA-02270: no matching unique or primary key for this column-list
02270. 00000 - "no matching unique or primary key for this column-list"
*Cause:    A REFERENCES clause in a CREATE/ALTER TABLE statement
gives a column-list for which there is no matching unique or primary
key constraint in the referenced table.
*Action:   Find the correct column names using the ALL_CONS_COLUMNS
catalog view

@Gurvinder,
I changed the DDL/SQL script. this script worked in CATAA/CATAB schema, But failed in Publishing schema. Find the problem below in publishing schema.
CREATE TABLE abc_product (
product_id varchar2(254) NOT NULL,
abc_uin number(1) NULL
,constraint sim_product_pk primary key (product_id)
,constraint sim_product_f1 foreign key (product_id) references dcs_product (product_id));
-----------------------CATA Schema-------
CONSTRAINT "DCS_PRODUCT_C" CHECK (nonreturnable in (0,1)) ENABLE,
     CONSTRAINT "DCS_PRODUCT1_C" CHECK (disallow_recommend in (0,1)) ENABLE,
     CONSTRAINT "DCS_PRODUCT_P" PRIMARY KEY ("PRODUCT_ID") // there there is only one primary key
------Publishing Schema----------------------------------
CREATE TABLE "ATGSIMPUB"."DCS_PRODUCT"
(     "ASSET_VERSION" NUMBER(19,0) NOT NULL ENABLE,
     "WORKSPACE_ID" VARCHAR2(40 BYTE) NOT NULL ENABLE,
     "BRANCH_ID" VARCHAR2(40 BYTE) NOT NULL ENABLE,
     "IS_HEAD" NUMBER(1,0) NOT NULL ENABLE,
     "VERSION_DELETED" NUMBER(1,0) NOT NULL ENABLE,
     "VERSION_EDITABLE" NUMBER(1,0) NOT NULL ENABLE,
     "PRED_VERSION" NUMBER(19,0),
     "CHECKIN_DATE" TIMESTAMP (6),
     "PRODUCT_ID" VARCHAR2(40 BYTE) NOT NULL ENABLE,
     "VERSION" NUMBER(*,0) NOT NULL ENABLE,
     "CREATION_DATE" TIMESTAMP (6),
     "START_DATE" TIMESTAMP (6),
     "END_DATE" TIMESTAMP (6),
     "DISPLAY_NAME" VARCHAR2(254 BYTE),
     "DESCRIPTION" VARCHAR2(254 BYTE),
     "LONG_DESCRIPTION" CLOB,
     "PARENT_CAT_ID" VARCHAR2(40 BYTE),
     "PRODUCT_TYPE" NUMBER(*,0),
     "ADMIN_DISPLAY" VARCHAR2(254 BYTE),
     "NONRETURNABLE" NUMBER(1,0),
     "BRAND" VARCHAR2(254 BYTE),
     "DISALLOW_RECOMMEND" NUMBER(1,0),
     "MANUFACTURER" VARCHAR2(40 BYTE),
     CONSTRAINT "DCS_PRODUCT_C" CHECK (nonreturnable in (0,1)) ENABLE,
     CONSTRAINT "DCS_PRODUCT1_C" CHECK (disallow_recommend in (0,1)) ENABLE,
     CONSTRAINT "DCS_PRODUCT_P" PRIMARY KEY ("PRODUCT_ID", "ASSET_VERSION") //there is two primary keys
Regards
Edited by: Bravo on Apr 22, 2013 5:23 AM

Similar Messages

  • 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

  • Adding Custom Property to Files

    I am trying to add a custom property to file in a repository and I am apparently missing something.
    I have created a custom property and and metadata extension for the language files. I add the property to the property group custom. I added the custom property to the folder display under presentations fine.
    The issue is when I hit the details of the files I can not find anywhere where my customer property show up...
    Any ideas??
    D.

    Hi Derek,
         Looks like you have done everything correctly. The property should show up under custom tab. I would recommend going through the following PDF and see if you missed anything.
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/documents/a1-8-4/working with metadata properties in km.pdf

  • Custom Property in Microsoft Word 2010 Document Template and Sharepoint 2010 Content Type not Syncing up

    I wrote a macro in a Word 2010 template with a custom property called HeaderFooter (a Yes/No value). When the property is changed to No, the header and footer are hidden, otherwise, the header and footer are displayed.
    I added the template to a SharePoint 2010 Document library, with a content type DocInformation and a column name HeaderFooterOffOn that I want to map to the custom property HeaderFooter in the Word Document.
    The macro isn't working in SharePoint, though, because when the user clicks on the HeaderFooterOffOn in the DIP of the Word Document, the Word Custom Property (HeaderFooter) isn't changing with it.
    How do I get these two synced up, so that when the SharePoint column is changed, the Word Document's custom property simultaneously updates with it?

    Hi kevinkevinc,
    There is no direct way to run macro in SharePoint
    As a workaround, I suggest you use SharePoint Event Receiver to run some custom code when column changed.
    Here is a similiar thread for your reference:
    http://social.msdn.microsoft.com/Forums/office/en-US/249249e2-3263-4001-86fa-bda342d95f35/run-word-macro-on-newly-uploaded-sharepoint-word-documents?forum=sharepointdevelopmentlegacy
    More information:
    SharePoint Event Receiver:
    http://msdn.microsoft.com/en-us/library/ee231563.aspx
    http://msdn.microsoft.com/en-us/library/ff398052.aspx
    Best Regards
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Zhengyu Guo
    TechNet Community Support

  • 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;

  • How to force updatedisplaylist in a skin when custom property changes

    Hi Folks,
    I have created a custom component based on a Spark Button.  In that custom component I have added a single, public, bindable property - let's call it Fred.
    I also have a custom skin, based on the Spark Button skin.  It's basically just like the delivered skin, just a bit different graphics stuff.  I have applied the custom skin to the custom button component.  So far, so good.  However...
    When a user action causes the Fred property to change on a custom button instance, I need my custom skin to re-draw something.  It appears that I need the skin's updateDisplayList function to fire.  Unfortunately, it appears that the only time that it fires is when "real" properties are changed, like 'left' or 'width'.  How can I get the custom skin to updateDisplayList when this fake, custom property changes?
    p.s. - the custom skin can 'read' the custom Fred property just fine.  And, if I set the Fred property and then 'mouse over' the custom button instance, the updateDisplayList fires...too late of course, but it does fire.
    I have read the docs, but there is not much written about updateDisplayList, or when it fires, or how to make it fire.
    Thanks,
    -David

    Good question...in my skin's 'creationComplete' event I call a function in the skin.  That function 'evaluates' the host component's Fred propertey, and based on what it finds, it draws some stuff:
    protected function doSpecialDrawing():void
         var hostFred:String = hostComponent.Fred;
         if (hostFred == "certain_value")
              //set some property in one of the path objects in my skin to a certain value
         else if (hostFred == "other_value")
              //set some property in one of the path objects in my skin to some other value
    When I created the skin, I did not anticipate the need to dynamically respond to setting the Fred property/value.
    I've placed a call to the 'doSpecialDrawing' function inside the skin's updateDisplayList, but unfortunately, the updateDisplayList does not seem to get called in real-time when I set the Fred property in a custom button instance.
    I'm all ears here... still a beginner/novice with Flex...
    Thanks,
    -David

  • Adding Href Property To PublishingWebControls:RichImageField

    Hi All,
    I have created a page layout inheriting from   artical page content type.I have included page image content field (ie PublishingWebControls:RichImageField when added ) .We need make this field as clickable so that click on this it will open new window
    with vidoe(Requirment:Need to provide thumb nail url for image  to open vidoe when users click on the image).
    Problem:As of now this field is not clickbale.I am trying to add href as custom property to this filed by inheriting class form richimagefield but not getting anyresult.
    I tried we can provide anchor tag link for label as <a href='{0}'>{1}</a>", "url", "Click Me"/> its working.
    I want the same way for richimage field .Please help me in this .
    SharePoint Deginer 2013 ,SP2013 for this task.
    Thanks ,
    veeresh G

    Thanks Patrick for your reply and time .I tried what ever you have mentioned its working.But i read some where we can
    provide hyperlink while uploading image .So that it will open in new window.some links it was mentioned there is some issue with PublishingWebControls:RichImageField with
     which will render <img> tag instead of redering <image> tag becuse ot this it is not clickable even though we give hperlink url which we get option while inserting image fisrt time.i have followed those link but didnt work.Bleow is the link
    that i followed but i didnt get.
    http://vivek-soni.blogspot.in/2009/05/oob-publishing-image-field-with.html
    http://blogs.technet.com/b/stefan_gossner/archive/2007/03/29/how-to-overcome-glitches-with-the-standard-field-controls-shipped-with-moss-2007.aspx

  • Create and Register Custom Property Panels

    Is there anyone who worked on "Custom Property Panel" in Webcenter? However, I have tried something using the following link but it seems not working.
    http://docs.oracle.com/cd/E16340_01/webcenter.1111/e10148/jpsdg_page_editor_adv.htm#CHDCJGEC
    Can anyone suggest me the possible approaches step by step?
    Thanks in advance.

    Hi again!
    Section 20.2, "Creating Oracle Composer Add-Ons": Refers to Oracle Composer buttons that appears in top of it like "Page properties" or "View". In this image http://4.bp.blogspot.com/-o0-wHhGzAg/TrgeohaGM8I/AAAAAAAAASQ/yfQqqU8faY/s1600/Composer6.png "Chane Logo" is a Composer addon (panel).
    Section 20.3, "Creating Custom Property Panels": Refers to add more tabs/configurations by default provided by Oracle Composer to configure the components added in the page. For example "Parameters" tab. In this image http://1.bp.blogspot.com/-G5lnUwO_mhM/TrgeqZlTT_I/AAAAAAAAASY/vTvznOakpL8/s1600/Composer7.png "Display options" and "Style" are property-panels
    Regards.

  • Setting a Custom Property - How to (cant get it to work)

    Hi Everyone...
    Have a code snippet that I think should be working, but I keep getting "bad parameter". Sought for examples, but could not find one on the site. "Creator" is a custom property we have added to the global map. Also, the incoming id is definately an objID of a group.
    Help :)
    publicstaticvoidSetCreatorProperty(intobjectID, stringcreatorString)
    IPTObjectManager ptOM;
    Object[][] vPropertyData = {
    // I've tried swapping the order, and using the int
    // value for the property
    newObject[] {creatorString,"Creator"}
    CIPTUserGroup usergroup;
    ptOM = Global.ServerSession.GetObjectManagers(PT_CLASSIDS.PT_USERGROUP_ID);
    usergroup = (CIPTUserGroup)ptOM.Open(objectID, true);
    usergroup.GetObjectProperties().SetPropertyData(vPropertyData);
    IPTServerContext sc = (IPTServerContext)usergroup.GetInterfaces("IPTServerContext");
    //Store it and unlock
    sc.Store();
    sc.UnlockObject();
    and I get this:
    Unhandled Exception: com.plumtree.server.marshalers.PTException (0x80070057): The parameter is incorrect. ---> System.ArgumentException: The parameter is incorrect. at com.plumtree.server.helper.IPTObjectProperties.SetPropertyData(Object vsaPropertyData) at com.plumtree.server.CIPTObjectProperties.SetPropertyData(Object[][] vsaPropertyData) at com.plumtree.server.CIPTObjectProperties.SetPropertyData(Object[][] vsaPropertyData) at Apollo.MySource.Tools.UserGroup.SetCreatorProperty(Int32 objectID, StringcreatorString) in c:\class libraries\mysource\apollo.mysource.tools\usergroup.cs:line 81

    OK, with some digging, I was able to find one deceptively simple solution, that I post below for your enjoyment. The trick here, which is not obvious from the docs, is that you can set as few as one property at a time on an object.
    here's how you would set up the code to set two custom properties: Cost Code and Creator:
    staticvoidMain(string[] args)
    constintPROPID_COSTCODE = 217;
    constintPROPID_CREATOR = 215;
    Object[][] vPropList = Global.makePropertyList(2); //see below
    int userGroupObjectID = 2033;
    vPropList[0][0] = PROPID_CREATOR;
    vPropList[1][0] = "AUTHSOURCE";
    vPropList[0][1] = PROPID_COSTCODE;
    vPropList[1][1] = "Cost Code value 33343-23";
    SetCustomProperties(userGroupObjectID ,vPropList);
    publicstaticvoidSetUserGroupCustomProperties(intobjectID, Object[][] vPropertyData)
    IPTObjectManager ptOM;
    CIPTUserGroup usergroup;
    ptOM = Global.ServerSession.GetObjectManagers(PT_CLASSIDS.PT_USERGROUP_ID);
    usergroup = (CIPTUserGroup)ptOM.Open(objectID, true);
    IPTObjectProperties objectProperties = usergroup.GetObjectProperties();
    objectProperties.SetPropertyData(vPropertyData);
    IPTServerContext sc = (IPTServerContext)usergroup.GetInterfaces("IPTServerContext");
    //Store it and unlock
    sc.Store();
    sc.UnlockObject();

  • How can I get the value of a custom property from a resource object?

    I am trying to get the value(s) of a custom property, called "status" within a method. The method has an object of type IResource available to it.
    I have tried the following:
    PropertyName propName = new PropertyName("","status");
    value = res.getProperty(propName).toString();
    However, I am getting a NullPointerException when I try to create the PropertyName instance.
    Is there a better way to get the value of a specific property from a resource object?
    Thanks,
      Tom

    Thanks Praveen.
    I was missing the default namespace of "http://sapportals.com/xmlns/cm" - I thought I could just pass an empty string for the namespace, but it looks like I must always specifiy, even if it is default.
    Tom

  • How do I map custom property from portal api ptsearchresponse?

    I want to map the search results to my datatable.
    I can execute the search fine. But how do I map the property value? My property id is 101.
    In other words which ptSearchResponse method do I use?
                    IPTSession ptSession;
                    IPTSearchRequest ptSearchRequest;
                    IPTSearchResponse ptSearchResponse;
                    IPTSearchQuery ptSearchQuery;
                    string serverConfigDir = ConfigPathResolver.GetOpenConfigPath();
                    IOKContext configContext = OKConfigFactory.createInstance(serverConfigDir, "portal");
                    PortalObjectsFactory.Init(configContext);
                    ptSession = PortalObjectsFactory.CreateSession();
                    ptSession.Connect(1, "", null);
                    // Create a SearchRequest object
                    ptSearchRequest = ptSession.GetSearchRequest();
                    // Set search settings (constraints)
                    // Set maximum results desired (100)
                    ptSearchRequest.SetSettings(
                    PT_SEARCH_SETTING.PT_SEARCHSETTING_MAXRESULTS, 100);
                    // Set the folder in which to search (array to support multiple folders)
                    ptSearchRequest.SetSettings(
                        PT_SEARCH_SETTING.PT_SEARCHSETTING_DDFOLDERS,
                        new int[] { Convert.ToInt32(ConfigurationManager.AppSettings["DocumentFolderId"]) });
                    // Include subfolders of the folder
                    ptSearchRequest.SetSettings(
                        PT_SEARCH_SETTING.PT_SEARCHSETTING_INCLUDE_SUBFOLDERS, true);
                    // Restrict search to just portal documents
                    // (not ALI Collaboration or ALI Publisher)
                    ptSearchRequest.SetSettings(
                        PT_SEARCH_SETTING.PT_SEARCHSETTING_APPS, PT_SEARCH_APPS.PT_SEARCH_APPS_PORTAL);
                    // get documents only
                    ptSearchRequest.SetSettings(
                        PT_SEARCH_SETTING.PT_SEARCHSETTING_OBJTYPES, new int[] { PT_CLASSIDS.PT_CATALOGCARD_ID });
                    // Request the intrinsic PT_PROPERTY_PROVIDERCLSID and custom property 101
                    ptSearchRequest.SetSettings(
                        PT_SEARCH_SETTING.PT_SEARCHSETTING_RET_PROPS,
                        new int[] { PT_INTRINSICS.PT_PROPERTY_PROVIDERCLSID, 101 });
                    //Use IPTFilter to create search filter with clause with two statements
                    IPTFilter ptFilter;
                    IPTPropertyFilterClauses ptFilterClause;
                    IPTPropertyFilterStatement ptFilterStmt1;
                    IPTPropertyFilterStatement ptFilterStmt2;
                    // Create the filter itself
                    ptFilter = PortalObjectsFactory.CreateSearchFilter();
                    // Create the filter clause
                    ptFilterClause = (IPTPropertyFilterClauses)ptFilter.GetNewFilterItem(PT_FILTER_ITEM_TYPES.PT_FILTER_ITEM_CLAUSES);
                    ptFilterClause.SetOperator(PT_BOOLOPS.PT_BOOLOP_OR);
                    // Attach it to the filter itself
                    ptFilter.SetPropertyFilter(ptFilterClause);
                    // Put two statements into the clause
                    ptFilterStmt1 = (IPTPropertyFilterStatement)
                        ptFilter.GetNewFilterItem(PT_FILTER_ITEM_TYPES.PT_FILTER_ITEM_STATEMENT);
                    ptFilterStmt1.SetOperand(101);
                    ptFilterStmt1.SetOperator(PT_FILTEROPS.PT_FILTEROP_CONTAINS);
                    ptFilterStmt1.SetValue(tbSearch.Text.Trim());
                    ptFilterClause.AddItem(ptFilterStmt1, ptFilterClause.GetCount());
                    ptFilterStmt2 = (IPTPropertyFilterStatement)
                        ptFilter.GetNewFilterItem(PT_FILTER_ITEM_TYPES.PT_FILTER_ITEM_STATEMENT);
                    ptFilterStmt2.SetOperand(1);
                    ptFilterStmt2.SetOperator(PT_FILTEROPS.PT_FILTEROP_CONTAINS);
                    ptFilterStmt2.SetValue(tbSearch.Text.Trim());
                    ptFilterClause.AddItem(ptFilterStmt2, ptFilterClause.GetCount());
                    // Make the filter into an actual search query
                    ptSearchQuery = ptSearchRequest.CreateAdvancedQuery(ptFilter);
                    // Run the search and return results
                    ptSearchResponse = ptSearchRequest.Search(ptSearchQuery);               
                    // How many things matched the search?
                    int totalMatches = ptSearchResponse.GetTotalMatches();
                    // How many items were returned? (Not necessarily all)
                    int returnedMatches = ptSearchResponse.GetResultsReturned();
                    // create DataTable and map results to
                    // datatable fields
                    DataTable dtSearchResults = new DataTable("Documents");
                    dtSearchResults.Columns.Add("Name");
                    dtSearchResults.Columns.Add("Excerpt");
                    dtSearchResults.Columns.Add("DocSubject");
                    dtSearchResults.Columns.Add("DocTopic");
                    dtSearchResults.Columns.Add("DocType");
                    dtSearchResults.Columns.Add("DocKeywords");
                    dtSearchResults.Columns.Add("Url");
                    dtSearchResults.Columns.Add("ImageURL");
                    DataRow dr;                                                                                                          
                    // Print the name of each result
                    for (int i = 0; i < returnedMatches; i++)
                        dr = dtSearchResults.NewRow();
                        String strName = ptSearchResponse.GetFieldsAsString(i, PT_INTRINSICS.PT_PROPERTY_OBJECTNAME);                  
                        String strText = ptSearchResponse.GetFieldsAsString(i, PT_INTRINSICS.PT_PROPERTY_OBJECTSUMMARY);
                        String strURL = ptSearchResponse.GetFieldsAsString(i, PT_INTRINSICS.PT_PROPERTY_DOCUMENTURL);
                        String strImageURL = ptSearchResponse.GetFieldsAsString(i, PT_INTRINSICS.PT_PROPERTY_OBJECTIMAGEUUID);
                        dr["Name"] = strName;
                        dr["Excerpt"] = strText;
                        dr["Url"] = strURL;
                        dr["ImageURL"] = "pt://images/plumtree/portal/public/img/sml" + strImageURL + ".gif";
                        dtSearchResults.Rows.Add(dr);
    Edited by [email protected] at 04/11/2008 7:26 PM
    Edited by [email protected] at 04/11/2008 7:27 PM

    Problem solved. I should use JsonObject instead of JSONObject :D 

  • How can I add a custom property to an object, like a paragraph?

    Hi,
    We have a merge process that combine multiple document into one and I need to store the filename of the imported file at the beginning of each merge point.   Each document that we merge contains a Title paragraph and I was wrongly assuming that I could set the label property of this paragraph with my value for future references, but only to find out that the paragraph object doesn't have a label property.
    I also tried setting a custom property by doing this
    paragraph.properties["myCustomProperty"] = "value";
    It doesn't crash, but if I try reading the value it is always undefined.
    I'm looking for alternative, or on how would you approach this, can you please advice?
    Your help is much appreciated.
    Thanks

    Peter Kahrel wrote:
    You could label the paragraph's parent story. Is that any good?
    Peter.
    Well I tought about it, but then I have to find a way to keep track of which paragraph this value belongs to and so far I havent found a way to uniquely identify a paragraph and I can't assume that the merged document won't be edited so I can't use the index.
    Peter Kahrel wrote:
    Otherwise use a paragraph property that you never use and that doesn't affect composition, such as .bulletsTextAfter
    P.
    It may be an alternative, but that may cause problem in the furture if they ever decide to use or change that properties.  Plus, I'm not sure if can put anything I want in there, but that would be worth the try.

  • 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 !

  • Error while adding owner property in nw bpc 10.1 unified model

    Hi,
    currently we are working on NW BPC 10.1 unified model.
    while adding owner property in BW system for work status we are getting below error.
    "Characteristic owner is not mapped to any attributes in the SAP HANA model."
    Please suggest us where to add this owner property.
    Regards
    Anitha p.

    Hi Gregor,
    Thanks for your reply.
    we applied that note.
    We have few doubts while creating work status and BPF.
    Our dimension is /ERP/COSTCNTR, so we have added ZPERF and ZREV attributes in ZCOSTCNTR and we have implemented BADI BADI_RSBPCB_SETUSER (enhancement spot RSBPCB_SETUSER).
    My doubt is while creating ZCOSTCNTR infoobject do I need to take a copy of /ERP/COSTCNTR? I am getting short dump while doing this.
    Regards
    Anitha

  • Adding custom fields to Embedded Search

    Hi All,
    I have read the post [here|How to add custom fields to Embedded Search; about adding custom fields to Embedded Search. I am looking to add Employee Subgroup for use in Talent Management (specifically the STVN SuccessionPlanning component) and wanted to know if anyone can expand on the instructions in the link to add this field.
    It appears to be part of the HRTMC_PERSON search object connector already and while I've done some IMG configuration the field is showing in SuccessionPlanning, but not displaying any data.
    Additionally, I'd be interested in any tips to add information that is not from PA0002 should it be required in the future.
    Many thanks,
    Luke

    Hi Luke,
    I am assuming here that your search request fields are based on HRTCM_CENTRALPERSON search template. To enable your search to work on employee subgroup please do the following
    1) Check if the HRTMC_PERSON Template extracts the data from Infotype 0001 via SPRO node 'Define Search Models and Change Pointer' Extraction Class is 'CL_HRTMC_SEARCH_READ_PA_INFTY'.
    2) Via ESH_COCKPIT, goto Template Modeler and select your custom Software Component and press Edit. Goto roadmap step 5 - Define Requests - where all search request fields are defined. Its using these fields Talent search works.
    3) Select the search request e.g. 'SAP_TALENT_NAKISA', it would then show list searchable attributes in below table. Using 'Add' button select path for PERSK so that it can searched.
    It would look like this once selected
    OBJID(REL_CP_P)->HRTMC_REL_CP_P_209.REL_CP_P(REL_CP)->HRTMC_PERSON.OBJID->HRTMC_PERSON.ORG_ASSIGNMENT
    4) In step SPRO 'Define Search Requests and Search Field Names' , define Employee subgroup field with AliasSearchField = PERSK since thats what is defined in roadmap step 5.
    Hope it helps!
    Regards,
    Ricky Shah

Maybe you are looking for

  • Error to Connect Oracle Files from Mac Os10  using smb protocol .

    I connect my MacOs10 to oracle Workspaces using smb protocol but when I try to copy a file into a folder the system show me "error -36". From the finder I type "apple -k" and then I write "smb://nomeserver". The system show me "User name" and "Passwo

  • Dequeuing multiples messages in a PLSQL CallBack

    Hi all: I would like to dequeue multiples messages in a PLSQL CallBack for performance reason. Everything works fine, but I see that Oracle AQ sent the rest of the notifications messages to the callback independent of an empty queue. I added a table

  • Ubiquity complement for Firefox last version. When will it be available?

    JDownloader asks me to load Ubiquity complement but it is unavailable for Firefox last version. Do you have any idea when it will be available?

  • Peoplecode compile error(wrong number of parameter)

    i am getting the below error when i click on "MAINTAIN ITEMS" under the navigation "ENTERPRISE LEARNING->CATALOG" in ELM. "PEOPLECODE COMPLIE ERROR(WRONG NUMBER OF PARAMETER(2,16)) FOR PROGRAM LECS.COMPONENTS.CATALOGITEMCOMMON.ONEXECUTE.(2,405). A PE

  • Change Song Order

    This seems like a newbie question but... I downloaded an album from eMusic. However, when viewed by 'Name' the tracks are not in the correct order in the Content Pane. I tried to drag a track to the correct position but it 'springs' back and won't mo