Solved

Form Web Part

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
SharePoint 2013 6 18
SharePoint 2013 - User  keeps dropping 7 44
InfoPath 2013 4 58
SharePoint CAML Query - retrieving field names 3 48
For SharePoint sites, particularly public-facing ones, there are times when adding JavaScript, Meta Tags, CSS Styles or other content to the page <head> section is more practical than modifying master pages.  For instance, you could add the jQuery l…
These days socially coordinated efforts have turned into a critical requirement for enterprises.
A short film showing how OnPage and Connectwise integration works.
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

932 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now