You need to sign in to do that
Don't have an account?
Amr Mohsen
How to pqass parameters to embed VF Page
Hello,
I want to create and embed VF page iniside Case page to display all similar cases which have the same type and subtype for current case, but I want to send Type and sub stype as parameters to embed VF page to display similar cases based on those parameters?
I need help please.
I want to create and embed VF page iniside Case page to display all similar cases which have the same type and subtype for current case, but I want to send Type and sub stype as parameters to embed VF page to display similar cases based on those parameters?
I need help please.
All Answers
OR
You could just add fields in Standard controller field list use them for querying other records.
Example :
Correct me if I'm wrong please , I'm still new to SF development
Finally I've created this method to find similar cases
I just need to know how to use it in visual force page.
<apex:pageblocktable value="{!SimilarCases}" var="rec">
<apex:colmn value="{!rec.Id}"/>
</apex:pagebloacktable>
you can go through trailhead, they are good way to learn.https://developer.salesforce.com/trailhead/
Unknown property 'CaseStandardController.SimilarCases'
Method needs to be visible to page.
VF page Code
public List<Case> SimilarCases(){
"Invalid api version:0.0"
Now I can display the similar cases into VF page in a block in case standard page,
But all columns of the table are text not a hyper link to cases, I tried to do it by the code below
But when I click any link it navigates me to URL which No Longer Exists , also the new page is embded and I want to open it in new separated page.
Thank you again Vishwajeet.