Solved

How to add new content type to Survey in MOSS 2007

Posted on 2011-02-24
6
526 Views
Last Modified: 2012-06-27
Hi,

Please provide a solution that How to add new content type to Survey in MOSS 2007?

Thank you.
0
Comment
Question by:Manjunathgb
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
6 Comments
 
LVL 6

Expert Comment

by:psv1973
ID: 34971711
Surveys don't have configurable contenttypes.

What are you actually trying to do?

When you create a survey you need to supply the questions which are in effect the columns in your contenttype.
0
 

Author Comment

by:Manjunathgb
ID: 34972650

Thanks, actually I am trying to pool the branch of the employee based on login user in a survey question, for example (1)Branch? (Question) in a textbox (answer)automatically it should populate branch Id or name. Please provide help on this.

Thank you.
0
 
LVL 6

Expert Comment

by:psv1973
ID: 34979469
I'm sure there is no way to do what you want.
0
 

Accepted Solution

by:
Manjunathgb earned 0 total points
ID: 35000297
Hi psv1973,

Nothing is impossible. In Experts-Exchange I don't see the experts to resolve this problem. Instead providing right solution saying no way.

Solution:

1. Open survey NewForm.aspx in SharePoint Designer

2. Write server side script (i.e. C# script Inline code) to pool data from Database

3. Save branch Name of respective employee in one Hidden field.

4. Write Client side script(using Javascript)

5. Get Hidden field value and assign to field (ie. Branch Textbox)

6. Save file run the SharePoint Survey.


Thank you.
0
 
LVL 17

Expert Comment

by:GreatGerm
ID: 37471930
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Technology opened people to different means of presenting information, but PowerPoint remains to be above competition. Know why PPT still works today.
In case you ever have to remove a faulty web part from a page , add the following to the end of the page url ?contents=1
The viewer will learn how to simulate a series of coin tosses with the rand() function and learn how to make these “tosses” depend on a predetermined probability. Flipping Coins in Excel: Enter =RAND() into cell A2: Recalculate the random variable…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…

695 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question