Hot answers tagged

7

It's something like http://sp2010/Lists/TestSurvey/NewForm.aspx To find it go to your survey click "respond to the survey", when the dialog opens rightclick and select properties, copy the address except ?IsDlg=1


6

The suggested solution is to add client side validation if user has already responded to survey when the "Respond to this event" button clicked. If validation will fail then display user friendly message otherwise display the original response form. It will allow to avoid this exception to occur. Solution Override JavaScript function for opening ...


4

The data is still stored in those author and editor columns, it's just that when it presents it through the API, it changes them to stars. If you are wanting to view it through the UI, in the list settings you can always change the setting to show user names in the survey results to see the users real quick and then switch it back. Through code here's ...


4

Ok. What I have found is as follows: When a response is started it is added to the total number of responses. It remains 'checked out' to that user until the response is completed. Only then will it be visible to the survey owners. That explains the discrepancy between the number of items in the list and the number of items shown in 'show all responses'. ...


4

Well, it was an epic adventure into lands unknown, and I may have found your answer. First of all, some background: Questions on a survey are represented by fields in a list (they all inherit from SPField) Choices in a list (and a survey) are stored as an SPFieldChoice It seems the "Jump To" destinations are associated with the choice field, and can be ...


4

I don't think it is possible to change the internal column name of a field after it has been created (only display name). You'll need to specify the name before it is created in SharePoint. What we normally do is create the column name with only alphanumeric characters (less than 32 characters) and then rename it. For example, if my survey field is called ...


3

Once a column is created, the static name stays the same for the life of the column. The only way to "rename" it would be to delete it and recreate with the new name. You can change the Display Name all you want, but the static name will always be the original static name for the column. This particularly becomes an issue when people change the use/names of ...


3

I believe you can access Survey information through the List web service (from what I understand a Survey is a SharePoint list). Below is a chunk of jQuery that I often steal from when calling SharePoint web services from jQuery: <script type="text/javascript> $(document).ready(function() { var xmlData ="<soap:Envelope ...


3

Sorry but I don't agree with any of the solutions offered here. The numbering does not reset to zero when responses are deleted, it is part of the audit trail settings of SharePoint. Nor do they stay checked out. Responses don't check out at all, they get listed as not complete. It was either from people deleting responses they did not want to see, ...


3

The reason you are seeing the error when the survey branches is because that is a point where the item is being written to the list. That's also why you are seeing the error at the end of the survey. So it sounds like your general users don't have Contribute rights on the survey list.


3

I had a similar problem where the export option was not visible in the action menu. As workaround, I found that if I accessed the survey from Site Settings ==> View All Site Content ==> My Survey then the export button is available.


3

OK Although the list of questions did not display a link to edit the empty question, there is actually a link in the source. I just showed the source code, copied out the link, pasted it into the browser address. It worked.


3

Open site manager by adding *_layouts/sitemanager.aspx* in the url. (e.g) http://www.servername:10001/_layouts/sitemanager.aspx You can access the same in Site Actions >> Manage Content and Structure ( in SP 2007) (or) Site Settings>> Site Administration>> Content and Structure (in SP 2010). Navigate down to your survey. Select all responses and go to ...


3

If you create a site workflow then this can be scheduled to run at a certain time and can delete the items in your list. A list based workflow would probably have to pause until a certain time and then delete the items when it wakes up. Alternatively you could possibly set a policy on the list to delete items older than a certain age?


3

Creating items in lists is actually an asynchronous process. When you commit your changes, the item is written, but there's no way to guarantee when the item will be written. I'm sure of this because of the way I had to write the SPRedirectWithID function. As you might expect, it's generally very quickly after the submit, but it depends on server load, etc.


2

No, if you create a Custom form, you are breaking the automatic associations where an updated question (or field in the case of standard lists) automatically shows up. You must maintain your custom form any time you make structural changes to your list or it isn't reflected.


2

There are several ways to save information in a list. Check following and find which suites you best. Using Server Object Model C# Using Client Object Model C# Using Client Object Model Javascript Using REST API


2

In Survey list the question is a field. In order to determine whether field is a question or regular field you could utilize SourceID attribute, in case of questions its value is not http://schemas.microsoft.com/sharepoint/v3: /// <summary> /// Get questions in Survey List /// </summary> /// <param name="list"></param> /// ...


2

Open Items is the permission which give the export to excel access. In the "View only" permission, "View Versions" is ticked but "Open Items" is not. I think this is the difference here. I managed to get the "Export to excel" button to be disabled by making an exact copy of the "View only" permission by clicking the "Copy Permission Level" button at the ...


2

You could also filter fields by SPField.CanBeDeleted property in order to get the list of questions from a Survey List How to get the list of questions from a Survey List via REST API /_api/Web/Lists/getByTitle('Survey')/fields?$filter=(CanBeDeleted eq true)


2

While there are ways to delete all items from a list (e.g. through powershell on the sharepoint server) (I would advise testing this code on another list or dev environment first to make sure you understand what it is doing): $web = Get-SPWeb http://mysite $list = $web.Lists["My Survey"] while($list.Items.Count -gt 0){$list.Items.Delete(0)} Another ...


2

No, I think that is not possible OOTB. Possible options: You could create a timerjob to delete the old files A scheduled console tool that deletes old entry by a daily basis A CSOM script in the survey webpart that deletes old entries A endless running workflow ...


2

You can do it in two different ways by setting the value of an SP column. 1: Workflow to set a text field with the string of the person who created the item. Or if that does not work you can set it to Domain Name + Login by using the string constructer (the ... button). 2: Alternatively you should also be able to set a SP field using JS and by getting ...


2

If it was me I would on "selectedIndexChanged" event check to see if the selection is unique if it is then persist changes otherwise tell the user it needs to be or better yet when a user selects one then it gets removed from the list so you dont have the option to select the same value again! all the DropDownList or what ever your going to use, you can all ...


2

You'd need 2 separate surveys, one configured for only 1 response and one for multiple responses. You can create 1 survey and save it as a template to provision the other on to save a bit of time. This will aloow you to set permissions as needed and provide better analysis as the 2 groups of data aren't intermingled (which I guess could be a bad thing, ...


2

Each question is essentially a column, you could ask the question in a different format. You have to tell yourself, if the questions aren't really identical in what it's asking, let's change the question. If the data being last year is what is unique, include that in the question. Otherwise you need to find a way to trick SharePoint to use the same format ...


2

None of the above should be necessary. The "Action" options are dependent on the view used. Open the "Overview" view, click "Actions" and the export option magically appears. There's no way anyone would know this so this is a good example of the bad design / UX that plagues Sharepoint.


2

Here is an option for you: create the surveys and save them as templates in 2007. Take those templates and create a site collection with a single site and use those templates to create one of each of the survey's you are wanting to move. Move the database and attache it to 2010 to upgrade the database and the content. Go into the site and make sure the ...


2

This has the same answer as the access denied page on this question: http://www.sharepointoverflow.com/questions/1094/how-to-customize-the-access-denied-sharepoint-page



Only top voted, non community-wiki answers of a minimum length are eligible