I am new to Cisco IP Phone Services (IPPS) and I am still trying to understand the concept behind it.
I am a application developer, so I have much experience in web development either.
I have been looking at the Singlewire documentation from here:
http://www.singlewire.com/free-xml-apps.html
Here is my understanding so far:
The phone menus are in XML form, and when user select a menu, it is directed to another XML depending on the user input.
For example,
The XML page for the StockQuote is:
<CiscoIPPhoneInput>
<InputItem>
<DefaultValue/>
<DisplayName>Ticker Symbol</DisplayName>
<InputFlags>A</InputFlags>
<QueryStringParam>sym</QueryStringParam>
</InputItem>
<Prompt>Enter the ticker symbol</Prompt>
<Title>Stock Quote</Title>
<URL>http://www.singlewire.com/cgi-bin/stockquote.pl</URL>
</CiscoIPPhoneInput>
If the user input is CSCO, then it somehow generate the following page with XML in it: www.singlewire.com/cgi-bin/stockquote.pl?sym=csco
My questions:
1. After the user entered CSCO, how does the service know to go to the link www.singlewire.com/cgi-bin/stockquote.pl?sym=csco?
2. I am thinking stockquote.pl is a perl program that generates XML code base on the parameters "?sym=csco". I will be programming in .NET with Visual Studio. How can I create a stockquote.asp that dynamically create XML by looking at its parameters?
Thank you,
Lex
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.
All,
Sorry in advance - I'm a total novice when it comes to ASP.net.
I'm working on a project that's fairly simple. I have single HTML page that collects input from the user. When the input is complete - the html page uses AJAX to post the data to a web service. That service receives the data, does some processing on it, then sends back a response.
The "client" part of this app is pure HTML/Javascript (not ASP.net), and is complete and works perfectly.
The "service" part of this app (MyHandler.ashx) is built using ASP.net. Technically - what it does is receive data from the AJAX post. It then uses Microsoft.Office.Interop.Excel to open an Excel spreadsheet, pass the users' inputs into that spreadsheet, then retrieve several calculated values from the spreadsheet, and returns those values in the response to the AJAX post.
Using Visual Studio VS I've got this whole process running locally on my PC.
When I "publish" the project - VS creates a ton of files. I sent those files to the team that manages the server; they deployed them, and voilĂ - it works. (The necessary Office interop libraries are installed on the server).
So - my question - as I make a few modest changes (e.g., validation, error handling) to the handler - MyHandler.ashx - which of those published files actually change? If i want to reploy - do I simply need to resend an updated version of MyHandler.ashx? Or, do simple coding changes to that file require changes to the DLL?
I guess my question is, generally - what's in the DLL? (E.g., is it a compiled version of MyHandler.ashx?)
More specifically - publishing my project creates the following files that I don't really understand:
Web.config
Global.asax (in my project, there's not much in here)
bin/MyProject.dll
So, if I make changes to MyHandler.ashx - can I simply reploy THAT file? Or, do I need to "publish", then "redeploy" thd dll? (By changes - I mean simple code changes, not decisions to include/exclude other external dependencies).
Sorry - this question must seem like nonsense to knowledgeable ASP.net developers. But, with other technologies I've used, things were clear:
If you're developing a Flash project, you write source code in .FLA files, then compile, then deploy the resulting .SWF files.
If you're developing an HTML/JavaScript/PHP project, you write those files, then deploy those same files
I'd trying to get a better understanding of what's what with ASP.net.
Thanks again.
The DLL contains the compiled code behind the ASHX file. The ASHX is just a service definition for an HTTP handler. When you make changes to the service (e.g. the code), simply issue another Publish like you did before and send the entire package.
But in short, when you change the code, the DLL is what's changing.
We have a requirement that on a page publish, we need to:
Find a component presentation that has a component based upon a particular schema.
Extract certain field vales from that component and store them in a custom database table that's available to our .NET application (on the Content Delivery side).
I think this is a good candidate for either a Deployer extension or a Storage extension - but I'm a little unclear which and why having never written either?
I've ruled out the Event System as this kind of code would be located on the CM, which seems like the wrong "side" to me - my focus is on extending what happens on the CD-side after a page is published.
Read a few articles on Tridion World (this, this, this and this) and I think a storage extension would be the better choice?
Mihai's article seems to be very close to what we need, where he uses a new item type mapping:
<ItemTypes defaultStorageId="brokerdb" cached="true">
<Item typeMapping="PublishAction" cached="false" storageId="searchdb" /></ItemTypes>
But how does Tridion "know" to use this new item type when content is published, (its not one of the defined TYPE_NAMEs, which is kind of the point)?
I should clarify I'm a .NET/C# dev not a Java dev so this is probably really obvious to Java people - apologies if it is!
Cheers
Tridion will not know by default how to deploy your new entity. My advise is to create a Deployer Module (your links should give you enough information about how you can do that) that executes in post-processing phase (of the deployment process), that processes all components from the deployment/transport package, extracts the needed information and uses a custom Storage Extension to store the needed information.
Be careful: you need to set-up in config your new type but you also need to use it yourself from that Deployer Module.
Hope this helps.
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 want to develop a webapp using ASP.NET but it have to use some client-side functionality provided by desktop application also developed by me.
Existing example: in Picasa Web Album you can click a link called "Download to Picasa" which opens Picasa desktop application and downloads album.
I suppose it require different approaches on different platforms. What are the possibilities to make it work on both Windows and Mac OS X?
Register a custom URL Protocol Handler. Look here: https://stackoverflow.com/a/2429803/449906
I don't know Picasa in detail, but your case sounds like, you start a download by clicking the link "download to picasa". This download will start a link like this:
picasa:///downloadfeed/?uname=ASDFASDFASDF .....
According to your OS any protocol may be associated with a different external program. For information on this you may have a look at the mozilla board .
REGEDIT4
[HKEY_CLASSES_ROOT\foo]
#="URL:foo Protocol"
"URL Protocol"=""
[HKEY_CLASSES_ROOT\foo\shell]
[HKEY_CLASSES_ROOT\foo\shell\open]
[HKEY_CLASSES_ROOT\foo\shell\open\command]
#="\"C:\\Program Files\\Application\\program.exe\" \"%1\""
If you start such a link, your external programm will start and do what ever you want.
hth