Sunday, June 17, 2012
Installation and Deployment of a Farm Solution in SharePoint 2010
http://msdn.microsoft.com/en-us/library/aa544500(office.14).aspx..
Deploy to remote server than there are multiple ways
Deploy to remote server than there are multiple ways
Adding additional Web Part Zone in SharePoint 2007 Existing page
< runat="server" frametype="TitleBarOnly" id="Left" title="loc:Left">
<>
< /ZoneTemplate>
< /WebPartPages:WebPartZone >
Editing Web Part Pages with SharePoint Designer
Now open the web page by clicking on it.Assuming you have SharePoint Designer 2007 installed, go to the "File" menu of Internet Explorer and select "Edit with Microsoft Office SharePoint Designer".
You will now see your page, in edit mode, from inside the SharePoint Designer. Note that the Web Part Zones exist within a standard HTML table. (You may need to open the "Design" tab in SharePoint Designer.)
Select the lower row of the table.
Then, from the "Table" menu in SharePoint Designer, select "Insert" and then "Row Below".
Click into the row you just created. For illustration purposes, I am going to add a table with 3 rows and 3 columns. From the "Table" menu, select "Insert Table". Use the parameters I have below (or anything you like).
In the top left cell of the table, I now add a Web Part Zone:
Insert --> SharePoint Controls --> Web Part Zone.
(The graphic below looks like I am in the HTML menu, I am really not.)
Tuesday, June 12, 2012
Using a lookup field on a choice field workaround
Unfortunately, it’s impossible to map a lookup field on a choice field. There’s a workaround, however, by using a calculated field which copies the information from the choice field. The look up field is then able to map the calculated field’s value.
Start out by creating 2 custom lists; One list where the choice and calculated columns reside:
And another list where the lookup will be done:
Navigate to the list with content, and click on the “List” contextual tab in the ribbon. With the list options open, click on the “Create Column” button. When the dialog pops up fill in the desired options and select “choice” as column type:
Click on OK. The choice column should now be added to your list. Click the “Create Column” button again, but now select “Calculated” as column type:
Scroll down and reference the choice field in your calculation formula:
Click OK. The calculated column should now be added to your list with content. Add a new item to check whether the calculation formula works:
Navigate to the list where the lookup will be made and create a new column. Fill in a desired name and select “Lookup” as column type:
Scroll down again, and select your list with content where the lookup column should get its information. Next, select the title to be looked up and as you can see, the calculated column shows up as a selectable property:
Finish adding the column by clicking OK. Whenever you add a new item to the lookup list and use the lookup column, the chosen choice field from the content list will be shown:
In an ideal situation, Microsoft addresses this issue and makes choice fields able to be looked up in the near future.
Start out by creating 2 custom lists; One list where the choice and calculated columns reside:
And another list where the lookup will be done:
Navigate to the list with content, and click on the “List” contextual tab in the ribbon. With the list options open, click on the “Create Column” button. When the dialog pops up fill in the desired options and select “choice” as column type:
Click on OK. The choice column should now be added to your list. Click the “Create Column” button again, but now select “Calculated” as column type:
Scroll down and reference the choice field in your calculation formula:
Click OK. The calculated column should now be added to your list with content. Add a new item to check whether the calculation formula works:
Navigate to the list where the lookup will be made and create a new column. Fill in a desired name and select “Lookup” as column type:
Scroll down again, and select your list with content where the lookup column should get its information. Next, select the title to be looked up and as you can see, the calculated column shows up as a selectable property:
Finish adding the column by clicking OK. Whenever you add a new item to the lookup list and use the lookup column, the chosen choice field from the content list will be shown:
In an ideal situation, Microsoft addresses this issue and makes choice fields able to be looked up in the near future.
Monday, June 11, 2012
Anonymous access in SharePoint 2010 Survey
Filling up survey form in SharePoint is one of the common tasks that we perform. However when we want to capture a feedback in terms of survey but we would not like to know the name of a person who responded to survey then anonymous survey comes into the picture.
We directly cannot create a SharePoint 2010 anonymous survey. First we need to configure the site to have an anonymous site and then we can configure survey list to allow anonymous access.
First we need to make a setting in central administration. Go to Manage web applications->Select your specific web app->Click on zone type Default->then check the enable anonymous access.
Here are these steps shown as screen shots.
Now select anonymous policy from the ribbon and select None.
Now open your site to enable anonymous access. You can see this option only when you have set the anonymous option from the central administration.
You need to set where you would want to enable the anonymous access.
I’ve selected lists and library because we want to create an anonymous survey.
Open your survey list where you want to configure anonymous survey. First step that needs to be performed is to break the inheritance from the parent site. Without this step, we cannot configure anonymous survey.
Go to list settings and then permissions for a list and then click on anonymous access. This model page allows you to configure the action that anonymous user can perform. However you might see all options grayed out.
The reason behind this is strange, however these is a work around to this. Go to advance settings option of the list and then select read all responses.
Now again go back to the permission and then select anonymous access. You should be good to go for setting up the permissions.
Now the problem is we do not want other people to see other’s responses although created by field is always empty when we enable the anonymous survey, but still we do not want any person to read any other person’s response.
So go back to advance settings and now change from real all responses to read responses that were created by user.
And there you go, give link URL to respond to anyone and they should be able to respond to a survey. At the same time created by field will always be blank so that we never come to know who responded to survey.
Subscribe to:
Posts (Atom)