Thanks for replyin...actually we dont wanna use visualforce here...instead we need the funtonality through configurations. I came to know that the dynamic enabling of sections has been a very well promoted idea but i donno if salesforce guys have come up with a solution for it yet.
Actually the dynamic showing and hiding of sections cannot be done in standard pages that is via configurations.
you are rite that it is a very widely promoted idea but still it is not available via configurations but as Sureka has pointed out salesforce has made the alternate path via visual force to fill up the gap.
You can probably write salesforce about this and also keeps voting for the idea , so that salesforce thinks about rolling it out in their next release.
Hi,
If you are using page block section, then try with like the below code:
For eg. If IsCustomerPortal is the Checkbox field, then
<apex:pageblocksection title="abc" rendered="{!Account.IsCustomerPortal}">
Hope this helps. If so, Please mark the solution as solved.
Thanks
All Answers
Hi,
If you are using page block section, then try with like the below code:
For eg. If IsCustomerPortal is the Checkbox field, then
<apex:pageblocksection title="abc" rendered="{!Account.IsCustomerPortal}">
Hope this helps. If so, Please mark the solution as solved.
Thanks
Hi Sureka,
Thanks for replyin...actually we dont wanna use visualforce here...instead we need the funtonality through configurations. I came to know that the dynamic enabling of sections has been a very well promoted idea but i donno if salesforce guys have come up with a solution for it yet.
Thanks,
Sandeep
Actually the dynamic showing and hiding of sections cannot be done in standard pages that is via configurations.
you are rite that it is a very widely promoted idea but still it is not available via configurations but as Sureka has pointed out salesforce has made the alternate path via visual force to fill up the gap.
Thanks ispita fr posting. we hav used visualforce fr the required funtionality nw cos we ve got no other alternative.
hope salesforce guys wud come up with the functionality through configurations :)
You can probably write salesforce about this and also keeps voting for the idea , so that salesforce thinks about rolling it out in their next release.
yeah u r right
You can, for very simple use cases.
For example, let's say when a "Owns a home" checkbox is checked on a lead, the "home owner" fields are displayed.
Create two record types (Owns a home, rents), with two page layouts respectively.
Put the "owns a home" checkbox on both page layouts. Put the "Home owner" fields ("Mortgage","PMI","HOA", etc.) only on the "Owns a home" page layout.
Create two workflow rules. One for when the checkbox is checked, one for whent it's unchecked. When it's checked, change the record type from "Rents" to "Owns Home". This will automatically change the page layout, so once the record is saved, the next time it refreshes the new fields show up.
The other workflow rule does the same thing in reverse. If the checkbox is unchecked, switch the recordtype back to "rents'.
This won't work for complex use cases... unless you want to have a LOT of permutations in your Page Layouts / Record Types.
It's time intensive, but it works.