Form Web Part

Hi

I am running SharePoint 2007 WSS. The server is hosted with an external provider, I have administrator access to all SharePoint sites, however not to the servers configuration.

I have been given the task to create a Bonus Calculator Form for employees within SharePoint. I have discovered the Form Web Part within SharePoint, I would like to know how I can configure this form to connect to value in one of my document libraries.

The bonus is calculated as follows -
1) Gross Salary * 2) Annual review rating * 3) Customer Satisfaction % * 4)Company profits %

Questions 1,2,3 I can create a form where the user will enter their data.

Question 4 is set by the manager. It is created in a document library where the employees do not have access.

My question is how do I configure the form to connect to that value?
LVL 2
Dan560Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

ivan_vaguninCommented:
Hi!
If user does not have read access to the library, then you need to read this data in context of user who has access or in context of sharepoint\system account (privileged context). I guess standart webparts (like Form Webpart) can't do that so, the solution is to write a custom webpart or application page.
http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.spsecurity.runwithelevatedprivileges.aspx
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft SharePoint

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.