I'd like to get a specific node/content type and display the HTML remotly in another application.
Is this something that D7 supports or has an API module for ?
You can try using Drupal Services Module. Create a webservice and transfer data via web service and consume it at other application end, and display as you want.
https://www.drupal.org/project/services
Related
Yes Please note that I am very new to Salesforce , so please understand if I am not clear or not specific at anything.
I am new at Salesforce, and I need to make an App in ASP.NET which help clients/users to add hours/some field details at salesforce.
So what I need is, I need to make an web Application which will get details from Salesforce ( the details it self are custom object which I am explaining ahead) and do some calculations at my web App a& return back the result & display it at Salesforce.
So in summary :
1) Which way we can integrate .NET Web App at Salesforce
2) How we can make custom fields/page required which will be going to use at Web App & display at Salesforce page.
3) How we can make a custom UI & fields at Salesforce ?
4) How this field can be fetch/expose on submit at Web App?
** 5) Which API to use ? ( My case is we are planning that we will provide a way at Salesforce that a user can insert total hours, todays hours invested , remaining hours...based on these we can bill them. so for all of these calculations can be managed with which API ?)
6) Also how can I display the results & other things at Salesforce, I mean can I design page , if yes then which options I have to design page other then Apex??
.... there are many more things I need to take care of & need to know . but as I am new at Salesforce so please guide me Tech Experts.
Thanks in advance.
This is a rather broad question, so I will give you the high-level steps of what needs to be done:
1) Create a Custom Object using Build; Create; Objects menu.
2) Save your enterprise WSDL under Build; Develop; API menu. Typically you open the wsdl in a browser and save the web page as something.wsdl
3) In .NET create a web service reference using the enterprise WSDL you saved in a local file
4) You can write and read from to the custom object (or any Salesforce object) using the SF API. To do so, you will need to write SOQL.
Once you have step 1,2,3 done, then you should look at the SF documentation on binding to the API and how to run insert and update statements in SOQL. It is too much info for a SO question.
Is it possible to modify/customize the Component "Info" tab details according to user. Please see the details below:
Now in above image, I want to show full path of Image like (d:\images\Chrysanthemum.jpg) "Original File:" as it was coming Tridion 2009.
Is it possible?
Unfortunately these are ReadOnly fields set by the system.
If the item was uploaded using the SDL Tridion UI, this should contain the full path of the original image (I am surprised to see only the filename without the path), however it won't tell you from which editor's machine the path was on, so it is of very little use.
What are you trying to achieve and why? Perhaps someone can suggest a different approach.
Showing extra image information, such as size and dimensions, is a great idea and a good candidate for a gui extension.
Your solution has 4 parts:
Backend, talking with the Tridion API using Core Service to get the MM Image and perform size and dimension calculations. (maybe the dimensions could be calculated in javascript?). In the Core Service write some C# code to get the image from Tridion and calculate image size.
Expose the backend call via a Web Service. I like to use ServiceStack.Net and create a very simple, thin web service on top of the C# code. If you create an asp.net web app and host the ServiceStack web service there then make sure to deploy it to a 'Web App' or Virtual Directory under the Tridion 2011 IIS site. This will help with any Post actions since it will use the same port # and not be considered cross-domain. Pluralsight has a great training video on Servicestack. Also, you can use Rest Console in the Chrome browser to test the web service.
Call web service from an HTML page with jQuery. Create a small web form, serialize it with jQuery, and call the ServiceStack web service. The jQuery response will be a JSON object with image info.
Create an ASCX control, configure Tridion to use it as a Tab extension. Copy/paste your working HTML / jQuery into the tab.
All done!
I'm fairly new to Flex\AS3
I'm using flash builder 4.5 for php and I'm trying to connect to my DB via remote objects.
I'm following adobes instructions as listed here:
http://help.adobe.com/en_US/flex/accessingdata/WSbde04e3d3e6474c4-668f02f4120d422cf08-7ffe.html#WSbde04e3d3e6474c4-668f02f4120d422cf08-7ffa
I've created the php service, and successfully finished the wizard.
I've tested my service with the Test tool and it is indeed returning my results.
My problem is that it seems that flash builder didn't create the service's files(super+base) at all. For example, when I drag the service into a dropdown component I get an error saying that the service component can't be found.
Does anyone know this issue happens? how can the test tool work if the service classes don't exist?
Thanks in advance,
Ravid
The problem was that I didn't checkout the files before using the wizard so flash builder didn't have write permissions on the files and therefore didn't create the necessary files.
once he had the write permissions - everything worked just fine
My issue this time around is trying to use the new DCD BlazeDS wizard in Flash Builder 4. If I set my project up as a combined Java/Flex app I am unable to connect to the RDS servlet using the wizard. I get a 404 error every time.
I'm certain the service is set up correctly since my app can access the exposed java classes and BlazeMonster can see the exposed services.
Is anyone else having this issue and if so has anyone found a work-around? I'd very much like to use the code generation features of the wizard for my project.
Thanks as always,
Codeflayer
You also need to make sure you have the RDSDispatchServlet setup in the web.xml config file.
We have some Modules which have their own remote objects configured in remoting-config.xml. Each is packaged and deployed as separate web archives (WAR). For ex. Module1.war, Module2.war.
We are trying to integrate them in a flex application which is deployed in a separate web app. For ex. MainApp.war.
The remote objects work fine when invoked from within Module1.war and Module2.war. But the java remote objects are not getting invoked when called from the main flex application MainApp.war.
I have looked at Flex Developers guide and flexcoders Yahoo group.
How are you configuring your remote objects? Are you passing the path to services-config.xml in the "-services" compiler flag? If you are, I would avoid doing this, since it doesn't give you much flexibility in the location of your services endpoints.
Christophe Coenraets has a great article on best practices for configuring RemoteObject and other data access classes in Flex. The general idea is to externalize the URLs into an XML configuration file, load that with an HTTPService when the application starts up, then use the URLs to configure your Channel/ChannelSet which are binded into the RemoteObject. Full article is here:
http://coenraets.org/blog/2009/03/externalizing-service-configuration-using-blazeds-and-lcds/