Microsoft Dynamics CRM Online (2013) - Get number of tickets via API - microsoft-dynamics

I use Dynamics CRM Online (2013) to manage daily incident tickets, daily requests and change requests. I'd like to use their API and pull this information into a custom application to display them on a dashboard.
Basically what I want to do is to be able to grab the number of open tickets using my application. Then it'll publish this information to elsewhere. It's a Java application running on a Windows server.
Can you please point me in the correct direction?

MSDN lists a walkthrough (click here to see it) (it's related to CRM Online 2011, but since most of the info is still accurate I'd say it's worth a try) aimed exactly at connecting to CRM Online fom Java.
The prerequisites listed are
Java SE SDK 1.6 update 23 or later
Eclipse 3.7.x and above or NetBeans 6.9x or later
Apache Axis 2 ver. 1.6.1
Apache HTTP Components Client 4.1.3
Microsoft Dynamics CRM Online
You're going to have to generate the classes (in .NET you use crmsvcutil.exe, it's roughly equivalent) and then you should be all set.

Related

Is Sitecore Connect customizable?

I am sitting with a project where I need to do a 2-way synchronize between Sitecore 8.2 and Microsoft Dynamics 365. From what I have been able to find, I see that version 1.4.1 can connect the following out of the box.
-Campaigns
-Contacts
-Marketing lists
I need to synchronize far more than that, and I am curious about whether or not Sitecore Connect is customizable to synchronize with everything there is in Dynamics 365. I have read all the documentation I could find, without finding an answer.
There is also the option of upgrading to sitecore 9, and using Dynamics CRM Connect 2.x. But again, I can't find much documentation about the possibilities of 2.x
Is Sitecore Connect 1.4.x/2.x customizable to a point where you can synchronize everything?
Yes, you can customize what data is being sent back and forth. Some example mappings are shown in the documentation for 2.0.1: http://integrationsdn.sitecore.net/DynamicsCrmConnect/v2.0.1/adding-custom-data/dynamics-to-sitecore/custom-contact-facets/index.html
For v1.4.1, you can check the documentation for additional CRM entities: http://integrationsdn.sitecore.net/DynamicsCrmConnect/v1.4.1/cookbooks/supporting-additional-crm-entities/index.html
Ultimately, this is all based on the Data Exchange Framework which is a fully customizable connection framework.

Forum module for Sitecore 7.*

I'm building a website which requires forum integration to a Sitecore build - I've checked on the Sitecore website and they suggest YetAnotherForum and Telligent Community Integration Module. Both of these modules tho only support up till 6.4.1 and 6.4 respectively - I'm using Sitecore 7.0.
Logged a ticket with Sitecore and they came back with the following:
We have no information about Forum modules that are compatible with Sitecore 7.1. I would recommend you to contact your regional office and check whether they could advise you something.
Any suggestions?
First of all Telligent supports Sitecore 7.
Reference link
I have been working with Sitecore and Telligent Community integration from quite time and from my experience i have this opinion.
For deep integration it is quite a lot of work and requires much knowledge of both the product and costs will be high for licensing & deployment. But i can assure you that Telligent will work in Sitecore newer version also. However with higher costs you will get more rich functionality, Facebook like Activity Stream, and Apart from Forums it also has Blogs, Wikis, Media Gallery.
Telligent supports two kind of integrations:
1. Side by Side Integration - In this Sitecore and Telligent both will be user facing.
2. Integration mode - In this user will be mostly in Sitecore.
Reference link
If you are Sitecore Partner you will get trial license of Telligent. For details check 'Social Starter Kit' on Sitecore SDN site. Also there is video on YouTube regarding Sitecore & Telligent Integration in Sitecore Virtual User Group community.
I have no experience on YAF module so can't suggest on that.
Did you try to install YAF integration module, https://marketplace.sitecore.net/en/Modules/YAF_integration.aspx, i think it would run on Sitecore 7, since this module mainly integrate YAF with Sitecore security, i don't see why it should not run on Sitecore 7.
The Telligent product was renamed, I suggest you take a look at http://www.zimbra.com/products/zimbra-community/sitecore-starter.html and contact them. I'm unaware of what version they're targeted at right now.

