Microsoft Dynamics GP 2016 Cookbook
上QQ阅读APP看书,第一时间看更新

Developing connections with Internet User Defined fields

Dynamics GP provides a built-in set of Internet fields for users to enter information such as web pages, e-mail addresses, and FTP sites. What many people don't know is that these are actually user-defined fields and can be changed by an administrator, which allows a firm to add a second email address or remove the FTP link if they want to. In this recipe, we'll look at how to customize these fields.

It is important to keep in mind, when setting up Internet User Defined fields, that these settings affect all the Internet User Defined field names attached to address IDs assigned to a company, customers, employees, items, salespeople, and vendors.

How to do it…

Customizing Internet User Defined fields is easy, so let's take a look at how to do it. For our example, we'll add the social networking service Twitter as a new label:

  1. Select Administration from the Navigation pane. Under the Setup option and Company headers in the Administration Area page, pick Company.
  2. Click the Internet User Defined button and change the image description next to Label 4 to Twitter. Click OK:
  3. Back on the Company Setup screen, click the globe icon to the right of the Address ID to open the Internet Information window. In the Twitter field type http://www.twitter.com/azurecurve.
  4. Click the link associated with the Twitter field on the left. This opens a web browser and navigates to my Twitter account so that you can follow me. Click Save to update the record:

How it works…

The secret to Internet User Defined fields is how the data is entered. Internet items use a prefix in the field to identify the type of internet transaction to be used with the link. http:// is used for web pages, Mailto:// for e-mail, and ftp:// for FTP sites. These prefixes tell Dynamics GP what to do when a link is clicked; if no prefix is entered, it will try to figure out what to do and may or may not succeed.

If Microsoft web page. If http:// is not included, but www is, GP figures out that it should open a web page. Just putting in Microsoft.com isn't enough for GP to understand that the link corresponds to a web page. Similarly, if a user enters mailto://mpolino@gmail.com and clicks the link, the default email client opens up ready to send an email to me. If no prefix is used on an email address, GP will respond with a File Not Found error when the link is clicked. It's not smart enough to know that the @ symbol means that this is an e-mail account.

Using a prefix in Internet User Defined fields explicitly defines how this link should work and provides the most consistency to users.

There's more…

Some Internet User Defined fields look special but aren't and some really are special.

Login and password

By default, the Internet User Defined field Label 5 is named Login and Label 6 is named Password. These fields are supposed to represent the login and password for one of the associated web pages or FTP sites. However, these fields are not encrypted and there is limited security control, so it may be not be appropriate to leave these fields named Login and Password if a company doesn't want users entering that information here.

Labels 7 and 8

Labels 7 and 8 are Internet User Defined special fields that allow a user to look up and attach links to files located on the computer or the network. Clicking the label name on the left opens the associated file. Other fields can accept files and these fields can still accept a prefix and link or freeform text, but their special ability to lookup file names means that administrators should consider reserving them for file attachments.

See also

  • Chapter 8, Harnessing the Power of SmartLists
  • Going straight to the site with web links
  • Getting clarity with user-defined fields