Tag Info

Hot answers tagged

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


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


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

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

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

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

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


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

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


3

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


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?


2

Since every item in SharePoint (e.g. Document Library's, Lists, Surveys, Blog Posts/Comments, etc.) allows for modular security that can be very granular and is different from the parent site it lives within. I've done the same thing many times with all the different components of SharePoint. What I would do is on the site that holds the survey first make ...


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


2

This is one of those cases were I like to use jQuery to modify the rendered html without any impact to the MasterPage or centralized templates. It should only take a simple selector to identify the container, and swap out the "Other" content with the desired label.


2

You could look at using Data View Web Parts or InfoPath Forms (if IP is available to you). If it is a public facing WSS3.0 site, then Data View Web Parts (or custom ASP pages) may be your best alternative.


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

How about? SharePoint: Creating Thank You Pages for Improved User Experience or URL Source= for Thank You on Submit


2

You do not need to create a second list in order to view the survey results. Do you want to show the survey results without an option to respond to the survey? If so, edit a page and add a list view web part for the survey to that page. Edit the web part and select the View to be either Graphical Summary or All Responses.


2

First off, there's really no benefit to using a Survey list for this particular application. You can simply set up a Custom List with the columns you'd like to capture. There's some funkiness to Surveys that you simply don't need (branching, etc.) Secondly, make it easier on yourself and use my SPServices jQuery library (http://spservices.codeplex.com) to ...


2

It is possible (as most user interface tweaks are) with jQuery. The way to add SharePoint to your page depends partly on your version of SharePoint so you will need to search for that (or ask here on the site). Once you have it deployed there is a tutorial on hiding specific elements. The only tricky thing will be getting your selectors right.


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

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

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

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

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


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


1

The very, very easiest approch I see would be like this: You create a new document library called "AE Surveys" You might to enable versioning, depending on your needs You create a new content type called "AE Survey" You add a column "AE name" to the library (maybe a dropdown) You add a column "Month" and "Year" to the library You create a view that is ...


1

You cannot do it without any use of code. I think the simplest solution to this is to use jQuery/JavaScript to make sure each answer is unique (on top of my head: each time a user select an answer i would save it in an array and then compare the next answer to the array - if there is a similar answer in the array then it’s not unique and i would show an ...



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