Some
important feature included in SharePoint 2010.
Microsoft Office Web Apps is the online companion to Office Word, Excel,
PowerPoint and OneNote applications that enables users regardless of their
location to access documents and edit documents. Users can view, share, and
work on documents with others online across personal computers, mobile phones,
and the Web. Office Web Apps is available to users through Windows Live and to
business customers with Microsoft Office 2010 volume licensing and document
management solutions based on Microsoft SharePoint 2010 Products.
1. We cannot modify
OOB defaulttemplates.ascx as this would be unsupported
2. Make a copy of
defaulttemplates.ascx under CONTROL TEMPLATES FOLDER of 12 hive
and rename it to CustomDefaultTemplates.ascx
What exactly needs to
done/Resolution:
1. To hide “Respond
to this Survey” if a user has already responded to the survey,
Create a class which inherits from the Microsoft.Sharepoint.WebControls.NewMenu.
2. In this override
CreateChildControls and have your logic to hide unhide "Respond
to this Survey" based on your need.
3. Build the class
library and install the dll to the GAC.
4. Modify the
“ViewToolBar” in the custom ascx such that to render your custom
"Respond to this Survey" menu from the class library you created.
(Note: You need to add your assembly reference and register the tag prefix in
the
Custom ascx control.)
5. Next step is to
render the custom rendering template to the "Survey List" so
that the
custom "Respond to this Survey" menu will be rendered in the toolbar.
6. For this the
"ToolbarTemplate" property of the View should be changed in the
schema.xml file of the Survey List
definition.
7. As modifying the
OOB files are not supported, Copy the “SurveyList” folder from
12/Template/Features and paste in the
same place as “CustomSurveysList”.
Change the feature ID of the
“CustomSurveyList”
8. Open the
schema.xml file available under survey folder of “CustomSurveysList”
and add the
“ToolbarTemplate=CustomViewToolBar” attribute to the “View BaseID=0”.
We can add solution via common line using either STSADM or PowerShell command while solution deployment can be done either via Central Admin or using STSADM or PowerShell
June 2014 Cumulative Update for SharePoint 2013 has been released. SharePoint Foundation - KB2881063 http - //support.microsoft.com/kb...
Disclaimer
The opinions expressed on this blog are the personal views of Pratik's SharePoint Blog, and do not represent or reflect the viewpoints or policies of any past, present, or future employer, colleague, or customer, or any other entity. The posts on this blog are provided ‘as is’ with no warranties, express or implied, and confer no rights. Use of information contained within this blog, including specific technical steps mentioned herein, is at your own risk. References to specific software products, processes, resources, or companies do not imply any endorsement.