Log in Register FAQ Memberlist Search ContactReview Forum Index
A GoldMine Discussion and Support Community

ContactReview Forum Index » GoldMine 8 - 2019 (Premium Edition) » Detail Record Fields from Info Tab Merged into Email Temp?
Post new topic  Reply to topic View previous topic :: View next topic 
Detail Record Fields from Info Tab Merged into Email Temp?
PostPosted: Wed Oct 02, 2013 8:41 am Points: 0 Reply with quote
Bigjack3
n00b
Joined: 24 Apr 2012
Posts: 5




Prior to our Upgrade to Prem 9 SQL back end, our company had V6.7 Corp with Dbase back end and we had established a process where we would create a detail record for say an Invoice. Under that detail record we would add:
- Invoice # (Field 1 - Title)
- Invoice Amount (Filed 2 - LinkAcct)
- Inv Due Date (Filed 3 - Country)

We then created email templates that would merge that data into the email when that detail was selected.

i.e. - "Your Invoice # <<CONTSUPP->TITLE>> for $<<CONTSUPP->LINKACCT>> is due on or before <<CONTSUPP->COUNTRTY>>

We are looking to re-establish this type of process for a host of detail records and I cannot determine what syntax should replace <<CONTSUPP->TITLE>> etc to pull in the info Tab fields from a Detail Record in Premium 9

FR support said I should look at the Hackers Guide (which I have) but I do not see how this is done.

Any thoughts? Greatly appreciated.
View user's profile Send private message

PostPosted: Wed Oct 02, 2013 9:35 am Points: 0 Reply with quote
DougCastell
GoldMine Guru
Joined: 15 Jun 2006
Posts: 1639
Location: Los Angeles, CA




