Access UCM Content from backend - oracle

Is there any way to get and process the UCM content from a Java class? What I need is to sort a content list based on the metadata field. I can get it from a .jsff page. But I need to iterate dt:contentListTemplateDef with that sorted list. Any information will be very helpful.

Have you looked into RIDC? The Remote IDC is available for both 10g and 11G UCM. It allows you to call upon (almost) every service available in UCM from within your custom java application, including searching, sorting, ...
See here for the 11g documentation.

It is also possible to return any query as an RSS feed, JSON or XML.

Related

How to get Infromation Link query from Spotfire Library Database

I am new to Tibco Spotfire and I am working on a query to retrieve the query used by/generated by Spotfire while designing an information link.
I have access to the Library DB which saves the metadata of all the items/elements used in dashboards and stuff like that. I have been able to locate the information link items in the DB but I can't find the actual query that is used by the information link.
I need a solution that can be implemented from the DB, UI solutions are already in use and I am looking to automate that manual process of going to each info-link and clicking the "SQL" button in the Information Designer tool
so far I have come across [this link] (https://support.tibco.com/s/article/How-to-find-the-manually-modified-SQL-query-used-by-a-particular-Information-Link) on Tibco's community forum but it doesn't show the autogenerated queries (only the manually modified queries).
Any and all help on this will be much appreciated
Thanks
This should be in the SQL logs on the server. Attempt to open the info link. Then, log into the server. Go to the folder where your spotfire installation is and find a folder that looks like this...
\Tibco\tss\10.3.6\tomcat\logs
...and you want the SQL.txt file. Search for your user name.

Adding a sample Form in Kibana

I would like to create a sample Form in Kibana (version 6.3) to add data to elasticsearch. Is there an example or link which I can follow it to create my UI in first step and loading data to elasticsearch in second step?
Thanks for advance ^^
Kibana itself is not meant for data manipulation - it is a discoverability and visualisation tool. You can edit saved search objects, but even Kibana itself discourages it. The following is a copy/paste from the Search Objects interface:
Typically objects are only modified via their associated application, which is probably what you should use instead of this screen
My suggestion would be to create a simple web app using something like Flask or Padrino, depending on which language you are most comfortable with. For example, this is how to build a form in Flask. You can use the elasticsearch Python module to record data in the index.
After a lot of researchs, I found this two links 1 & 2 (the best documentation I found) to create a plugin with Forms and interaction with Elasticsearch.
Thanks :)

Oracle UCM - Storing and retrieving document under custom directory

I am new to Oracle WebCenter Content (Formerly known as Oracle UCM).
I am looking from the integration of UCM to third party application perspective only to retrieve and store the document. I have went through the details about WSDL Generator and also collected the set of SOAP API require to perform check-in and other operations.
We are not going to use UCM directly to store and retrieve the document rather from third party application to store and retrieve the documents (PDF). I have following basic set of questions:
Does UCM store my documents under Weblayout directory?
How would I store documents under specific directory using Check-in SOAP API? (I.e. If I want to store document under "IT Department" Directory.) Which field I can use to mention the location in wsdl?
When I search the document, does it return or can I get the location of the document in search result?
OOTB, UCM stores your original doc in the Native directory and a copy in weblayout - converted to web viewable format if you have IBR enabled. Use a storage rule based on the storage rule metadata field to determine where to store docs based on metadata. See more info here.
When executing a search, you should receive back a field DocUrl which contains the URL to the content item. However, this URL can break if certain metadata changes (such as dSecurityGroup or dDocType).
A better idea is to use GET_FILE and either the dID or the dDocName (and RevisionSelectionMethod).
Additional reading on the FileStoreProvider and how URLs are calculated can be found here.

Dynamics CRM Managed Solution Add Customer Set Parameters

I'm creating a solution which will be released as a managed solution for Dynamics CRM Online.
However, the customer will need to put information in when installing the managed solution to allow interaction with outside services.
For example, when you install the LinkedIn solution, you need to add your log in information to allow the CRM to access your LinkedIn account.
How do I add these parameters to the a solution, and then allow the customer to update them if they change?
Cheers
Edit:
To add to my query and following the answer below.
To make sure the process is correct in my head.
Option 1.
I will create a custom entity for storing key/value, or username/password combination.
I would then create a customisation page for the solution using html web resource, which when submitted, javascript would create a single record to hold those values.
I then need to link every record that needs the values stored in the custom record - I'm not sure how this would be done without editing a workflow after the storage record has been created, to link each normal record to the storage one.
Option 2.
Create an xml web resource that stores the values. Create the html/javascript resources to update this using the configuration page.
I can then use a javascript function to obtain that data when the custom entity is created, perhaps to populate hidden fields for storage and use behind the scenes.
I can't find any tutorials on getting started with using xml in this way - can you point me in the right direction?
I typically create a "Configuration" entity that has Name/Value attributes. This is also useful when you have Dev/Test/Prod environments that require different configs (e.g. URLs, credentials, etc).
Another approach is to using Plug-in configurations or Web Resources to store that type of information. The Plug-in configuration is pretty straightforward if you can have the customer use the Plug-in Registration tool to modify the value.

Can Oracle UCM Web Form store/retrieve data directly into/from database

I have found several articles mentioning that using "UCM Web Forms" you can easily provide and interface for contributor to enter data in a specific format(split into specific fields).
In my case the data for some of the fields(e.g. drop-downs) have to be taken out from a database. And when the form is submitted it will be nice if the data is stored in the DB too, so is this possible with these web forms.
Also it will be great if someone can provide a link to a demo/tutorial/working example of using UCM Web Forms.
http://blogs.oracle.com/kyle/entry/adding_ucm_web_forms_to_site_s
Gives an explanation and example.
Hopefully this helps whoever stumbles on this question.
Oracle UCM provides a mechanism to check in documents but no to manipulate directly database entries. You have to write your own code to manipulate the form/data or use a Java framework for this.

Resources