Difference between revisions of "Design Options"

From AgileApps Support Wiki
imported>Aeric
imported>Aeric
Line 16: Line 16:


:* '''Add computations to a report'''
:* '''Add computations to a report'''
    ?-for vertical groups (not horizontal)?
:: ?-for vertical groups (not horizontal)?
    --Can be added by person creating report, without changing
:: --Can be added by person creating report, without changing object structure, but may be replicated in multiple reports.
      object structure, but may be replicated in multiple reports.
:: --Works for a vertical grouping only. Not for horizontal groups.
    --Works for a vertical grouping only. Not for horizontal groups.
:: --In horizontal grouping docs, point users to the Rollup Summary Fields<br>(BUT: Is it possible to show those values in the summary record??)
    --In horizontal grouping docs, point users to the Rollup Summary Fields
      (BUT: Is it possible to show those values in the summary record??)
:: ''Learn more:'' [[Reports#Compute]]
:: ''Learn more:'' [[Reports#Compute]]


:* '''xx'''
:* '''xx'''
  --accurate as long as all changes are made in the subform
:: --accurate as long as all changes are made in the subform
  --does not reflect changes made in APIs or in a view of the related records
:: --does not reflect changes made in APIs or in a view of the related records
  --column totals only (can also sort by a selected field in ascending or descending order)
:: --column totals only (can also sort by a selected field in ascending or descending order)
:: ''Learn more:'' [[Subforms]]
:: ''Learn more:'' [[Subforms]]


:* '''xx'''
:* '''xx'''
  --work for formula fields with a numeric return type, as well as numeric fields
:: --work for formula fields with a numeric return type, as well as numeric fields
  --work for number w/decimal and percentage, as well as number and currency
:: --work for number w/decimal and percentage, as well as number and currency
  --does not work for boolean or Date fields
:: --does not work for boolean or Date fields
::* Asynchronous (default)
::* Asynchronous (default)
  --occurs in background, but may not be accurate for short
:: --occurs in background, but may not be accurate for short periods of time (as determined by Service Provider, not tenant)
      periods of time (as determined by Service Provider, not tenant)
::* Synchronous
::* Synchronous
  --always accurate
:: --always accurate
  --available in AgileApps cloud
:: --available in AgileApps cloud
  --compute-intensive
:: --compute-intensive
  --To ensure maximum performance, a [[Service Provider]] can make them
:: --To ensure maximum performance, a [[Service Provider]] may make them unavailable in a hosted installation
      unavailable in a hosted installation
:: ''Learn more:'' [[Rollup Summary Fields]]
:: ''Learn more:'' [[Rollup Summary Fields]]


:* '''xx'''
:* '''xx'''
  --can be used for unrelated records (no lookup required)
:: --can be used for unrelated records (no lookup required)
  --only calculated when the record that contains the function is updated
:: --only calculated when the record that contains the function is updated
  --does not automatically reflect changes in the other records
:: --does not automatically reflect changes in the other records
  --work only for a small set simple numeric fields only  
:: --work only for a small set simple numeric fields only  
      (number, currency, and boolean for SUM, AVG.
:::  - number, currency, and boolean for SUM and AVG
      number, currency, date for MAX and min)
:::  - number, currency, date for MAXIMUM and MINIMUM
    --Does not work for formula fields that return a numeric type
:: --Does not work for formula fields that return a numeric type
    --Use these to operate on Boolean and Date values
:: --Use these to operate on Boolean and Date values
  ?-can be used in Formula fields, but are not available in condition
      expressions or field-update expressions in Rules
:: ''Learn more:'' [[Aggregate Functions]]
:: ''Learn more:'' [[Aggregate Functions]]

Revision as of 20:22, 23 May 2014

The platform frequently provides multiple ways to get the job done. This page provides an index of options for common tasks.

Copying Data from Another Record

  • If you have a Lookup field that targets a record you want to copy from, you can automatically copy the data as part of the Lookup settings. This mechanism works for simple data fields like text, number, and dates. When the user selects a Lookup target, the field data is automatically copied.
Learn more: Lookup#Copy Data
  • If you have more complex data like formula calculations or attachments, you can put a Rule in a Rule set, and invoke that Rule Set whenever a record is added or updated. In this case, you define the rules on the object you want to copy from, and then update the record you want to copy to.
Learn more:
  • To copy complex data from a target record, add post-selection JavaScript to the definition of the Lookup field.
Learn more: Post Selection JavaScript#Copy a Field from Another Record

Summarizing Data from Multiple Records

  • Add computations to a report
?-for vertical groups (not horizontal)?
--Can be added by person creating report, without changing object structure, but may be replicated in multiple reports.
--Works for a vertical grouping only. Not for horizontal groups.
--In horizontal grouping docs, point users to the Rollup Summary Fields
(BUT: Is it possible to show those values in the summary record??)
Learn more: Reports#Compute
  • xx
--accurate as long as all changes are made in the subform
--does not reflect changes made in APIs or in a view of the related records
--column totals only (can also sort by a selected field in ascending or descending order)
Learn more: Subforms
  • xx
--work for formula fields with a numeric return type, as well as numeric fields
--work for number w/decimal and percentage, as well as number and currency
--does not work for boolean or Date fields
  • Asynchronous (default)
--occurs in background, but may not be accurate for short periods of time (as determined by Service Provider, not tenant)
  • Synchronous
--always accurate
--available in AgileApps cloud
--compute-intensive
--To ensure maximum performance, a Service Provider may make them unavailable in a hosted installation
Learn more: Rollup Summary Fields
  • xx
--can be used for unrelated records (no lookup required)
--only calculated when the record that contains the function is updated
--does not automatically reflect changes in the other records
--work only for a small set simple numeric fields only
- number, currency, and boolean for SUM and AVG
- number, currency, date for MAXIMUM and MINIMUM
--Does not work for formula fields that return a numeric type
--Use these to operate on Boolean and Date values
Learn more: Aggregate Functions