Solved

Form Web Part

Posted on 2012-04-02
1
245 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

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

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

Suggested Solutions

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…
These days socially coordinated efforts have turned into a critical requirement for enterprises.
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

832 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