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

Similar Messages

  • 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

  • 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

  • Adding custom fields to FPE1/2/3 transactions

    Hi guys,
    My first thread here on SDN!
    I need to add custom fields (Document Locator Number - ZDLN, and Post Mark Date - ZPMD) from table DFKKOP to transactions FPE1/2/3 under ADDITIONAL DATA area while manually entering NEW BUSINESS PARTNER ITEM.
    The transaction is not BDT enabled and does not have a screen exit. The user exit and BaDI dont seem helpful to me.
    The screenshot below shows the user exits and BaDI for the transaction.
    Link: [Exits|http://img440.imageshack.us/img440/9319/1123201061827pm.png]
    What are my options to add fields to the transaction screen now?
    Thanks!!

    Hi,
    Yea i got the functional guys to configure it. Was a unique issue!.....But I know how they did it.
    You can add it through SPRO transaction. Go to the below mentioned path.
    Go to SAP Reference IMG
    Financial Accounting > Contract Accounts Receivable and Payable > Basic Functions > Posting and Documents > Document >
    Screen Preparartions > Include Own Fields in Detail Screens.
    Here you need to enter the details from FPE1 transaction screen.
    Activity Documentation:
    Include Own Fields in Detail Screens
    In this activity you can, if you have added customer fields to the document structures, include these customer fields in the entry screens of the transaction for posting documents.
    For the detail screens (business partner item and G/L account item) you can create a screen that contains your own fields. You must create this screen as a subscreen using the Screen Painter. In addition you have to create modules for the intialization and for data transfer (PBO and PAI).
    Activities
    If you have extended the document strutures to includes customer fields, and you need these fields in the entry screens for posting documents, you must create the screen using the Screen Painter.
    Carry out this step to create the screen and the modules that go with it in the system. You do not have to activate these afterwards.
    Further notes
    Read the field help for each field in the table. This describes the exact procedure.

  • Adding custom fields to FPE1/2/3 transaction screen

    Hi guys,
    I need to add custom fields from table DFKKOP to transactions FPE1/2/3 under ADDITIONAL DATA area while manually entering NEW BUSINESS PARTNER ITEM.
    The transaction is not BDT enabled and does not have a screen exit. The user exit and BaDI dont seem helpful to me.
    The screenshot below shows the user exits and BaDI for the transaction.
    Link: Exits
    What are my options to add fields to the transaction screen now?
    Please help out!

    Hi,
    Yea i got the functional guys to configure it. Was a unique issue!.....But I know how they did it.
    You can add it through SPRO transaction. Go to the below mentioned path.
    Go to SAP Reference IMG
    Financial Accounting > Contract Accounts Receivable and Payable > Basic Functions > Posting and Documents > Document >
    Screen Preparartions > Include Own Fields in Detail Screens.
    Here you need to enter the details from FPE1 transaction screen.
    Activity Documentation:
    Include Own Fields in Detail Screens
    In this activity you can, if you have added customer fields to the document structures, include these customer fields in the entry screens of the transaction for posting documents.
    For the detail screens (business partner item and G/L account item) you can create a screen that contains your own fields. You must create this screen as a subscreen using the Screen Painter. In addition you have to create modules for the intialization and for data transfer (PBO and PAI).
    Activities
    If you have extended the document strutures to includes customer fields, and you need these fields in the entry screens for posting documents, you must create the screen using the Screen Painter.
    Carry out this step to create the screen and the modules that go with it in the system. You do not have to activate these afterwards.
    Further notes
    Read the field help for each field in the table. This describes the exact procedure.

  • 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

  • I am changing from Word to Pages. I have created my custom template with all my styles etc and that is what comes up when I go for a New Document. Fine. How do I get it to use the same Custom Template when I use Pages to open a Word document?

    I am changing from Word to Pages. I have created my custom template with all my styles etc and that is what comes up when I go for a New Document. Fine. How do I get it to use the same Custom Template when I use Pages to open a Word document?

    The template is a document in itself, it is not applied to an existing document whether it is a Pages document or a Word document converted to a Pages document.
    You would need to either copy and paste content, using existing styles, or apply the styles to the converted Word document.
    You can Import the Styles from an existing document and those imported Styles can be used to override the current document's styles:
    Menu > Format > Import Styles
    The process is simplified if the styles use the same names, otherwise you will need to delete the style you don't want and replace it with the one that you do want when asked, then the substitution is pretty straightforward.
    Peter

  • HT1296 My drive failed on my iMac and I had to get a new drive but now my iTunes music is gone including all the CD's I added to iTunes, and all of my custom Playlists. All of that stuff is still on my iPhone 4, but how do I get it all onto my iMac again?

    My drive failed on my iMac and I had to get a new drive but now my iTunes music is gone including all the CD's I added to iTunes, and all of my custom Playlists. All of that stuff is still on my iPhone 4, but how do I get it all onto my iMac again? I have CD's on my phone that i no longer have the physical copies of so i can't just re-download them all, plus it would take forever! I just want to know if there is a way to get all of what is still on my phone, back over to my iMac with it's new drive and restore my full iTunes library to the iMac with playlists, CD downloaded music, and my iTunes bought stuff, so i can go back to synching the 2 devices without losing everything that's on my phone that used to be on both devices?

    iTunes Store- Transferring purchases from iOS device or iPod to a computer
    Downloading past purchases from the App Store, iBookstore, and iTunes Store
    How to dowload purchased music

  • Adding a custom report to a document set

    Hi,
    We are trying to add a custom report to a document set in OM. When a sales order is released, the sequence of events to occur is - a standard pick list report runs followed by the custom report(a despatch note).
    However, I cannot associate the parameters so that the parameters that are driving the standard apps pick list report are also driving the custom report.
    Anyone tried this before?
    Thanks muchly

    Eventually I figured this out. In 54, the edit dialog for the clickstream cloud is set up in the JS at:
         /libs/cq/personalization/widgets/source/analytics.init.js
    Effectively the 'registration' of the various stores is hardcoded in this JS file, with lines like so:
         //eventinfodata
         reg.call(this, CQ_Analytics.EventDataMgr);
    So, we could overlay the entire personalization widgets clientlib, but that seems crazy just to add one line of code.
    So, what I've done is to write my own clientlib and bolded it onto the cq.personalization category (which the /libs/cq/personalization/widgets clientlib is part of). This JS sets up another listener (on the click of the edit button) which adds the additional tab to the edit dialog.
    If anybody is interested in seeing how this was done, buzz me on twitter @tomblackford

  • 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 

  • Report on all documents (plus metadata) uploaded to a web application within a specific time period

    Hi All,
    The business is looking for a report that lists all documents added to all sites within a web application ( with multiple sites ) and includes both custom and standard ( modified , modified by etc.) metadata
    Is auditing the way to go or is there some way to report against the index created by the Search application ?
    All suggestions appreciated.
    Thanks,
    Counie
    SharePoint Farmer in training

    There are 3rd Party tools that can give you this level of detail, or you can roll your own with jQuery or other programming.
    Steve Clark, MCTS |
    Twin-Soft Corporation
    Easy Bins Roll-off Dumpster Rentals in Northern VA
    Specializing in:
    Driveway-sized, roll-off dumpster rentals in Fairfax VA |
    Dumpster Rentals for Junk Hauling in Springfield VA
    Roll-off Rental Dumpsters in Annandale, VA |
    Dumpster Rentals for Estate Cleanout in Alexandria VA

  • While adding custom field in urgent change-Create new field button in AET is not coming

    Dear All,
    we have requirement to add some custom fields in urgent change document. while adding custom fields using AET, create new field button is not coming.
    Thanks in advance. points will be awarded.
    Rahul

    Hi Jignesh,
    Thanks for your valueble inputs, it really helped me to understand the process.
    I checked in Web UI configuration for urgent change document as you mentioned but still that button is not coming.
    In transaction BSP_WD_CMPWB, i have created enh. set: Z_ENHANCEMENT_SET.
    Can you tell what to selelect in application and page popup which comes after selecting Enhance component button. Actually i tried but i am not able to add new record in conf.
    Thanks in advance.

  • Add Customized fields in FICA document

    Dear all,
    We are having a requirement in which we need  to add customized fields in FICA document and need to post them .Can anyone please tell me how to meet this requirement
    susmita
    Edited by: susmitha harini on Aug 11, 2010 12:46 PM

    Hi Susmita
    You can add the fields to the customer includes
      CI_FKKOP
      CI_FKKKO
    To create/update the customer fields in automated processes you can use the standard SAP BAPI:
      BAPI_CTRACDOCUMENT_CREATE
      BAPI_CTRACDOCUMENT_CHANGE
    Check out the import table EXTENSIONIN with structure BAPIPAREX.
    To add the fields to the standard SAP transactions, have a look in IMG under
    Financial Accounting
      Contract Accounts Receivable and Payable
        Basic Functions
          Posting and Documents
            Document
              Screen Preparations
    Yep
    Jürgen
    Edited by: sattlerj on Aug 12, 2010 8:45 PM
    Edited by: sattlerj on Aug 12, 2010 8:49 PM - Added EXTENSIONIN

  • 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

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

Maybe you are looking for

  • Reports For Payments

    Hi AII We have ImpIemented ECC 6 0 with PS and Investment management  (For CapitaI Investment Projects) ,MM and FICO in our present Project Customer is interested in having a report Purchase order wise Advance payments/Subsequent and Invoice Booking

  • Lumia virus protection banking etc

    Please confirm Lumia 920 ok for banking, ebaying, Paypaling, etc. As at mid 2014. Have been reading past posts saying Windows/Nokia phones ok as closed App Store. And as long as you don't accept weird offers. And PC viruses cannot infect phones. But

  • Datagrid scrollbar

    Hi there. I've got a prolem. I have skinned scrollbar, and it works pretty well on TextArea etc The only issue I've discovered is that some lists (ex. DataGrid) will not redraw correctly according to the scrollbar width until the first time the user

  • Photoshop element 10

    am I able to do anything through photoshop element 10?  I downloaded some pictures from a flashcard and tried to share them.  I needed to add the address to the share list and I could not get any farther than there.  I could not log in to add the new

  • What is the aluminum alloy used into iPhone 6/6 Plus design ?

    Hello, I don't have any problem with my iphone but I have a technical question. According to the making process, I want to know what is the aluminum alloy used and different applied treatments on iPhone 6/ 6 Plus case design. Please, it will be very