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
Shane Jay HayesShane Jay Hayes 

What kind of controller should I be using?

I have a button on my account object that launches a VF page and in turn a Flow.  It works great!  
 
<apex:page standardController="Account" tabstyle="Account">
  <h1>Create a New Claim</h1>
  <flow:interview name="Create_a_Claim" finishLocation="{!URLFOR('/home/home.jsp')}">
  <apex:param name="Service_Provider" value="{!Account.Id}"/>
  <apex:param name="ClaimPOC" value="{!Account.Primary_Point_of_Contact__c}"/>
  </flow:interview>
</apex:page>

I need to create a new button that I will put into a VF page on the custom home screen for my Community users.  This button will obviously be on the home page and not the acount so I am having problems figuring out how to write the new VF page so it will gather the Users account ID and User ID.  Any and all help is appreciated.  Thank you in advance for any assistance.  If I am doing the hard way or there is an easier way just scream!
Anupam RastogiAnupam Rastogi
Hi Shane,

Won't the use of Global Variables help here?

Thanks
AR