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
Melissa SautterMelissa Sautter 

Error: <apex:page> is required and must be the outermost tag in the markup at line 1 column 1

This error is driving me MAD. What am I doing wrong? I have a very simple visualforce page:
code:
<apex:page standardController=”Opportunity”>
<flow:interview name=”ClientDiscoveryInformation”>
<apex:param name=”var_CMS” value=”{!CMS_c}“/> 
<apex:param name=”var_UserManagementSys” value=”{!UserManagement_c}“/>
</flow:interview> 
</apex:page>
Why am I getting this error?
Please help!
 
R@hu!R@hu!
Hi Melissa,
I created a flow name "my_Flow" and made the corressponding changes in you code accordingly...It is working fine....
 
<apex:Page standardController="Opportunity" extensions="exampleCon">
    <flow:interview name="my_Flow">
    <!--apex:param name="var_CMS" value="{!CMS_c}"/>
    <apex:param name="var_UserManagementSys" value="{!UserManagement_c}"/-->
    </flow:interview> 
</apex:Page>

I just added a controller where I defined the flow:
public with sharing class exampleCon {

    public exampleCon(ApexPages.StandardController controller) {

    }

    Flow.Interview.my_Flow my_Flow{get; set;}
}

That's it...!!!

Please mark this as Helpful answer if it is.
janardhan mjanardhan m

​<apex:page standardController="Opportunity">

<flow:interview name="ClientDiscoveryInformation">

<apex:param name="var_CMS” value=”{!CMS_c}"/>

 <apex:param name="var_UserManagementSys" value="{!UserManagement_c}"/>

</flow:interview>

 </apex:page>
Try this..