SeedCodeComplete2

Recent Items

SeedCodeComplete2.RecentItems History

Hide minor edits - Show changes to output

Changed lines 41-45 from:
We also have a relationship on the graph from the recent item to its primary record (it's contact, project, or invoice), so you can add fields directly to these recent portals. The will only show up for the primary records, however, not for related events. To do this, enter layout mode and navigate to the Recent tab you're interested in, then add a field from the table occurrence related to recent items: if you're working on Contacts, for example, the table occurrence would be "ContactRecent_Contacts". You'll likely want to apply the same conditional formatting to this field that we've used on the display field already there.
to:
We also have a relationship on the graph from the recent item to its primary record (it's contact, project, or invoice), so you can add fields directly to these recent portals. The will only show up for the primary records, however, not for related events. To do this, enter layout mode and navigate to the Recent tab you're interested in, then add a field from the table occurrence related to recent items: if you're working on Contacts, for example, the table occurrence would be "ContactRecent_Contacts". You'll likely want to apply the same conditional formatting to this field that we've used on the display field already there.

!! Refreshing Recent Items on Startup

Recent items are refreshed during startup as part of the script "Upon Opening", you can turn this off for a [[ Speed | quicker opening]] if you'd like
.
Changed lines 3-4 from:
The "recent" column in the left hand side bar shows those items which have been created or modified recently.
to:
The "recent" column in the left hand side bar shows those items which have been created or modified recently. Clicking on an item listed in the recent column takes you to that item's record.
Changed lines 7-8 from:
xbsff
to:
All configuration is doe in the script "Recent" in a set of variables declared before my favorite line in any script "You shouldn't have to edit below this line"
Changed lines 13-15 from:
asgggsf
Time range and fields per
table
to:
The "Recent" script declares a time-range and a set of fields, wherein changes will count toward recent items. For example the variables $sc_RecentDaysAgo and $sc_RecentHoursAgo are set like this for edits to the contacts table:

-> On Mondays, look back 2 days, all other days, look for edits in the last 1 hour.

So the "Recent" script will search the contacts table for modifications made within those time frames. Once it finds modified records, it looks at the [[change log]] for each record to see if any of certain fields were edited. The variable $sc_RecentFields tells us which fields should count toward recent changes: so for example we count edits to a contact's name, notes, or status, but not changes to their address. New records always count as edits.

Now that the script has found edits made to relevant fields within the time frame, it describes the edit according to how that table is configured to be described: this is done in the script "Recent" after the comment "How to I describe  / name this record?".

Changed lines 3-4 from:
dvasdasdgas
to:
The "recent" column in the left hand side bar shows those items which have been created or modified recently.
July 04, 2010, at 03:13 PM by 76.22.123.157 -
Changed lines 4-5 from:
incl, config
to:

!! Configuration

xbsff

Changed lines 28-36 from:
In addition, your new table will need to be added to the [[change log]].
to:
In addition, your new table will need to be added to the [[change log]].

!! How would I add fields to the display of recent items, or change the display?

The display itself is constructed in the script "Recent" in two places. First, in a SetVariable line right after the comment "Set the content we'll show in Recent", and again in another SetVariable, right after the comment "Set the content for EVENTS we'll show in Recent."

You may want to duplicate these lines as backup before editing them.

We also have a relationship on the graph from the recent item to its primary record (it's contact, project, or invoice), so you can add fields directly to these recent portals. The will only show up for the primary records, however, not for related events. To do this, enter layout mode and navigate to the Recent tab you're interested in, then add a field from the table occurrence related to recent items: if you're working on Contacts, for example, the table occurrence would be "ContactRecent_Contacts". You'll likely want to apply the same conditional formatting to this field that we've used on the display field already there
.
July 04, 2010, at 02:33 PM by 76.22.123.157 -
Changed lines 23-24 from:
The main tables we use in "Recent" -- contacts, projects, and invoices -- have their names hard-coded in several places in the "Recent" script and in the script "End Recent...". You'll need to walk through this script line by line and add an element for your new table each time you see these three tables referred to.
to:
The main tables we use in "Recent" -- contacts, projects, and invoices -- have their names hard-coded in several places in the scripts "Recent", "Click on Recent Item", and "End Recent...". You'll need to walk through this script line by line and add an element for your new table each time you see these three tables referred to.
July 04, 2010, at 05:19 AM by 76.22.123.157 -
Changed lines 17-18 from:
In order for a field's modification to qualify a record to show up in recent items, the field needs to a) be part of the [[change log]]calc for z_ChangeLog in that fields table in SeedCodeCompleteData, and b) the field needs to be included in the $sc_RecentFields variable, declared in the script "Recent" after the comment "Which fields should count toward recent changes?"
to:
As described above, any edit to a field in the change log will cause the record to show up in "Recent" so all you have to do is make sure your new field is a part of the [[change log]]calc for z_ChangeLog in that fields table in SeedCodeCompleteData.

If you want edits to the field to be singled out the way we do with Project Status, the the field also
needs to be included in the $sc_RecentFields variable, declared in the script "Recent" after the comment "Which fields should count toward recent changes?"
July 04, 2010, at 04:42 AM by 76.22.123.157 -
Changed lines 21-22 from:
The main tables we use in "Recent" -- contacts, projects, and invoices -- have their names hard-coded in several places in the "Recent" script. You'll need to walk through this script line by line and add an element for your new table each time you see these three tables referred to.
to:
The main tables we use in "Recent" -- contacts, projects, and invoices -- have their names hard-coded in several places in the "Recent" script and in the script "End Recent...". You'll need to walk through this script line by line and add an element for your new table each time you see these three tables referred to.
July 04, 2010, at 04:42 AM by 76.22.123.157 -
Changed lines 4-5 from:
to:
incl, config
Changed lines 8-9 from:
zcbafba
to:
!! What makes an edit fall into the "recent" view?

asgggsf
Time range and fields per table

July 04, 2010, at 04:41 AM by 76.22.123.157 -
Added lines 1-10:
!! Overview

dvasdasdgas

! What constitutes "Recent"?

zcbafba

! Extending "Recent"

July 04, 2010, at 04:39 AM by 76.22.123.157 -
Changed lines 3-9 from:
In order for a field's modification to qualify a record to show up in recent items, the field needs to a) be part of the [[change log]]calc for z_ChangeLog in that fields table in SeedCodeCompleteData, and b) the field needs to be included in the $sc_RecentFields variable, declared in the script "Recent" after the comment "Which fields should count toward recent changes?"
to:
In order for a field's modification to qualify a record to show up in recent items, the field needs to a) be part of the [[change log]]calc for z_ChangeLog in that fields table in SeedCodeCompleteData, and b) the field needs to be included in the $sc_RecentFields variable, declared in the script "Recent" after the comment "Which fields should count toward recent changes?"

!! How can I add a "Recent" portal for a whole new table?

The main tables we use in "Recent" -- contacts, projects, and invoices -- have their names hard-coded in several places in the "Recent" script. You'll need to walk through this script line by line and add an element for your new table each time you see these three tables referred to.

In addition, your new table will need to be added to the [[change log]].
July 04, 2010, at 04:29 AM by 76.22.123.157 -
Added lines 1-3:
!! How do I add new fields or actions to recent items?

In order for a field's modification to qualify a record to show up in recent items, the field needs to a) be part of the [[change log]]calc for z_ChangeLog in that fields table in SeedCodeCompleteData, and b) the field needs to be included in the $sc_RecentFields variable, declared in the script "Recent" after the comment "Which fields should count toward recent changes?"
(855) SEEDCODE
[email protected]
Follow us: