Sunday, November 18, 2012

Trouble-shooting file not found error after export / import of a webpart

I learned something new about exporting and importing a webpart in Sharepoint 2010. Here's the scenario: I exported a form webpart from Sharepoint Designer. Once I imported it to my page, the page would throw this error of "file not found".
When I looked at the logs, it basically said, "there is no Web named http://...."
That lead me to open the exported webpart with NotePad ++ and there I found 5 references to a site path which included the domain name.

I whacked the domain name, leaving only the relative path, saved and imported the webpart again.

That resolved the error.

Read More

Saturday, September 22, 2012

Finding the key to understanding Sharepoint

I liked this video as it attempts to enlighten us on the key to understanding SharePoint. I must say, when I attend conferences, there is actually starting to be a line in the Women's bathroom. So I don't know for how long Mark Rackley can get away with a talk like this, but there truth to his presentation with regards to understanding SharePoint.

Read More

Thursday, September 20, 2012

Demo of InfoPath 2010

Attending a Bootcamp immersion class and learning some very good things.  Today's topic was InfoPath and I was impressed with the power of this tool.  It seemed familiar to me as it reminded me of both designing with Dreamweaver and Ms Access forms.

I created a couple of videos using Jing to highlight what we learned today.

Part One details Replacing the Sharepoint New Form with an InfoPath Form  (5 minutes)

Part Two details Using the Infopath Webpart on a Sharepoint 2 column page (5 minutes)

While I could only scratch the surface in this class, I want to learn more about InfoPath.  Did you know you could do the following with InfoPath?
  • apply themes to the form
  • create controls such as buttons, combo boxes, date pickers, and dynamic text in calculated values
  • add in rules to offer a complex form by hiding fields based on form choices, making some field optional, etc
  • display the form in a webpart on your webpage
All pretty simple and quick.
Read More

Friday, February 17, 2012

Using Access Services with a Sharepoint Website

I did some experimenting with Access Services and Sharepoint (both Office 2010 versions).  What I discovered was just how easy it was to publish an existing Microsoft database, complete with a form and macro events.

I started a blank database and created a very basic table called Products and based a form upon that table.  I set the Display Form and Web Display Form to that new form, ProductsForm



Happy with my form, I followed these steps:
  1. on the file tab, click Publish to Assess Services
  2.  I entered a URL to my site as the server URL and gave entered the Site Name as OrdersManagement.
  3. When I clicked Publish, the new site was created and the database was published.
  4. I went to the url /Mysite/OrdersManagement and there was my form. 
  5. I entered a record and clicked Save Record.  A message was displayed
  6. Returning to my database, I see the record is now in my table
That’s pretty cool.  But our database forms offer a lot of functionality, so I wondered if adding events to my form would translate up to the SharePoint site.  My next experiment involved adding a button on the form and attaching a message box declaring “demo successful!” to the OnClick event.


Before the Sharepoint site can reflect my changes, I need to sync the service.  Do that by clicking the Sync button under the File menu of Access



Returning to mySite/OrdersManagement, I enter a record and click the button.  There’s my message proving this event translates up to the Website. 


 
Encouraged, I go on to add a delete button and attach the delete record command to the onClick event.   Sure enough, this works and as a bonus, Microsoft adds the logic to confirm if a deletion is really desired. 




Read More
Designed ByBlogger Templates