How to get the tridion broker content through a webservice call? - tridion

I need to access the dynamic broker content through a web service call for html5 based mobile website. we are on SDL 2011 version build:6.1.0.55920.
Is broker content already available as a web service?
Is there any configuration setup that needs to be done ?
Can anyone provide the guidelines needed.
Thanks in advance.

There is a Content Delivery OData web service that can be used to retrieve dynamic content from the Broker. To install it check the docs at the following locations:
.Net installation:
http://sdllivecontent.sdl.com/LiveContent/content/en-US/SDL_Tridion_2011_SPONE/task_3E3A2FB1B4E34C20934B5A841C2E0930 (login needed)
Java installation:
http://sdllivecontent.sdl.com/LiveContent/content/en-US/SDL_Tridion_2011_SPONE/task_DC046ED58691440E92ED1A8672851427 (login needed)
This information is also provided in the Installation Guide PDF.
For information regarding implementing the service check the docs at http://sdllivecontent.sdl.com/LiveContent/content/en-US/SDL_Tridion_2011_SPONE/concept_DFBA3FF3977045F892ABB4FCF8DA38B1

First you need to modify the cd_storage_confe.xml file for querying the broker database. This file is present in bin\config folder of website.
Enable this tag:
<SearchFilter Name="SearchFilter" Class="com.tridion.broker.components.meta.MsSqlSearchFilterHome" defaultStorageId="defaultdb"/>
After this, you can use the Broker query mechanism to fetch the content from broker database and display the data dynamically.
More help on SdlLive website (login required)

Related

Microsoft workdflow custom connector

I am trying to develop a simple customer connector for my website on microsoft flow and so far I can't see how to use a web API that is hosted on my website every article tutorial I am coming by require APIs to be hosted on Azure, also an Azure account is a prerequisite .. is it true Only azure APIs to be used for custom connectors ?
Azure is not a prerequisite for Custom Connector. I agree that most of the tutorials talk about connecting Azure hosted apps.
Microsoft flow currently supports creating custom connector with Swagger API output or postman exported data. I created a Postman collection with the API and gave the exported data as input to Microsoft flow for creating the connector.
Detailed Tutorial is available here
https://flow.microsoft.com/en-us/documentation/postman-collection/
I have the same issue, I have configured a custom connector for testing to go against this test / mock API
POST -> https://jsonplaceholder.typicode.com/posts
In the connector test it keep on hitting this URL:
https://msmanaged-na.azure-apim.net/apim/zoom.2dtest.2d002.5f43ed1d930148619c.5f4fd64f4beaca2b60/51136e9557bf4e128e0d7552ff624ebd/posts
I have never configure it to go there. No document explains how or why this would happen.

How to show content published from Tridion 2011 in separate .net application

We have a standalone .net application, this application is nothing to do with Tridion implementation. But due to some strange suggestion from client we need to store some content (html fragment) in Tridion and publish it to broker, once this content is available in broker database we want to fetch it and show in .net application. Basically this content will a small block under right column e.g. like Login block (with user name password text box and some captions)
Is there any way to do it, also do we need to put storage config in .net applications config directory?
We are using Tridion 2011 SP1
The easiest way is to spin up the Tridion Content Delivery Web Service, which is based on OData, point it to your Tridion Database, and then grab the content from there from your other website.
I've written this article some time ago about how to get the web service up and running, it is focused on Java, but the steps are pretty similar for .NET. There is a prepackaged .NET web service you can just deploy on IIS, which then only needs the configuration part (cd_storage_conf.xml).
BTW - There is a Tridion-specific StackExchange site: http://tridion.stackexchange.com

how to implement Converse.js An XMPP chat client for asp.net 4.0 web site

i just found one nice article about online chatting application with converse.js i read it's documentation and i like it. how ever i just have doubt it is there this chat facility can supported with asp.net 4.0 web site. Here i just want to know about in details is it supported with .net application.
here it's tells XMPP Chat server. Is there any additional cost for purchase it. After that how i setup this server for chat facility. here it's gives advice for identity i have to manually register user with it and i can use with my own web site.
Is there any one have idea how i implement this to my web site. Step By Step
Please help me..
Since you mentioned Asp.net so I am assuming you are talking about windows platform. I am using Openfire for XMPP messaging since last 5-6 years now and it is very easy to use and stable XMPP server. You can install it on your server and then configure Converse.js and XAMPP in conjunction with it to get web client chat feature. I referred this link to configure XAMPP along with Openfire: https://community.igniterealtime.org/docs/DOC-2954
Basic steps:
1. Install Openfire
2. Install XAMPP and configure as given in above link
3. Configure Converse.js in Asp.net application

View cache of ASP.NET process

I want to view the cache keys and sizes of a running ASP.NET process. Is there any tools available to do this? Or any pointers on how to build a tool?
We have written a webservice methods which are only for internal use to view and refresh cache. It can delete a specific cache key as well. We have hosted it along with the mail website. You can come up with this app by using asp.net caching api's.
Also you can go through Monitor your ASP.NET Cache API Behaviour

using a wsdl in ASP.net

I have downloaded a WSDL file from Internet and just want to know how to use the webservices out of the provided wsdl file using ASP.net version 2.0.
You can just add a web service reference. Back in Visual Studio 2005, this was in the context menu of the project and is called "Add Web Reference". In the dialog, just enter the location where you downloaded the WSDL file and a proxy will be generated for you.
When you use Add Service reference
The “Address” text box at the top can be used to type the URL to the Service Description, or “WSDL” file. Since the service is in the same solution as the project we’re trying to add it to, we can take advantage of the “Discover” dropdown at the right. Clicking the arrow shows “Services in this solution”:
Follow these links for detailed information:
How to Consume a Web Service
How to use WSDL file - asp.net forum thread
I think this is answered in this post: You can use WSDL.exe to generate a client, which you can access from code.

Resources