- Home
- Technical Library
- Partners
- Blog
- Ideas
- Code Share
-
Discussion Boards
- Announcements
- General Development
- New to Cloud
- Apex Code Development
- Visualforce Development
- Formulas & Validation Rules Discussion
- Security
- Force.com Sites
- Chatter Development
- Java Development
- .NET Development
- Perl, PHP, Python & Ruby Development
- Adobe Flash Builder for Force.com
- Desktop Integration
- Apple, Mac and OS X
- VB and Office Development
- Excel Connector
- AJAX Toolkit & S-controls
- Force.com Builder & Native Apps
- AppExchange Directory & Packaging
- Force.com Labs Projects
- Open Source
- Jobs Board - Developer
- Job Board - Administrators
- More
Discussions
- Announcements
- General Development
- New to Cloud Development
- Apex Code Development
- Visualforce Development
- Formulas & Validation Rules Discussion
- Security
- Force.com Sites
- Chatter Development
- Java Development
- .NET Development
- Perl, PHP, Python & Ruby Development
- Adobe Flash Builder for Force.com
- Desktop Integration
- Apple, Mac and OS X
- VB and Office Development
- Excel Connector
- AJAX Toolkit & S-controls
- Force.com Builder & Native Apps
- AppExchange Directory & Packaging
- Force.com Labs Projects
- Open Source
- Jobs Board - Developers
- Jobs Board - Administrators
- Force.com Discussion Boards
- :
- Developer Boards
- :
- Force.com Builder
- :
- Re: Referring to fields on related objects
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
Referring to fields on related objects
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
01-23-2006 11:15 PM
Re: Referring to fields on related objects
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
01-24-2006 10:22 AM
Re: Referring to fields on related objects
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
01-24-2006 01:37 PM
Re: Referring to fields on related objects
[ Edited ]- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
01-24-2006 01:49 PM - last edited on 01-24-2006 01:49 PM
At this point in the evolution of salesforce.com, the typical solution for this kind of problem is to write an scontrol that takes the Account Id and queries for opptys on that account and calcs the avg then writes it back to the field on the account and then refreshes the account screen.
The scontrol is invoked by the user clicking the "Update Avg Oppty Size" web link or formula field on the account detail screen. There just isn't any mechanism by which you can inject your custom logic in to the save operation.
Now, Daroz has been preaching heresy (def: A person who holds controversial opinions, especially one who publicly dissents from the officially accepted dogma of the Roman Catholic Church Salesforce.com.) about injecting script into various objects. See http://forums.sforce.com/sforce/board/message?boar
This kind of pre/post save logic is something that we are researching for a future release.
Message Edited by DevAngel on 01-24-2006 01:50 PM
Re: Referring to fields on related objects
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
01-24-2006 07:51 PM
DevAngel wrote:Now, Daroz has been preaching heresy (def: A person who holds controversial opinions, especially one who publicly dissents from the officially accepted dogma of the
Roman Catholic ChurchSalesforce.com.) about injecting script into various objects. See http://forums.sforce.com/sforce/board/message?board.id=scontrols&message.id=890. Please pay attention to all the stuff in RED.
It's feels good to be loved. ;) Thanks Dave.