With Sharepoint 2007, how to update a datasheet from a program?

I writing a tool to automatically update a datasheet on a sharepoint 2007 site. The tool runs on JVM, and seems like 2007 has no REST service support, so can anyone point me to some good resource of using webservice to update datasheet object on sharepoint?
Thanks,
The DataSheet is just a UI view in front of a SharePoint list, therefore you should be looking to update the List, not the DataSheet UI.
This will give you a start, its written for C# but can be ported to Java.
http://msdn.microsoft.com/en-us/library/ms440289(v=office.12).aspx
This programming task shows how to use
the UpdateListItems method of the
Lists Web service to update items in a
list through a Microsoft Windows
application.
For Java specific example see - http://davidsit.wordpress.com/2010/02/15/creating-sharepoint-list-items-with-java-tutorial/

Is there any documentation on TFS Web Services?

I am looking for any information on the Microsoft TFS Web Services. First I know accessing the Microsoft TFS Web Services directly is not supported and Microsoft provides no documentation for doing this. Therefore I am not expecting any Microsoft support or assistance here.
I know all about the .Net API available for TFS which only works on Microsoft Operating Systems. I have used these many times on Windows, however I need to do non-Windows work to access TFS, I cannot use .Net and I cannot use a Proxy (or "shim") to be installed on a Windows computer to provide Web Services for the .Net API.
I know Teamprise reversed engineered the web services and they successfully used this knowledge to make a very good cross platform Team Explorer and command line implementation in Java to access TFS. So good in fact they were purchased by Microsoft and the product rebranded and rereleased as Microsoft Visual Studio Team Explorer Everywhere.
I have also tested the .Net API against Mono on several non-windows platforms and they are not compatible. The initial NTLMv2 authentication is using calls not supported by Mono. They appear to be, understandably, making Win32 specific calls for NTLMv2 support.
Therefore before I go to the trouble of reverse engineering them for myself, and dealing with NTLMv2 to do it. I am hoping that there is some hidden or buried information on the web that someone may have documented some portion of the web services for TFS from 2005, 2008 and/or 2010.
Please no comments or posts about how this is not recommended or supported by Microsoft, that I should find a way to use the .Net API, or suggesting the Proxy/Shim is the best solution. I am fully aware of the Microsoft's official stance on this, and what the supported workarounds would be.
I'm not aware of any documentation for the TFS web services, but I can share some tips on calling them.
The NTLM authentication you mention is really a separate layer: you must authenticate to IIS before it lets you call TFS web services. I'm not aware of any Open Source software that will do NTLM auth for you, but TFS 2010 makes it easy to enable "Negotiate" authentication (SPNEGO on Wikipedia, Authentication by using Kerberos Ticket on MSDN). Negotiate supports both NTLM and Kerberos subsystems, and there may be some existing software you can use to drive it using the system's Kerberos libraries (I think curl does it). If you had to build it yourself, it would probably be easier to go the Negotiate-with-Kerberos route.
Once you're authenticated, you can start calling services. Start by pulling down the WSDL for each service (stick a "?wsdl" suffix on each endpoint URI). Hop over to where TFS is installed and explore the web application directory for endpoints. There are several versions of some endpoints for back compat with TFS 2005 and 2008, but usually new versions are not redundant (they add new stuff). You might have a favorite SOAP client library already (there are many for Java), but I can't really recommend any because we wrote our own at Teamprise.
Services like version control, build, and common structure are easy to discover via WSDL. Most the operations have obvious names, but the complex type fields are often super-abbreviated. The best way to figure which methods to call when is to watch the VS TFS client or TEE with Fiddler or Wireshark or some other HTTP inspection program. TFS VC does do things like file uploads/downloads outside the web services (watch a network trace to see the multi-part MIME upload process and be sure you're sending the right values if you implement this).
A note of caution on the work item tracking web service: this one is going to be extremely hard to master. The WIT design involves the client pre-querying the server for large amounts of schema-less metadata, which is saved on the client (but refreshed incrementally as more web service calls are made). This metadata drives all the client side behavior about work items (what fields are in a work item type, the type of a field, which values are allowed in fields, the rules that run when they change, etc.) and it will take a long time and serious study to build the client behavior to bring a work item to life. Once you have a work item, sending it to the server for update via web services is easy.
It's a lot of work, but it's possible to do incrementally, for example, if you only need some VC features. The TEE team is working on making access from other platforms easier. Please contact Martin Woodward (martin.woodward#microsoft.com) if you have any questions or suggestions in this area.
There is a Java version of the TFS SDK that will run on Linux, Mac, and Windows. It is the SDK that Teamprise uses.
http://blogs.msdn.com/b/bharry/archive/2011/05/16/announcing-a-java-sdk-for-tfs.aspx
Coding directly against the TFS webservices is not supported (even though people have done it). MSFT could break the interface without letting you know in a service pack or other hotfix. Sometimes there aren't other options, but if the Java SDK works for you, I'd try to use that first.
There is good documentation now: https://www.visualstudio.com/integrate/get-started/rest/basics

Glassfish, railo and coldbox - messed up links?

I am new to ColdFusion and ColdBox (and programming). I tried to setup ColdBox but some of the links in the sample applications are broken.
My configuration is a GlassFish v3 installation with the current Railo OSS. I access my site through Apache 2.2.14.
So instead of http://127.0.0.1:8080/railo/ I access my environment trough http://railo/.
In Railo I have a webroot mapping / to C:/webapps/myproject/.
I have copied the current ColdBox 3M4 to C:/webapps/myproject/coldbox. I can access the dashboard through http://railo/coldbox/dashboard/index.cfm and have access to all options.
My problems start the moment I try to open the sample gallery:
HTTP Status 500 -
type Exception report
message
description The server encountered an internal error () that prevented
it from fulfilling this request.
exception
java.io.FileNotFoundException: C:\webapps\viss-dev\coldbox\samples
(Zugriff verweigert)
note The full stack traces of the exception and its root causes are
available in the GlassFish v3 logs.
GlassFish v3
OK, no problem, just enter the link directly: http://railo/coldbox/samples/index.cfm.
The site looks plain, who cares - BUT all local links look like this: http://127.0.0.1:8080/coldbox/samples/applications/helloworld/index.cfm (railo is replaced with 127.0.0.1:8080).
Looks like trouble. To make my confusion perfect: when I try to access the login app: http://railo/coldbox/samples/applications/sampleloginapp/index.cfm and hit the submit button, I am redirected to this address: http://railo/railo/coldbox/samples/applications/sampleloginapp/index.cfm.
I believe that this is not really ColdBox-related, but it manifests itself when I try to use ColdBox, so here I am.
P.S.: amazon.de takes too long to ship the ColdBox book :(
Here's a suggestion, The good people at Vivotech have developed a couple of different installers for both Windows/IIS7 and various flavours of Linux for both Railo and Open BlueDragon. The setup installs Tomcat, Railo/Open Blue Dragon and the necessary connectors to the web server. Here's the link: http://www.viviotech.net/company/installers.cfm
I think you'll find using the installers to be a lot easier than working through it yourself. If you want to go that route, Adobe and various bloggers have instructions on how to do it. Matt Woodward has a very good blog posting on it: see MattWoodward.com, He also has a presentation on this, you can see it here.
hth,
larry
Since you are new to ColdFusion (and programming in general), I would recommend developing against Adobe ColdFusion. The Developer Edition of ColdFusion is free and available from Adobe.com. You won't need to mess around or configure GlassFish since Adobe ColdFusion comes with a baked-in pre-configured Tomcat, providing both servlet engine and web server.
Just install the 'Stand-alone' version of ColdFusion Developer Edition, copy the ColdBox files into the webroot and in less than 15 minutes you be up and running.
You should also check out ColdFusion Builder which is currently available in beta from http://labs.adobe.com. It has full language support and integrated help content for learning the ins-outs of the language.
As far as the ColdBox book goes, it's available as an eBook if you really can't wait. ;-)
DISCLAIMER: I spend about 50% of my waking life devoted to making ColdFusion better as the CF Product Manager at Adobe. :-)
i have given up on glassfish and i am now struggling with tomcat :D