• Tycho
  • 0 Points
  • Member since 2012

  • Chatter
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
  • 0

Hello All,


I am new to the Force/SF/VF development platforms and I am having an issue while trying to create a custum object.


Basically, the app is a time keeper, where the User enters the number of hours worked each week. 


My "Week" custom object has fields for each day of the week (i.e. "Monday_Hours","Tuesday_Hours",etc) and the Date of the Sunday of that week, which is selected from a picklist. I am creating a vf page where the top portion of the page is an input form, while the bottom shows all the weeks that have been entered for that user. I wrote a custom extension which calls all the Week__c objects whose user matches the current. I also wrote a method in this extension which "Saves and Refreshes" the page. Theory being that, after the user enters the data in the input form and clicks "Save" the pages refreshes with the recent input visible in the lower half of the page.


When I call my "Save and Refresh" method, I get an Insufficient Priveliges error. I don't think this has to do with User permissions, rather, I think that the input fields are causing disruption as the VF page works when I comment out the apex:inputField's


Has anyone run across an error similiar to this? Or am I missing some fundamental concept of the VF/SF development platform?

  • October 12, 2012
  • Like
  • 0