function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
SpongeBob_2009SpongeBob_2009 

VisualForce w/Events?

Is it possible to use visualforce with the Events object? 

 

I have this wacky requirement:  The users want the 'Subject' field to act as a drop-down list box, with no edit capability.  Initially, I created a custom subject field to replace the original...and using a trigger to synch the delivered 'Subject' field.  ...works great, but now I can't delete the original field - always something with SF ;(

 

Anyway, I was thinking I could use VisualForce to get around all the restrictions.  But, I do not see a place to put the VF hooks.

 

This requirement may need to be tank'd.

HarmpieHarmpie

Do I understand correctly that you're trying to delete the standard field "Subject"?

 

I think there's 2 options to transform the Subject field into a picklist:

1) Rebuild/override the New and Edit page for an event (and present the subject field as a picklist, saving the selected value to the actual Subject field using your controller)

2) Add some javascript to the sidebar which will tranform the standard text field to a picklist. Similar to http://blog.harmkorten.nl/archives/1-Salesforce-country-fields-as-a-picklist.html

Message Edited by Harmpie on 10-04-2009 11:25 PM