Hot answers tagged

8

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

While working with the above answer by Vadim Gremyachev instead of showing the alert message to the user who is already responded, it shows to all the users. By modifying the above code to some extent it is working fine. //override NewItem2 function var NewItem2 = (function () { var NewItem2Orig = NewItem2; return function() { var evt = ...


4

Go to Survey settings --> Advanced Settings and Check Read responses that were created by the user


4

What you could to is just create a OOTB custom list, change the Title field to "New Idea" or something relevant and then enable ratings for the list from List Settings > Rating Settings. Enable it to Yes and select Star ratings and voila! Users can now rate the item/idea on a scale of 1-5 stars. If you wanna take it further from there, you could set up a ...


3

Via SharePoint Designer you could add New Item Form (DataFormWebPart) on the page Steps Under tab Insert select New Item From and Custom List Form as demonstrated on picture below Specify list form parameters and click on ok button. Result


3

Since your users are registered in AD, SharePoint is already storing their account information including email. If you want it displayed alongside the "Created By" field, a simple workflow will do the trick. Simply create a text column in the survey to store the email, then use SharePoint Designer 2013 to create a workflow that fires when an item is created....


3

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)


3

Maybe it's little bit too late but maybe I can help someone else.. U can use the export to spreadsheet option only on your default view of the list. (SP2013 & Online) Knowing that, you know you should now open your survey list from sharepoint designer and set one of the views as default.. Reload survey in your browser, 2-3 times (using the ctrl + f5) ...


3

There is a great write up of how to do this with XSLT: http://msdn.microsoft.com/en-us/library/cc300164(v=office.12).aspx This link essentially describes how to use XSLT to manipulate a table to display the results in a horizontal graph. If you are doing this with client-side code, I'd highly recommend you use Javascript instead of XSLT though... Here's ...


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

Turn on Ratings. This will allow users to click 1-5 stars against each image.


3

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> /// <...


3

I think that this is a question about security as this could be a potent risk redirecting a user to anywhere ( or anything ) on the web. This was considered a potential security vulnerability by Microsoft a couple of years ago for SharePoint 2007 and 2010 so in 2013, a cross site redirect is being prevented by default. Insecure Redirect in Microsoft ...


3

WITHOUT CODE: I always send them straight to the New Form for surveys: http://sharepoint/site/Lists/SurveyName/NewForm.aspx WITH CODE: <script> function openDialog(){ var options = { title: "Fill out survey", url: "http://sharepoint/site/Lists/survey/newform.aspx", width: 800, height: 500 ...


3

I disagree with you, the Survey list as OOTB is pointless in your scenario, it's designed for a simple survey purpose. It's also uncustomizable list. you can't track the correct answer and you can't calculate the score, so you will need to do additional work like Create a new list for the correct answer to each question. Create a workflow to calculate the ...


3

Unfortunately, the Graphical Summary View (Lists/Survey/summary.aspx) in the Survey List doesn't have Export to Spreadsheet option!!! The Export to Spreadsheet is only available in the Overview Workaround To export Graphical Summary View to Excel: Open your Survey List via Internet Explorer. Right-click on any free space and select Export To Excel as ...


3

In SharePoint survey, there is no calculated column to calculate the values of the columns. I suggest you could use the custom list to achieve it. You can create the choice columns with radio buttons. And create calculated column to calculate the sum of the choice columns. The calculated formula as below: =[choice1]+[choice2]+[choice3] More reference: ...


3

Out of the box? No. But it can be done with SharePoint Designer and some JavaScript code. A survey is just a SharePoint list with a custom display. SharePoint does not have field level (question in Surveys) security.


2

I ended up Creating a new view, called "extra options" view - pointing directly to the Create view page. Then, I created a spreadsheet (did an export as before), and updated the query Caml in the data connection.


2

In "Survey Settings" click on "Metadata navigation settings" Modifying the key filters here may help improve performance depending on the filters you are using. There is also two radio buttons below for Automatic/Manual indexing of columns. To the left of that there is a "Indexed Columns" link which will take you to the page for managing column indexes. ...


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

altho there is xslt, unfortunatly its not the way thats right for me. The list is pulled dynamically and it will display multiple graphs on the same page for any survey on any site (surveys collected and shown on one page). I managed to figure it out yay: to achive the given result I did: 1) get list 2) create chart 3) get fields name and ...


2

How to get the list of questions from a Survey List via REST API You could specify SPField.CanBeDeleted property in filter expression to get the list of questions from a Survey List: /_api/Web/Lists/getByTitle('Survey')/fields?$filter=(CanBeDeleted eq true) The following endpoint returns all the answers from a Survey list: /_api/Web/Lists/getByTitle('...


2

As far as I know you can't, there is no built in OOB solution for this (at least not in 2010). What you can do instead is to use jQuery and some JavaScript, like this: $(function() { var fields = {}; $('.ms-formbody').each(function() { var name = $(this).html().match(/FieldInternalName="([A-Za-z0-9]+)"/); if (name) fields[name[1]] = $(this)....


2

You can add the page viewer webpart to the page and link the new form url: URL: http://www.yoursharepoint.com/Lists/surve/NewForm.aspx?Source=http%3A%2F%2Fwww%2Eyoursharepoint%2Ecom


2

That's the only way I know of is to revoke access or mark everyone as read only.


2

I'm not sure this would help, but you could try to create a new view on the survey. Creating custom views on Survey in Sharepoint You have to set the permission on the survey. Go into the library Advanced settings The advanced settings page allows you to configure who can see what responses and what they can edit. Note: Edit here means changing their ...


2

Go into List Settings and click either Created By or Modified By to edit the column. At the very bottom under Additional Column Settings you can change the Show field dropdown to Work email instead of the default which is Name (with Presence). Make sure this field (Created By/Modified By) is added to your view and when you export to Excel, you'll have the ...


2

I was trying to do this for a Survey app today which doesn't have the same Additional Column Settings like a custom List survey which is the other answer provided. I did finally figure it out, so I wanted to share my findings. Since it is a Survey, in order to edit the Created By field, you have to do the following: Open a SharePoint Site……Open the Survey ...


2

You could add a content editor with some Javascript to set the default value for you based on a querystring parameter: I'll borrow a routine to read the QueryString data from an SO answer here. var QueryString = (function() { // This function is anonymous, is executed immediately and // the return value is assigned to QueryString! var ...


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