?
Solved

Form Web Part

Posted on 2012-04-02
1
Medium Priority
?
254 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 2000 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

If you create your solutions on SharePoint sooner or later you will come upon a request to set  permissions of the item depending on some of the item's meta-data - the author, people assigned as approvers, divisions, categories etc. The most natu…
I thought I'd write this up for anyone who has a request to create an anonymous whistle-blower-type submission form created using SharePoint 2010 (this would probably work the same for 2013). It's not 100% fool-proof but it's as close as you can get…
This video shows how to quickly and easily deploy an email signature for all users in Office 365 and prevent it from being added to replies and forwards. (the resulting signature is applied on the server level in Exchange Online) The email signat…
SQL Database Recovery Software repairs the MDF & NDF Files, corrupted due to hardware related issues or software related errors. Provides preview of recovered database objects and allows saving in either MSSQL, CSV, HTML or XLS format. Ensures recov…

609 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