what is the best approach for assigning permission levels in SharePoint?
One recommendation is to use AD groups or SharePoint groups that contain AD groups rather than individuals to control access. It's much easier to clean up AD group membership when an individual leaves than to track down all the places where you've given them individual access (including membership in SharePoint groups).
How to deploy Office Shared Add-in
Suppose you have implemented shared add-in using VS 2008 for Office 2007 and now you have to create installation package.
| Reactions: |
unable to create specified activex control Office add-in error
Add-ins that directly implement ICustomTaskPaneConsumer expose one or more ActiveX controls that you must register. To use the test add-in for ICustomTaskPaneConsumer, you can either rebuild the add-in, which registers it, or simply register the add-in assembly that contains the managed ActiveX control. You must also be sure to rebuild or re-register the shim, so that the shim registration overrides the add-in registration.
| Reactions: |
_spbodyonloadfunctionnames is undefined Javascript Error in sharepoint
_spBodyOnLoadFunctionNames: Generally, ASP.NET 2.0 Master page concept is used for sharepoint pages and the “body ” is defined in master page. So, the content page is not able to add function to the body’s onload event directly. In order to work around this limitation, SharePoint provides the “_spBodyOnLoadFunctionNames” array. When the body is loaded, the onload event handler executes each function whose name is contained in this array. We added “myFunction” to the array so that it would run when the body’s onload event fires.
_spBodyOnLoadFunctionNames.push("myFunction ");
_spBodyOnLoadFunctionNames.push("myFunction ");
| Reactions: |
Get Custom Document Properties / Document Information Panel Values using C#
Object: To retrieve custom document properties of office documents using C#.
Generally, it is required to get or set custom document properties programmatically. For example, when document is checked out from sharepoint server then document information panel shows server properties. Our object is to modify the properties using C# in word. But problem is document type. Before office 2007, the document is binary file and in Office 2007, it is compressed XML file. Here is the sample code to do this. In the code, all the properties name are passed as hashtable keys.
Generally, it is required to get or set custom document properties programmatically. For example, when document is checked out from sharepoint server then document information panel shows server properties. Our object is to modify the properties using C# in word. But problem is document type. Before office 2007, the document is binary file and in Office 2007, it is compressed XML file. Here is the sample code to do this. In the code, all the properties name are passed as hashtable keys.
| Reactions: |
Managing custom task panes across multiple documents in shared add in for office 2007 using .NET
I see a lot of articles on this topic but all are related to VSTO. But I required this for shared addin. I followed MSDN to create custom task pane using shared addin. It works fine but when multiple documents are opened then it appears only for the first document. I have implemented to show document wise custom task pane.
| Reactions: |
Database Installation using VS setup
Here are the steps to install sql server database with setup using custom action.
Step 1: create a text file that contains a SQL statement to create a database, Tables, functions and stored procedures
1. In Solution Explorer, select the project. On the Project menu, choose Add New Item.
2. In the Add New Item dialog box, choose Text File. In the Name box, type sql.txt (must be in lower case).
3. Add the following to the sql.txt file:
Step 1: create a text file that contains a SQL statement to create a database, Tables, functions and stored procedures
1. In Solution Explorer, select the project. On the Project menu, choose Add New Item.
2. In the Add New Item dialog box, choose Text File. In the Name box, type sql.txt (must be in lower case).
3. Add the following to the sql.txt file:
| Reactions: |
Twitter
Facebook
FriendFeed
Technorati


