You need to sign in to do that
Don't have an account?
Vasundhara Velgoti 4
accessing custom button in visualforce page
I have requirement of 1) I have custom button on Order which is accessing method in apex web service class. This button has to be displayed on custom visual force page depending on below conditions:( if (lookupfield !=null and fulfilmentrelated list is not empty) in order) display the custom button " Update".
2) If( lookupfield ==null and fulfilment related list is not empty) display custom button "create".
Can anyone suggest me the approach how to follow?
2) If( lookupfield ==null and fulfilment related list is not empty) display custom button "create".
Can anyone suggest me the approach how to follow?
See below code, to hide and show both buttons conditionally: Kindly mark this as best answer if this works.