Sharepoint 2007 Survey creation customization issue - sharepoint-2007

When creating a Sharepoint 2007 survey, there is a possibility to show/hide the username of the user who took the survey.
Is it possible to set this option to No by default and make the selection read only?

Do I understand you correctly that you want to change the default behavior of creating a survey list?
This is not easily done, because the survey list is based on the SurveyList list template and you would have to modify that one (if even possible) or create your own SurveyList template.
There are however tutorials on how to create a survey programmatically, which you could do with a Workflow and set your default properties for the survey list to hide usernames:
Creating a survey in MOSS 2007 programmatically
HowTo: Create a quizzing application with SharePoint 2007

Related

Is it possible to display a read only field on a work time that references a field from a parent work item?

I am using the TFS 2010 Scrum template and want to modify the Task work item template so that I can display the PBI's backlog priority (read only).
I am familiar with editing the process templates, but not sure I can setup a field to pull data from another work item
There are no rules available to get data from other work items. If you want to do this, you can either use the eventing service (which is a service that is invoked on work item save for example) or you can create a custom work item control.

TFS 2010 Creating Work Items on behalf of others

Just starting to implement things on TFS 2010. Been hunting around with no success so have resorted to posting the question.
When we get emails from users detailing a bug, or even suggesting a new feature, how can we create a TFS workitem on their behalf? We'd like to report on where/who the work items are coming from.
Having them create the item is not ideal as many of the users do not have TFS access, and may even be external clients.
The fields that are used for tracking use the credentials of the user that created the work item. If you want to track the customer who created the work item, you need to add a new field where you can store this information.
The CreatedBy field is available for you, but it is - hardcoded - readonly.
Do you know that it is also possible to let your external customers create their own bugs by using "Work Item Only View"? You don't need a CAL for your customer if you use this. In this mode, the customer can create new work items and see their own created work items.

Don't save the user when editing a list in SharePoint

Is it possible to make SharePoint not store the user name in the fields Created_at and Modified_by when editing a list. I want to make this completely anonymous.
I don't think you can get away without having the Created or Modified fields. I would suggest using an Event Receiver that changes the values to something safe (perhaps even System Account) on ItemAdded and ItemUpdated.
For more information, see:
SharePoint/WSS: Modify “created by” field?
Changing “Created By” in Sharepoint 2007
SharePoint Documents Library - Change “Document Created By” field
You could consider a SharePoint survey. In surveys can hide user names.

MOSS 2007: How to programmatically store web part properties for a user?

I have a web part which shows data in one of 3 different formats. The format is selected by clicking one of 3 buttons in the web part. This works fine.
A request has come through to store the last selected state so that the user does not always have to click their favourite view.
It seemed logical to define a Property and define Personalizable(PersonalizationScope.User) but this does not seem to work for most users as they only have Read rights for the page.
What is the best way forward here? Is Sharepoint the right place to store such info or should I be using my own storage?
Thanks
Using your own storage is an option but this means its some more development work for you. How about this option.
Modify your WebPart and add the option to the Web Part property.
Create a new permission level and add the following permission
Update Personal Web Parts - Update
Web Parts to display personalized
information.
This will make sure that users with read only access can only update webparts.
Step 2 will allow them to odify all webparts. You can modify each webpart and remove the following option for webparts which you dont want you users to edit.
Allow Editing in Personal View [Advanced]
This way you can lock all webparts except the one you want.

Add custom properties to SharePoint 2007 Survey

I would like to extend the survey list template and add 2 more properties. The place to modify these properties is the Survey General Settings page (/_layouts/ListGeneralSettings.aspx?List=).
Can someone tell me how to add these kind of properties to survey list in SharePoint or any other possible places to store these properties?
Regards,
Voicu Seiche.

Resources