You need to sign in to do that
Don't have an account?
Aaron Persich 15
Error: <apex:component> is required and must be the outermost tag in the markup at line 1 column 1
Hello,
I am trying to create a simple visualforce page on the task record with a flow and custom button. I know a lot of people have had this same error message and I have read some posts but I have no idea on how to resolve this. Any help is much appreciated.
I am trying to create a simple visualforce page on the task record with a flow and custom button. I know a lot of people have had this same error message and I have read some posts but I have no idea on how to resolve this. Any help is much appreciated.
<apex:page standardController="Task" Showchat="False" showheader="True" standardStylesheets="True"> <style> .myFormStyle { background-color: blue; } </style> <flow:interview name="Close_Task" finishLocation="/{!$CurrentPage.parameters.id}"> <apex:param name="varTask" value="{!Opportunity.Id}"/> </flow:interview> </apex:page>
Sorry for this issue you are facing.
I faced a similar issue in the past and the issue was with the chrome browser. I was able to figure out the above error when I tried it in the firefox and edge browsers.
For more information please refer to below link from the forums community.
- https://developer.salesforce.com/forums/?id=906F00000009JSeIAM
Hope this helps.Kindly mark this as solved if the reply was helpful.
Thanks,
Nagendra