Your main problem is that when you send an e-mail, the contact might have 1 of those details or it might not. Or it might have 25 of them. The question, for GoldMine (when it's evaluating your email template) is which detail record you want the field data from. It's a tough question to answer. In some situations, the record that is currently highlighted on the contact will drive the data. It's obscure info, however.

This is from my internal knowledgebase:

Quote:
The &Profile/&Profiles macros can place profile data in a merge form.

Here is some information on the macros:

Current Selected Topic: Tech Info - Tools (Adv) - DDE Functions - GM4 -
General Info - &Profile/&Profiles

Topic: &Profile/&Profiles DDE macros
The &Profile(s) DDE macros retrieve the Profile information from the
selected contact.

The &Profile and &Profiles macros take optional parameters separated by a
period(.). The only difference between the two macros is that &Profile
returns the first matching record, while &Profiles returns all matching
records.

Although passing parameters with DDE macros is non-standard in GoldMine,
macros, not DDE commands have to be used in the case because the intended
use of &Profile(s) is for DDE fields in Word document templates (which
cannot take DDE commands). Following is the syntax of the &Profile(s)
macros:

&Profile.ProfileName.Reference.Flags
Retrieves the first profile matching the ProfileName and Reference.

&Profiles.ProfileName.Reference.Flags
Retrieves all profiles matching the ProfileName and Reference.

The Reference parameter is optional. If passed, the Reference parameter
acts as a "begins with" condition on the profile reference. If Reference
is not passed, all ProfileName profiles are evaluated.

The optional Flags parameter can be used to request the extended profile
fields by passing a 4. When Flags is 2, the ProfileName and Reference are
returned. Multiple fields are separated by a tab, while multiple profile
records are separated by CR/LF. This allows the &Profiles macro to easily
populate a Word table with the contact's profile information.

The following example returns the first e-mail address of the contact:

&Profile.E-mail Address

The following example returns all the computer profiles which begin with
the word 'notebook':

&Profiles.Computer.Notebook

The following examples use the Flag parameter to specify the profile
fields to return:

&Profile.Computer.Notebook
Returns:
Notebook ThinkPad 770

&Profiles.Computer.Notebook
Returns:
Notebook ThinkPad 770|
Notebook Compaq Elite|
Notebook Dell 1200|

&Profiles.Computer.Notebook.2
Returns:
Computer|Notebook ThinkPad 770|
Computer|Notebook Compaq Elite|
Computer|Notebook Dell 1200||

&Profiles.Computer.Notebook.4
Returns:
Computer|Notebook ThinkPad 770|IBM|233Mz|
Computer|Notebook Compaq Elite|Compaq|200mz|
Computer|Notebook Dell 1200|Dell|166mz|


I inserted the following into an e-mail template and it pulls the expected list of Computer detail records from my test contact.

<<&Profiles.Computer.Notebook.4>>

Obviously, it's not the level of granularity you're looking for, but maybe it's a point in the right direction.

If you upgraded your GoldMine appropriately, the same field codes that worked in your older GoldMine ought to still work in the new one. If you can dig up the format of your old templates, it might just work.

Please let us know what you figure out. This is good info that is somewhat lost to the sands of time...

_________________
Doug Castell

GoldMine Sales and Support:
http://www.castellcomputers.com/
office: (310)601-4738
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number

PostPosted: Wed Oct 02, 2013 9:46 am Points: 0 Reply with quote
Bigjack3
n00b
Joined: 24 Apr 2012
Posts: 5




Thanks Doug.

In regards to our upgrade...it was a brand new deployment as we had to re-license the software. We still have the CE6.7 running on an old XP machine.

The way it works in 6.7 is the user would have to select the specific detail (i.e. highlight the detail on the details tab, so if it was an invoice detail created today vs. yesterday they would highlight the detail record from today) then click communicate/email and select the appropriate template and it would populate data from the selected detail record.

I have played around with the &Profile(s) macro but that seems to just give me a dump of all the info, I am not longer able to merge in specific items and we have a host of email templates set up this way that when we reinvested in GM9 were the main driver for the software.

Also we copied identically the old email template formats into Prem 9 and that is when we realized this functionality was broken.
View user's profile Send private message

PostPosted: Wed Oct 02, 2013 10:17 am Points: 0 Reply with quote
DougCastell
GoldMine Guru
Joined: 15 Jun 2006
Posts: 1639
Location: Los Angeles, CA




FYI, it's possible to upgrade and re-license without losing all your old data.

As for the contsupp template thing, I see what you mean. Sad

I would suggest contacting GoldMine support directly and making some noise about this with them. They have put in place some new connections between tech support and development and supposedly have bug fixes, functionality regressions, etc. as a priority these days. Put them to the test! It's why you pay maintenance, right?

_________________
Doug Castell

GoldMine Sales and Support:
http://www.castellcomputers.com/
office: (310)601-4738
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number

PostPosted: Wed Oct 02, 2013 11:45 am Points: 0 Reply with quote
Bigjack3
n00b
Joined: 24 Apr 2012
Posts: 5




Ok, PROGRESS!!!

So I took every field from the CONTSUPP Detail record type listed in the hackers guide and dumped them into a test email template.
(each represented as <<CONTSUPP->FIELDNAME>>

Then I set up a detail record with all fields on the Info Tab filled in (i.e. "Field1" and "Field2" as the input)

1. I then (from the contact screen) Clicked - Communicate - Email and selected the template from the subject drop down.
At this point all fields were blank Sad (don't give up hope yet)

2. While the email tab was still open, I clicked over to the contact tab
3. Double Clicked the Detail Record that had the data entered as if I were going to edit or add data to it.
4. Clicked "OK" to close the detail record
5. Went back to the email and from the Subject drop down re-selected the template I wanted (I also tried where I selected another template and then re-selected the one I wanted)
6. Magically when the template refreshed all the info I was looking for was in the body text of the email.

Not the cleanest of solutions, but at least we appear to have continuity to our old CE processes.
View user's profile Send private message

PostPosted: Wed Oct 02, 2013 12:23 pm Points: 0 Reply with quote
DougCastell
GoldMine Guru
Joined: 15 Jun 2006
Posts: 1639
Location: Los Angeles, CA




nice! I can confirm the same behavior in version 2013.1.0.136

Definitely report it to Frontrange support as it is certainly a bug -- an OLD one, but a bug all the same!

_________________
Doug Castell

GoldMine Sales and Support:
http://www.castellcomputers.com/
office: (310)601-4738
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number

PostPosted: Thu Oct 03, 2013 6:28 am Points: 0 Reply with quote
DJ
GoldMine Guru
Joined: 29 Jun 2006
Posts: 2055
Location: Fitchburg, MA, USA




Actually, that is pretty much how I have been sending out my Appointment notices for years. I have a E-mail Template that pulls information from the Calendar. You don't need to go through all the steps that you have done but the key issue is that the Cal record or in your case the Detail record has a Pointer ( Focus ) when you launch and select your E-mail Template.

Here is one section of the template:

Meeting Date: <<wdate(Cal->OnDate, 3)>>

So here is how I've made this work since 1988. With the Template pre-created, I Schedule the meeting for the client, and immediately upon clicking the Schedule a Meeting OK button I click on the Label E-mail. In the Subject line I type ses and click the drop arrow to select the Session Request with DJ Fulfilled E-mail Template. Voila! The template is populated with the appropriate Calendar information, and I just click send.

There are a few instances where the Cal record has lost focus before I launch the E-mail. In those cases, I simply Edit the Cal record, add two or three spaces at the end of the Cal.Ref line and then click the OK button again. Now I immediately click on the Label E-mail, select my Template and all is good.

The key is that the Cal record or the Detail record must have the Focus as you are sending the E-mail.

Bug? I think not. Training issue? I think so.

Thanks for purchasing my book.

_________________
DJ Hunt

Phone: (978)342-3333
Email: DJ@DJHunt.US

GoldMine Premium - The Defintive Guide
One-on-One GoldMine Technical Support ( Fee Based )
www.DJHunt.US
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number

PostPosted: Thu Oct 03, 2013 9:00 am Points: 0 Reply with quote
DougCastell
GoldMine Guru
Joined: 15 Jun 2006
Posts: 1639
Location: Los Angeles, CA




the point is that in gmpe current-ish builds, focus isn't enough when it comes to detail records. Once must edit/ok the detail record before it will be picked up in the email template. Try it and you'll see.

_________________
Doug Castell

GoldMine Sales and Support:
http://www.castellcomputers.com/
office: (310)601-4738
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number

PostPosted: Mon Oct 07, 2013 7:49 am Points: 0 Reply with quote
DJ
GoldMine Guru
Joined: 29 Jun 2006
Posts: 2055
Location: Fitchburg, MA, USA




I think that I just said that above. You either have to create it New or Edit it to give it focus.

Read what was already said Doug.

That is how GoldMine has always worked when merging anything other than Contact1/Contact2 fields.

_________________
DJ Hunt

Phone: (978)342-3333
Email: DJ@DJHunt.US

GoldMine Premium - The Defintive Guide
One-on-One GoldMine Technical Support ( Fee Based )
www.DJHunt.US
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number

Detail Record Fields from Info Tab Merged into Email Temp?
  ContactReview Forum Index » GoldMine 8 - 2019 (Premium Edition)
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 7 Hours  
Page 1 of 1  

  
  
 Post new topic  Reply to topic  


Brought to you by Castell Computers, Doug Castell, Admin
RSS Feed
Powered by phpBB © 2001-2004 phpBB Group
Theme created by Vjacheslav Trushkin