You need to sign in to do that
Don't have an account?
Aaron Persich 9
Visualforce button on opportunity products
Hello,
I have built a flow which will configure products and a button with visualforce on the opportunity. I showed this to my manager and she now wants the button to be where the add products button is. I tried to move the button but when I test it I get an error message. I am not sure if it has to do with the flow or the visualforce button.
Here is the visualforce code.
<apex:page standardController="Opportunity" Showchat="False" showheader="True" standardStylesheets="True">
<apex:stylesheet value="{!$Resource.ProductConfig}"/>
<Center><apex:image url="{!$Resource.Get_Logo}" width="500" height="100"/></Center>
<flow:interview name="Tempered_Networks_Product_Configuration_Version_3" finishLocation="/{!$CurrentPage.parameters.id}">
<apex:param name="varOpportunityID" value="{!Opportunity.Id}"/>
</flow:interview>
</apex:page>
Does anyone know how I can update this to work on the opportunity product related list?
Thanks,
Aaron
I have built a flow which will configure products and a button with visualforce on the opportunity. I showed this to my manager and she now wants the button to be where the add products button is. I tried to move the button but when I test it I get an error message. I am not sure if it has to do with the flow or the visualforce button.
Here is the visualforce code.
<apex:page standardController="Opportunity" Showchat="False" showheader="True" standardStylesheets="True">
<apex:stylesheet value="{!$Resource.ProductConfig}"/>
<Center><apex:image url="{!$Resource.Get_Logo}" width="500" height="100"/></Center>
<flow:interview name="Tempered_Networks_Product_Configuration_Version_3" finishLocation="/{!$CurrentPage.parameters.id}">
<apex:param name="varOpportunityID" value="{!Opportunity.Id}"/>
</flow:interview>
</apex:page>
Does anyone know how I can update this to work on the opportunity product related list?
Thanks,
Aaron
Hi Arron,
The you selected is List button, can you please change it to Detail Page Button and try again.
Thanks,
Gaurav
Skype: gaurav62990
All Answers
Can you please provide the error message.
Thanks,
Gaurav
Here is the actual code. I submitted the incorrect one.
<apex:page standardController="OpportunityLineItem" Showchat="False" showheader="True" standardStylesheets="True">
<flow:interview name="Calculate_Tier" finishLocation="/{!$CurrentPage.parameters.id}">
<apex:param name="varOpportunityID" value="{!OpportunityLineItem.OpportunityId}"/>
</flow:interview>
</apex:page>
And for some reason why I try to add this VFD page to the custom Opp product button it does not show up
Hi Arron,
The you selected is List button, can you please change it to Detail Page Button and try again.
Thanks,
Gaurav
Skype: gaurav62990