Retrieve Document Relevance through KM API.

Hi,
Can any one suggest me how to get the document relevance from KM API.
I need to show the document relevance of the doc in my custom development application.
Thanks in advance,
Ansar.

Hi,
I think  relevance is the property of the documents in KM.
You will need to import KM API's in your webdynpro/portal application.
Then you can use following code. You will need to pass property name and its namespace.
String value = "";
            try
                  IPropertyName pName = new PropertyName(namespace, propertyname);
                  IProperty property = resource.getProperty(pName);
                  if(property.isMultivalued())
                        value = property.getValues().toString();
                  else
                        value = property.getValueAsString();     

Similar Messages

  • Retrieving billing/usage through Azure API

    I'm looking to retrieve my account usage details through Azure API but couldn't find the relevant API for that.
    I know I can download the CSV file of usage details in Azure Portal Account->Subscriptions->Download Usage Details, and would need to retrieve the same through API.
    Any help is appreciated. Thanks in advance.

    Hi ksrishna,
    Thanks for your posting!
    Currently we don't got the billing usage file using API. You could download in the account page on the portal. Also, you could vote this feature via this customer feedback page:
    http://feedback.azure.com/forums/170030-billing/suggestions/1143971-billing-usage-api
    Regards,
    Will
    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.

  • Error while retrieving TASK list through worklist API

    Hi All,
    I am try'n to retrieve TASK lit for user in BPEL 10.1.3.1 using worklist api ,
    I am stucked with this error while quering the tasks.
    bpeladmin
    Aug 25, 2008 11:31:52 AM oracle.j2ee.rmi.RMIMessages EXCEPTION_ORIGINATES_FROM_THE_REMOTE_SERVER
    WARNING: Exception returned by remote server: {0}
    java.rmi.UnmarshalException: Error deserializing return-value: java.io.InvalidClassException: oracle.bpel.services.workflow.task.model.TaskImpl; unable to create instance
         at com.evermind.server.rmi.RMIClientConnection.handleMethodInvocationResponse(RMIClientConnection.java:897)
         at com.evermind.server.rmi.RMIClientConnection.handleOrmiCommandResponse(RMIClientConnection.java:341)
         at com.evermind.server.rmi.RMIClientConnection.dispatchResponse(RMIClientConnection.java:296)
         at com.evermind.server.rmi.RMIClientConnection.processReceivedCommand(RMIClientConnection.java:278)
         at com.evermind.server.rmi.RMIConnection.handleCommand(RMIConnection.java:152)
         at com.evermind.server.rmi.RMIConnection.listenForOrmiCommands(RMIConnection.java:127)
         at com.evermind.server.rmi.RMIConnection.run(RMIConnection.java:107)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:825)
         at java.lang.Thread.run(Thread.java:595)
    Help me out.
    Regards,
    Kalyan.

    Hi,
    Guys any updates...

  • Unable to Change Withholding Tax Base Amount while creating Service AP Invoice through DI API?

    Dear All,
    I am trying to create Service AP Invoice through DI API.
    If I post the document without changing SAPPurchaseInvoice.WithholdingTaxData.TaxableAmount the dount ocument is created in SAP without any problem.
    But if I change amount in above field then DI API throws error Unbalanced Transaction.
    If I post same document in SAP with changed base amount it got posted in SAP without any Issue.
    Where I am doing wrong?
    please guide.
    Using:
    SAP B1 version 9 Patch Level 11
    Location : India.
    Thanks.

    Hi ,
    maybe you can find solution to these note 1812344
    1846344  - Overview Note for SAP Business One 8.82 PL12
    Symptom
    This SAP Note contains collective information related to upgrades to SAP Business One 8.82 Patch Level 12 (B1 8.82 PL12) from previous SAP Business One releases.
    In order to receive information about delivered patches via email or RSS, please use the upper right subscription options on http://service.sap.com/~sapidp/011000358700001458732008E
    Solution
    Patch installation options:
    SAP Business One 8.82 PL12 can be installed directly on previous patches of SAP Business One 8.82
    You can upgrade your SAP Business One to 8.82PL12 from all patches of the following versions:8.81; 8.8; 2007 A SP01; 2007 A SP00; 2007 B SP00; 2005 A SP01; 2005 B
    Patch content:
    SAP Business One 8.82 PL12 includes all corrections from previous patches for releases 8.82, 8.81, 8.8, 2007, and 2005.
    For details about the contained corrections, please see the SAP Notes listed in the References section.
    Notes: SAP Business One 8.82 PL12 contains B1if version 1.17.5
    Patch download:
    Open http://service.sap.com/sbo-swcenter -> SAP Business One Products -> Updates -> SAP Business One 8.8 -> SAP BUSINESS ONE 8.82 -> Comprised Software Component Versions -> SAP BUSINESS ONE 8.82 -> Win32 -> Downloads tab
    Header Data
    Released On
    02.05.2013 02:34:18  
    Release Status
    Released for Customer  
    Component
    SBO-BC-UPG Upgrade  
    Priority
      Recommendations/additional info  
    Category
      Upgrade information  
    References
    This document refers to:
      SAP Business One Notes
    1482452
    IN_Wrong tax amount was created for some items in the invoice with Excisable BOM item involves
    1650289
    Printing Inventory Posting List for huge amount of data
    1678528
    Withholding amount in the first row is zeroed.
    1754529
    Error Message When Running Pick and Pack Manager
    1756263
    Open Items List shuts down on out of memory
    1757641
    Year-end closing
    1757690
    SEPA File Formats - New Pain Versions
    1757898
    Incoming Bank File Format
    1757904
    Outgoing Bank File Format
    1762860
    Incorrect weight calculation when Automatic Availability Check is on
    1770690
    Pro Forma Invoice
    1776948
    Calendar columns are wrong when working with Group View
    1780460
    OINM column description is not translated
    1780486
    UI_System crash when you set extreme value of double type to DataTable column
    1788256
    Incorrect User-Defined Field displayed in a Stock Transfer Request
    1788372
    ZH: 'Unacceptable Field' when export document to word
    1788818
    RU loc: No freight in the Tax Invoice layout
    1790404
    Cash Flow Inconsistency when Canceling Payment
    1791295
    B1info property of UI API AddonsInstaller object returns NULL value
    1791416
    Adding a new item to BoM is slow
    1794111
    Text is overlapping in specific localization
    1795595
    Change log for item group shows current system date in all the "Created" fields
    1797292
    Queries in alerts should support more query results
    1800055
    B1if_ Line break issue in inbound retrieval using JDBC
    1802580
    Add Journal Voucher to General Ledger report
    1803586
    Not realized payment is exported via Payment Engine using 'SAPBPDEOPBT_DTAUS' file format
    1803751
    Period indicator of document series can be changed although it has been used
    1804340
    LOC_BR_Cannot update Nota Fiscal Model
    1805554
    G/L Account displayed in a wrong position when unticking the checkbox "Account with Balance of Zero"
    1806576
    Payment Cannot Be Reconciled Internally
    1807611
    Cannot update UDF in Distribution Rule used in transactions
    1807654
    Serial No./Batch inconsistency by canceled Inventory Transfer
    1808694
    BR: Business Partner Code cannot be updated with CNPJ CPF error
    1809398
    CR_Cannot Display Related Multi-Value Parameters
    1809758
    Arrow key not work for Batch/Serial Number Transactions Report
    1810099
    Tax Amount is Recalculated Even if Tax Code Is Not Changed
    1811270
    Upgrade fails on Serial And Batches object with error code -10
    1811846
    Cannot run Exchange Rate Differences when multi branch is activated
    1812344
    Withholding Tax Amount Is Not Updated in Payment Once Witholding Tax Code Is Changed in Document through DI API
    1812740
    DI:"Operation Code" show wrong value when add "A/P Tax Invoice" based on "A/P Invoice"
    1813029
    US_Vendor address on 1099 Summary by Form/Box Report is not updated according to the latest Invoice
    1813835
    Wrong amounts of Goods Return in Open Item List
    1814207
    Preliminary page prints setting does not keep after upgrade
    1814860
    Value "Zero" cannot be imported to "Minimum Inventory Level" field via Excel file
    1815535
    RFQ: Web front end not displayed in supplier language
    1815810
    GT: Adding Incoming Payment for Some Cash Flow Relevant Accounts Fails
    1816191
    BR:System Crashes While Working with Tax Code Determination Window
    1816611
    CR_Crystal Report Displayed Incorrectly Afte

  • How to Create Highlighted text through the API

    I am trying to create a script that goes through a document and cut/pastes specific elements to another document in FrameMaker 7.1.
    So far, I can open a document and if an element is already highlighted/selected, i can cut the whole element using F_ApiCut().
    I am having problems programatically trying to highlight the element that I want to copy.
    So far, I have tried using the exampe from the FDKRef:
            //grab the selected element and set it to the elementRange
            er = F_ApiGetElementRange(FV_SessionId, docId, FP_ElementSelection);
            parentId = F_ApiGetId(docId, er.beg.childId, FP_ParentElement);
            er.end.parentId = er.beg.parentId = F_ApiGetId(docId, parentId, FP_ParentElement);
            // if the selected element is a child of the highest level element, the client returns here
            if(!er.end.parentId) return;
            er.beg.childId = parentId;
            er.beg.offset = er.end.offset = 0;
            er.end.childId = F_ApiGetId(docId, parentId, FP_NextSiblingElement);
            F_ApiSetElementRange(0, docId, FP_ElementSelection, &er);
            F_ApiCut(docId, 0);
    but this only grabs an element that is already selected. Is there a way to select an element through the API?
    Thanks for any help!

    TrainingDeveloper,
    There most certainly is a way. You can set up any kind of selection that you want, although it is definately a tricky process that can throw off even an experienced FDK developer. Here are my observations based on the code you pasted...
    If you want to select an element, the first thing is that you need to have the ID of that element. I don't see anywhere in your code where an element ID is retrieved. All I see is the F_ApiGetElementRange which is getting the current selection, which in turn is likely why you just keep cutting the currently-selected element. If you want to get a specific element, that function call is not applicable. You only need to set up the element range structure to reflect the proper selection and then cut.
    With that, assume that "elemId" is the ID of the element you want to cut. To select an entire element, you would do this:
    F_ObjHandleT elemId, docId;
    F_ElementRangeT er;
    /* . . .   code here to get elemId, docId, etc. . . .  */
    //set up the element range structure for whole-element selection
    er.beg.childId = elemId;
    er.beg.parentId = er.end.parentId =  F_ApiGetId(docId, elemId, FP_ParentElement);
    er.end.childId = F_ApiGetId(docId, elemId,  FP_NextSiblingElement);
    er.beg.offset = er.end.offset =  0;
    //set the element selection in preparation for the cut
    F_ApiSetElementRange(FV_SessionId, docId,  FP_ElementSelection, &er);
    //... and cut
    F_ApiCut(docId, 0);
    I'm not sure what the sample you pasted is meant to accomplish. It is somewhere along the right track but it won't get you exactly what you want.
    Now, I should say that the process of retrieving the desired element ID is a whole different challenge. I'm not sure if you know how to do that or not so I'll defer any discussion on that until you ask.
    Russ

  • Document Set Creation in document library using REST API in Sharepoint 2013

    Hi,
    I want to create the document set using REST API call. Currently i am able to create the folder and able to upload the files using REST API's in the document library. Is there any way we can pass the contentype name or Id and create the document set using
    REST API call. We need to create the document set along with metadata and upload the files inside the document set.
    I need to create the document set along with meta data column values using REST API. Please let me know how we can achieve this through REST API.
    Thank you,
    Mylsamy

    Hi,
    According to your post, my understanding is that you wanted to create document set along with managed metadata fields.
    The REST API does not currently support working with Managed Metadata or Taxonomy fields.
    As a workaround, we can use the JavaScript Client Object Model.
    Create document set using JavaScript Client Object Model.
    http://blogs.msdn.com/b/mittals/archive/2013/04/03/how-to-create-a-document-set-in-sharepoint-2013-using-javascript-client-side-object-model-jsom.aspx
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/aacd96dc-0fb2-4f0d-ab4c-f94ce819e3ed/create-document-sets-with-javascript-com-sharepoint-2010
    Set managed metadata field with JavaScript Client Object Model.
    http://sharepoint.stackexchange.com/questions/95933/add-list-item-with-managed-metadata-field-through-jsom
    http://sharepointfieldnotes.blogspot.com/2013/06/sharepoint-2013-code-tips-setting.html
    Thanks,
    Jason
    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]
    Jason Guo
    TechNet Community Support

  • Problem In Creating Sales Order Through DI API

    Hi
    I am Creating The Sales Order Through DI API.
    the Error Is Coming - " [OACT] , 'No matching records found (ODBC -2028)'"
    anyone  can help me solving it.

    Hi vivek,
    Have you tried adding the same document with the client ?
    OACT is the accounts table and this error message typically indicates that there is an account parameter missing somewhere in the system.
    Possible causes include:
    - you are using a tax group or warehouse which does not have all the required accounts set
    - There is a price rounding and the rounding price account has not been set in the account settings
    - etc.
    The first things I would check include the tax group settings and the G/L Account determination settings.
    Henry

  • Retrieving documents using native applications

    Dear
    While retrieving content from content server, the content is usually launched as a web page or pdf files -regardless of the original native file-
    Can ECM automatically launch the native application to enable viewing of any retrieved document? If the native application is not available on the workstation, the ECM then should ask the user to choose another application that could open the retrieved document.
    Please advise

    1. If the web viewable file is configured to be conversion to pdf using IBR then when the user clicks the web viewable link it will open a pdf.
    2. If the user clicks on the native file the browser will ask open or save and if they select open it should spawn the OS to use the application mapped to the file format (has nothing to do with UCM at that point)
    Things like the Search Results page are set up by default to use the WebViewable link mentioned in 1 above but can be changed to Native file if desired. Also IBR can be skipped and Native only file is what is passed through to the web location or only a single file can be saved if the UCM server is set up that way instead of the same Doc file in both Vault and Weblayout.
    Does that answer your question?

  • Which utility -  to input XML objects into the Apps through an API

    Hello.
    We are just starting on XML Publisher in 11i10.2. We will need to automate the migration of saving templates into the apps through scripting so that new development can be migrated up our test environments and into production without human intervention.
    Is anyone aware of where we can find information on utility to input XML objects into the Apps through an API?
    Thank you.

    Hi all,
    You can download this document from the following location as long as Tim doesnot publishes it as a Metalink note :-o).
    The URL is:
    http://yuvi.esmartdesign.com/index.htm
    Navigate to the downloads section and check the XML Publisher section under it for the document.
    This document shall be available for a limited amount of time :-o)
    Hope this helps all.
    Thx,
    Nitin

  • Accessing Iteration Dates through REST API

    How should I go about getting the start and end dates for an iteration through the API?
    If I attempt to access the iteration directly (using the URL retrieved by /_apis/wit/classificationnodes/iterations/{parent}&$depth=2) I receive a 'Node ID is not recognized' error:
    "$id": "1",
    "innerException": null,
    "message": "TF51541: The Node ID is not recognized.",
    "typeName": "Microsoft.TeamFoundation.WorkItemTracking.Server.Metadata.WorkItemTrackingTreeNodeNotFoundException, Microsoft.TeamFoundation.WorkItemTracking.Server, Version=14.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a",
    "typeKey": "WorkItemTrackingTreeNodeNotFoundException",
    "errorCode": 0,
    "eventId": 3200
    Is there another mechanism for getting this data?

    Hi Steve,
    Thanks for your post.
    We can get the Iteration using general TFS API, it also works with VSO, please refer to the replies in this post:https://social.msdn.microsoft.com/Forums/en-US/6e6a8c5a-bb2a-4b51-9a43-df3c06448f1b/get-sprint-details-from-tfs?forum=tfsgeneral
    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.

  • AR Invoice + Payment through DI API

    SBO 8.8
    Limited Logistic User
    In application I can create sales invoice and before click to Add button I can create payment (select account and ammount to be paid). After this document is added, the invocie is paid already.
    I cannot find a way how to make this same process through DI API. It is not problem to create Invoice and Payment and link these 2 docuements together, but problem is that I need solution for LIMITED LOGISTIC USER which has no acces to Payment object.
    Limited logistic user can create invoice and payment from invoice form (UI), but has no acces to Payments object in DI to create the same.
    Exist solution for this? Please help me with ideas, otherwise customer will kill me... (has app. 50 Logistic users)
    Thanks for help

    Hi Petr,
    Am I correct in assuming here that you are talking about creating a payment first and then linking it to invoice?
    Is there no way of using the WizardPaymentMethods object as it seems this is what the object is intended for?
    To give you an idea, we have set a Business Partner to "Cash Basic" terms in SAP and set up this Payment Terms in SAP to open Incoming payment when the invoice is created. In SAP when we capture an invoice for this BP then the Payment Means (not Incoming Payment) window comes up and we can process a Cash payment straight away. Then when we add the invoice an incoming Payment is automatically created in the background. However we are having trouble duplicating this functionality with the DIAPI.
    Kind regards,
    Greeshma

  • Message Alter Overview  through DI API

    How do I get the code of selected message from my inbox in Messge/Alter overview window through DI API

    Hi Edward,
    Sorry I was busy last week and could not check your message. I got it to get the alertcode from alert/mesage overview screen. I just generated a message with three message data columns through DI API with link on two of the columns. I am just wondering how I would handle those links from Alert/Messge overview window to open my SAP Addon documents which are created in .NET and not using UDO's
    Thanks and Regards,

  • Payment through DI API

    Hi All,
    In our addon we are creating AR Invoice and Payment document through DI API . We have tested the addon  as a logistic user , it is working fine, but when we try to open the incoming payment through SAP  Business One it will give an error message  "You cannot open window[170] Receipt with your current license" . My doubt is that if we create payment through DI API as logistic user is this a violation of SAP license ? Please advise me..
    Thanks in Advance
    Regards
    ARUN

    From my experience - we created through DI API document for which limited user has no acces through UI, customer was happy that with limited licence they may work. Unfortunately after few months in new patch this was corrected and cutomer had to upgrade licences.
    So I think it will be corrected by SAP development team in few future patches and it will not work as now already.

  • Bill to code setup through DI API

    Hi,
    When trying to to create a sales order through Documents object in DI API,
    I can pass in a ShipToCode to choose different ship to address that has been created in Business Partner. I want to implement the same function like choosing different bill to code, but I can't find a Bill to code to setup in this Documents object.
    I know that I can use AddressExtension to pass in both bill to and ship to address.
    Any information plz suggest me...
    Thanks

    Hi QZ Zhang,
    You was not very far... PayToCode is your answer, and with ShipToCode they reference both addresses from a document.
    Regards,
    Eric

  • How to request multi-machine blueprint information through rest api.

    We are building a portal in front of vRealize (don't ask me why) and I need to dynamically create multi-machine json files to request catalog items.
    If I connect through the api I can request the Blueprint details but not the additional blueprints it makes use of.
    Does anyone know how to request these additional information out of the rest api catalog?
    Thx in advance.

    The following method, unlike those above, will work. It requires you to know the MIME type of the binary file you wish to upload. This example uploads a PDF document.
    uploader.cfm
    <cfset restInitApplication(expandPath("."))>
    <cfhttp url="http://localhost:8500/rest/myRestApp/myService" method="post">
        <cfhttpparam file="C:\temp\testDoc.pdf" mimetype="application/pdf" name="myFile" type="file">
    </cfhttp>
    service.cfc
    <cfcomponent rest="true" restpath="/myService">
    <cffunction name="getFile" access="remote" httpMethod="POST" returntype="string">
    <cffile action="upload" accept="application/pdf" filefield="myFile" nameconflict="overwrite" destination="C:\Users\BKBK\Desktop\testFile.pdf">
    <cfreturn "File uploaded!">
    </cffunction>
    </cfcomponent>

Maybe you are looking for

  • Apple aluminum keyboard brightness keys

    Just bought a apple aluminum keyboard (wired, not wireless) and hooked it up to my Macbook Pro which has all the latest system updates. The Macbook is connected to a Samsung SyncMaster 213T. Everything seems to work fine except that the F1 and F2 key

  • Smart Form translation via SE63 not possible

    I want to translate Smart forms from English to French, but when doing so via SE63, I get a codepage error. We don't have language Fr installed in our system. Is this a prerequisite or is there another way to translate the smartform? many thanks

  • Disabling a cell or a row in a matrix

    1.is there a way to disable a cell in a matrix? 2.is there a way to disable a row in a matrix? 3.is there a fast way to disable all the controls on a form as a result of a checkbox change? rgds Hagai

  • Won't let me upgrade

    I'm trying to upgrade from Numbers '09 as I now can't open a spreadhseet created in a later version (bad, no compatibility...) so when I go to the App Store the app detects I have numbers and so doesn't give me an option to upgrade. I've been to the

  • What is best compression for DVCPRO HD 720 p60 960X720?

    Hello, I would like to make a DVD of a project that was captured in the above format (Sequence settings the same). Since I can't use a self-contained Quicktime to make a DVD in DVD Studio Pro (doesn't support HD formats), I need to make a standard de