Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
com
What is STEROID? STEROID is the worlds-first custom components framework for Force.com platform. STEROID is a library of re-usable capabilities and features for Desktops and Mobile devices
Why STEROID? STEROID impacts both the Business and IT positively. STEROID provided some of the key performance enhancing features for business through Configurable Keyboard Shortcuts, Simple Wizard Flows, Porting Salesforce to Mobile Devices, Smart & Dynamic Lists and Inline Reference Data components. STEROID also reduces IT & Operational budgets by providing simple to use components delivering compact, precise and manageable code artifacts. 90% of the STEROID components are realized with juts one line of code. Our lab benchmarks recorded over 70% reduction in development times and over 80% reduction in testing/quality cycles
How to use STEROID? STEROID is a 100% native application, and is a natural extension to developing on Force.com platform. One would use STEROID the same way as the other Visualforce components. STEROID will be enabled for any given Visualforce page by 2 simple steps 1. Add STEROID.RuntimeExtension as one of extension to the VF Page 2. Include <STEROID:LIBRARY> component with as shown below
<apex:page StandardController=Lead Extensions=STEROID.RuntimeExtension> <STEROID:Library id=steroid/> //Include other STEROID and/or Standard Visualforce Components as needed </apex:page>
<apex:page standardcontroller="Lead" Extensions=STEROID.RuntimeExtension> <apex:sectionheader title="Lead Edit" subtitle="New Lead"/> <STEROID:library id=steroid/> <apex:form> <apex:pageblock mode="edit" title="Lead Edit"> <apex:pageblockbuttons> <apex:commandbutton value="Save" action="{!Save}"/> <apex:commandbutton value="Cancel" action="{!Cancel}"/> </apex:pageblockbuttons> <STEROID:Section Heading=" Lead Information" Runtime="{!runtime}" Fieldslist="OwnerId, FirstName, MobilePhone, LastName, Fax,Company, Email, Title, Website, LeadSource, Status, Industry, Rating, AnnualRevenue,NumberOfEmployees/> <STEROID:Section Heading="Address Information" Runtime="{!runtime}" Fieldslist="Street,City,State,PostalCode,Country/> <STEROID:Section Heading=" Description Information" Columns=1 Runtime="{!runtime}" Fieldslist="Description/> </apex:pageblock> </apex:form> </apex:page>
Syntax
<STEROID:CompoundAction Runtime={!Runtime} Type=SaveAndClose Label=Save & Close/> Use this component when you need to combine Save action with NEW OR CLOSE actions. Save & New action saves the current record and navigates the user to the new record page. Save & Close action saves the current record and navigates the user back to the object Tab page.
When to use
Yes No No No
<STEROID:DataHover Runtime={!Runtime} Anchor=Popup Source Field Id ObjectId={!Opportunity.AccountId} FieldsList=Name,AccountNumber,Type,Phone,Fax Title=Account Information Width=24% FrameColor=#EEE BodyColor=#F1F1F1 /> Use this component when you need to show data from a Related Object when the user hovers over a specific field
When to use
Scope FieldSize
No No
IndicatorBodyColor No
IndicatorTextColor
No
Syntax
<STEROID:Directive Runtime="{!runtime}" Type="OptimizeFieldSizes" Fieldsize="40%" Scope="PageForm"/> Use this component to adjust the size of the fields for a uniform visual appearance and for to display the remaining character size while entering data in a specific field (for which a maximum character limit is set)
When to use
<STEROID:Highlighter Runtime="{!runtime}" Condition="{!opportunity.stagename !='Closed Won'}" Color="#0F0 " Fieldslist="StageName " /> Use this component to highlight a set of fields based on a business rule
When to use
<STEROID:List Runtime="{!runtime}" Object="Opportunity" Columns="Name,AccountId,StageName,Amount" New="{!URLFOR($Action.Opportunity.New)}" Title="Open Opportunities" WhereClause="stageName ='Prospecting'" FrameColor="#EEE"/> Use this component to display smart & qualified lists like all Open Opportunities OR All Close Cases etc
When to use
Yes No No
<STEROID:ReferenceData Runtime={!Runtime} Anchor=Popup Source Field Id ObjectId={!Opportunity.AccountId} FieldsList=Name,AccountNumber,Type,Phone,Fax Title=Account Information FrameColor=#EEE BodyColor=#F1F1F1 /> Use this component when you need to show data from a Related Object inline with the parent data
When to use
<STEROID:Section Runtime="{!Runtime}" Heading="Opportunity Information" Mode="Detail" Guidance="Please fill-in all the fields" Fieldslist="Name,Type,CloseDate,StageName,Description"/> Use this component to quickly create a section in Edit OR Detail mode.
When to use
<apex:actionFunction name="QuickSave" action="{!QuickSave}"/> <STEROID:Shortcut Runtime="{!Runtime}" Sequence="Ctrl-Q" KeyAction="QuickSave" Label="Quick Save" Message="Performing Quick Save...." />
When to use
<STEROID:Step Runtime="{!Runtime}" Position="1" Heading="General Information" Guidance="Please provide general information" Fieldslist="Name,StageName,Type,LeadSource"/> Use this component to create a step in a wizard
When to use
<STEROID:Sticky Runtime="{!Runtime}" Message="Sticky Message" Position="middle" Condition="{!Opportunity.stageName ='Needs Analysis'}" Title="Sticky Title"/> Use this component to display contextual business alerts
When to use
<SEROID:TextHover Runtime="{!Runtime}" Anchor="Anchor Id" Text="Popup Text"/> Use this component when you need to show popup Text when the user hovers over a specific field
When to use
<STEROID:Wizard steps="3" runtime="{!runtime}" title="Opportunity" subtitle="Creation Wizard"> <STEROID:Step runtime="{!runtime}" position="1" fieldslist="name,stagename"/> <STEROID:Step runtime="{!runtime}" position="2" fieldslist="Amount,ExpectedRevenue"/> <STEROID:Step runtime="{!runtime}" position="3" fieldslist="AccountId"/> </STEROID:Wizard> Use this component to create a multi-page wizard
When to use