Monday, January 22, 2007
Sunday, January 21, 2007
- Lets fire up Access 2007 and create a new blank access database.
- Go to External data ribbon and we will choose ODBC to link this table to the SQL Server database.
- Choose link to data source by creating a linked table
- Choose a DSN for your data source or create a new one.
- Once you get the table into Access 2007, right click the table and Choose Export -> Sharepoint List
- Specify the address of sharepoint site and the name of the list you want to create and you are done :)
- Sharepoint will itself create the site columns and select the data types for these columns based on the data types specified in the table.
Posted by
Madhur
at
9:26 PM
4
comments
Task 'SharePoint' reported error (0x8000FFFF) : 'An error occurred either in
If anyone is facing similar error, try doing NET STOP SENS at the command prompt.This stops the System Event Notification Service.After stopping this service, all connections to offline calendars, document librariesstarted working fine.
Posted by
Madhur
at
11:16 AM
4
comments
Saturday, December 23, 2006
Opening Infopath forms in Browser directly from a link
Many people have faced the problem of not been able to open Infopath form in browser in
MOSS 2007 directly from a link to .xsn file other than Form library itself. If the user tries to open an
.xsn file from the form library which is configured to render the form in the browser, the user
gets a open/save dialog box instead of a form being rendered in browser.
This is because the links clicked inside a form library or document library behave differently
than the link to same target clicked on any other page. An Office compatible client like Word 2007,
Excel 2007, InfoPath 2007 is smart enough to detect that the link is opened from Document library and
when it detects
without showing
document will be saved
to that of normal Windows folder.
The solution to this problem is to have a link to URL (when the form is rendered in browser) rather
than having link
This solution is not suitable if you have a link coming in dynamically for ex. for each form in form library,
there is a link in
code which will incorporate the filename
Posted by
Madhur
at
8:39 AM
1 comments
Cannot find Data Connection Library in WSS v3
If you are wondering, when you go to create page in your sharepoint site and cannot see
Data Connection Library option there, most likely, you do not have MOSS 2007 installed.
Data Connection Library is a document library which lets you hold you data connections like
Office Data connection files which hold connection string pointing to your external data.
This feature is only available in MOSS 2007. If you are using WSS v3 only, you are out of luck J
If you have MOSS 2007 installed and still there is no option of creating Data Connection Library, you
are most probably using a team site template. Data connection library is not activated as a feature in team site.
So better solution would be to create site out of Publishing Portal or Collaboration Portal.
Posted by
Madhur
at
8:15 AM
1 comments
Wednesday, November 29, 2006
developed for MOSS 2007? I've found four solutions so far, but I'm pretty sure
there are more:
1. Use System.Web.HttpContext.Current.User.Identity.Name, like in any
ASP.Net web application
2. Use System.Security.Principal.WindowsIdentity.GetCurrent().Name
3. Have the Current User Filter send the current user to your web part,
and (of course) make your web part a consumer of that value.
SPUser currentUser = web.CurrentUser;
Posted by
Madhur
at
8:57 PM
0
comments
Monday, November 27, 2006
Posted by
Madhur
at
10:31 PM
0
comments