Infopath 2010 field using External Data Connection of SharePoint BCS - sharepoint-2010

I created an Infopath 2010, which I am then publishing to SharePoint in a forms library. My first field is a BCS field, which is pulling from CRM.
I set-up my external data field, and when I type in a name it will run the check to confirm that it is from CRM. However, if I try to use the picker it throws the error:
An error occurred while obtaining business data by using the Picker
web service. Contact your system administrator.
I have been unable to find any information regarding this error, and any help would be appreciated.

Okay, the answer was staring me in the face, and I just didn't see it the whole time. (I'm almost embarrassed to admit it!)
I had told the form to connect to the external data source through SharePoint; however the form was actually opening in InfoPath, and not via SharePoint's built in browser form. As soon as I went into the advanced settings, and said to use the browser form, and not the client application the web picker worked perfectly.
Thank you for your assistance on this issue Andreas. It was greatly appreciated.

Related

SharePoint 2010 chart web part displaying web analytics

Have anybody used SP2010 out of the box chart web part to display web analytics data? e.g most viewed page etc. Or know if this is possible or a way around this? I can't seem to find anything that suggest that you can, would like to not use any third party tools.
Noop. I worked on a similar assignment where I extracted data from WebAnalyticsServiceApplication_ db.
I created SharePoint TimeJob which extracts data periodically and adds into a sharepoint List.
Later created Sharepoint application page with charts.js and Jquery to display charts based on the sharepoint list.
Note it is not advisable to directly access SharePoint Database. But my case was approved by my company.

How do I find a certain application on the user's PC and transfer data to it? (VB)

I'm developing an app on the Windows desktop so Win7 users have the app, but for Win8 users I'm also developing a Metro app.
My problems are,
if a user opens a file (e.g. "Blue.xyz"), I want an app to come up that asks which environment to open it in, but first it has to find all the apps that can open the file and display them.
Then I need to pass the data as a parameter to the app Chosen.
In the .NET framework 4.5.1, I can't find the System.GetEnvironmentVariable command so I can create a common location for both environments to access. These are my options:
Comment for clarification.
Regarding your 3rd question, the function is there, just now showing on MSDN page:
After having an inspiration, I found some code that can get pretty close to what I want.
Dim filepicker As New Windows.Storage.Pickers.FileOpenPicker
CommonFolder = Windows.Storage.Pickers.PickerLocationId.DocumentsLibrary
I should just be able to tack this on the end after that:
CommonFolder.Replace("\Documents","")
and it should give me "C:\Users\someuser" and then I can add "\MyAppStorage"
Thanks for all the help though! This code isn't very clean, so feel free to edit and make it better!

Getting useful error messages from CRM 2011 in Silverlight

Disclaimer: This is NOT a duplicate of this thread. First, in my case, there's no middle-tier service. Secondly, I'm working with SL 5 and CRM 2011.
I'm developing Silverlight applications to work with MS CRM 2011. These applications are part of a CRM Solution and are meant to be used in CRM Online.
This is important: I CANNOT write extra web services or modify web.config files which are part of CRM, as I cannot do these things with CRM Online.
Usually my applications just need the OData service, and there are no issues in these cases. But one application needs to use the SOAP organization service, and here the trouble starts.
Apart from some problems getting it to work (as I need to create OrganizationRequests from scratch), there's a big problem getting meaningful exception messages from that service. SL will happily always return 404, which isn't helpful at all to the user.
I've tried using
WebRequest.RegisterPrefix("http://", System.Net.Browser.WebRequestCreator.ClientHttp);
WebRequest.RegisterPrefix("https://", System.Net.Browser.WebRequestCreator.ClientHttp);
as described in this article but that turned out to cause problems in one situation with IFD and ADFS (even though this solution was otherwise perfect).
In case of an error I really need to be able to give the user some meaningful information ("Not found" is hardly ideal).
What should I do to get some useful error messages out of CRM?
EDIT:
Please note I'm talking about the Organization service, NOT the OData service! I've no problems getting some useful information to display for the user from the latter.
I want to point this out, because of this thread which, at first glance, seems to be perfect, but then it turns out (given the accepted answer) that it was for OData all along.
Try see this article from Microsoft, i never used and i don't know if it can be applied in CRM. It's a very interesting article, so take a look.
I ran into a similar problem / error when uploading a Silverlight 5 XAP to CRM 2011 Online.
In order to get useful message, open CRM in IE navigate to your Silverlight resource, hit F12 for the IE Debugger, and go to the Network tab ( see screenshot ).
Hope this helps!

outlook security in asp.net webpage

I used http://www.everythingaccess.com/tutorials.asp?ID=Outlook-Send-E-mail-Without-Security-Warning , to finish my first ms access vba app that sends multiple notifications via outlook, without security pop-up. Now I want to make a WEB BASED version of it. So, using asp.net & mysql instead of vba & access raises certain questions.
When I comes down to it, what would be the difference of using (will post link below) vs installing VSTO runtime to run the outlook module I allready used in my first link?
Would you consider the "add-in" a more robust, integrated, easy approach since it seems I'd otherwise need to put the module of my first link in each users outlook install or am I just completely mistaken or is it a combination of both, please explain...
Click below for
2nd link of first post , outlook addin

Execution cannot be found (rsExecutionNotFound)

I keep getting the errror "Execution 'APPLICATION ID' cannot be found (rsExecutionNotFound)" using SQL Server Reporting. It keeps happening for the same user, with the same application ID. While it happens for some other users it happens a lot for this one user. I have tried increasing the session timeout as menetioned here: http://blogs.msdn.com/jgalla/archive/2006/10/11/session-timeout-during-execution.aspx. The users don't say they are experiencing any problems, just us web developers can see them in the exception reporting.
Any thoughts?
We got around this issue with a client by clearing his web cache and deleting his cookies. Weird...
I just resolved this specific error for one user. This user could not run any reports using the report URL from her PC. She could run reports from other PCs though. I discovered that this user had not modified certain IE Internet\Scripting settings nor had this user downloaded the RSClientPrint ActiveX control. Not sure which of these was causing the problem, but when properly set and the user downloaded the RSClientPrint ActiveX control the error went away. Please note that my resolution might not work for you. I have a personal document with the needed settings but could not post them here. You will need to look in Books Online to obtain the internet settings necessary for running reports.
I have answered this in another thread
I hope this helps.