You need to sign in to do that
Don't have an account?
MellowYellow
Newbie Question - Can I use SOQL directly in a VisualForce page?
I'm trying to figure out how I can query a related object in Visualforce, without using a custom controller. Essentially what I'm trying to do is embed a SOQL query and display the results in a VF page instead of having to use a custom controller or extension. I have the custom controller working with the VF page, but was just wondering if there is an easier way to do this (like in ColdFusion or PHP).
Thanks
Not directly.
You could do it using Java and then adding the elements to the page, much eaiser to create an extension for the page and return the queried record to be displayed.