Solved

Form Web Part

Posted on 2012-04-02
1
246 Views
Last Modified: 2012-06-27
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?
0
Comment
Question by:Dan560
1 Comment
 
LVL 18

Accepted Solution

by:
ivan_vagunin earned 500 total points
ID: 37797235
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

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

When installing SharePoint 2010 RTM I came across a strange error, I was getting timeouts during the installation. I searched the web and found the best solution to be found here (http://social.msdn.microsoft.com/Forums/en-US/sharepoint2010genera…
We had a requirement to extract data from a SharePoint 2010 Customer List into a CSV file and then place the CSV file into a directory on the network so that the file could be consumed by an AS400 system. I will share in Part 1 how to Extract the Da…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

829 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