function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Jonas MyhreJonas Myhre 

Show custom object fields

Hi

I am brand new to Apex and development, and i have a few questions i hope can be answered. I've created a custom object called "Drift Status". I want to create a VF area where i can show this if its set to "active". Can this be done? If so, how? And if not, what are similar approaches?

Thanks alot.
Best Answer chosen by Jonas Myhre
Ramu_SFDCRamu_SFDC
The below article should help

http://www.mindfiresolutions.com/How-to-fetch-and-display-data-from-a-custom-object-on-VisualForce-page-in-SalesForce-1474.php

All Answers

Ramu_SFDCRamu_SFDC
The below article should help

http://www.mindfiresolutions.com/How-to-fetch-and-display-data-from-a-custom-object-on-VisualForce-page-in-SalesForce-1474.php
This was selected as the best answer
bob_buzzardbob_buzzard
Can you clarify what you mean by a Visualforce area?  if you are referring to a conditionally rendered VF page inside a record view, you can't do that.  You'd have to show something in all cases, although not necessarily the record in question.  This is because the VF page is iframed into the record view page so it always gets displayed.
Jonas MyhreJonas Myhre
Holy shit it worked, was expecting to sit with this for ages!  Thanks alot Ramu, that was perfect.
arashad abbasarashad abbas
I'm new to Salesforce and trying to see my custom object's field into Opportunity.

Please help me how can I see this.

Custom Object Name: XBData
  • Field: Company_Name (I want to see Company_Name field in view of Opportunity window).
Thanks