Contents tagged with asp.net
-
Generate a Word document from list data
This came up on a discussion list lately, so I threw together some code to meet the need. In short, a colleague needed to take the results of an InfoPath form survey and give them to the user in Word format. The form data was already in a list item, so it was a simple matter of using the SharePoint API to get the list item, formatting the data appropriately, and using response headers to make the client machine treat the response as MS Word content.
-
FBA and the SSPPP (Shared Service Provider People Picker)
This week, I had to create a few profiles (by hand) for Forms Auth user accounts. Of course, in order to do this, you need to make sure the SSP's People Picker can recognize them. I dutifully added the provider info and the requisite connection string to the SSP web.config, spun it up, and... nothing. It had no idea who these users were.
-
Audiencing with Forms-Based Authentication (FBA)
This really is no different from when you create an audience with regular old NTLM (Windows Authentication). The difference is that while the AD provider is set up by default in all environments, the extra membership provider (that you use for Forms Authentication) isn't included anywhere except in the web application where you install it. To be able to find your FBA users in the audience creation tool, you'll need to add the extra membership provider(s) to the web.config for your SSP site in IIS. At that point, the People Picker should start recognizing your Forms Auth users, and you can create your audience as needed.
-
When SharePoint Designer has its own designs
Recently, a colleague came to me with a simple task and an inscrutable error. He just wanted to populate a text field with a querystring value. If you've ever done this in SPD, you know it's fairly simple: create a parameter, map it to a querystring value, and then use the resulting parameter name in your form field.
-
A Quick Primer on SharePoint Customization
This one goes out to all the people who have been asked to change the way a SharePoint site looks. Management wants to know how long it will take, and you can whip that out by tomorrow, right? If you don't have time to prepare a treatise on what's involved, or if you just want to lend some extra weight to your case by quoting a blogger who was an MVP for seven years, then dive right in; this post is for you.
-
GAC-blocked: Access denied for assembly _XXXX_
As with most of my blog discoveries, this one was born the hard way: on the ragged slopes of insanity, amid the dying cries of a thousand savage deadlines... much like the fabled Robot al'Thor.