Skip to content
+1-888-319-3663

HELP ARTICLE

Tracking UserID or Name when running the integration


If you wish to know who is running your integration process in SmartConnect.com. 

There are two possible solutions listed below using Global Variables.

Capture user email address

One way to accomplish this if you want to get the User email only:

1. Open the Integration Process > Integration > Additional Columns; Set a Name, for example, ‘ UserNameRecoder’ and Calculation as Selected Type.

2. Expand the Global Variables list and find GlobalUserID, then Drag and drop in the JavaScript Code section or type in the below code then click Save.
return this.GlobalUserID;

 

Go to the Target Integration Tab and map the Additional Column to the Target destination field where you wish to see the user email address. Now when you run the integration, the current user’s email address will be mapped to this field.

Prompt user for a value

Another option is to prompt user to type in a User Name value:

1. Create a new Global Variables, for example, “GBL_TEST” From Maintenance > Global Variables > Create Global Variables and Save.


2. Then open the Integration Process > Integration > Additional Columns; set a Name, for example, ‘ UserNameRecoder’ and Calculation as Selected Type. 
3. Expand the Global Variables list and find GBL_TEST, then Drag and drop in the JavaScript Code section or type in the below code then click Save.
return this.GBL_TEST;

4. Go to the Target Integration Tab and map the additional columns to the to the Target destination field where you wish to see the User Name.  
5. Go to the Variables Tab in the integration and click ‘Add Variable’; Add the GBL_TEST variable.
6. Check the box for ‘Select at Runtime’ and provide a value for ‘Runtime Prompt’
7. Save and run the integration. You should now be asked to provide a value for the variable.

 If you have questions, please reach out to our support team at support@eonesolutions.com

RECENT POSTS


Configuring Salesforce Integration User
Business Central Extension Publish Error
Re-registering a Change Data Source in Business Central on SmartConnect.com
Moving SmartConnect 21 to a new server
eConnect error 4628 - The Tracking Number (Tracking_Number) is empty

POPULAR POSTS


SSL Security error using OLEDB Connection
This implementation is not part of the Windows Platform FIPS validated cryptographic algorithms
Removed Part: /xl/vbaProject.bin part. (Visual Basic for Applications (VBA))
The server process could not be started because the configured identity is incorrect.
Using WINSCP and a task to upload or download files from an SFTP site

CATEGORIES

TAGS

Business Central CRM D365 Business Central Dynamics 365 dynamics crm Dynamics GP Dynamics NAV Econnect Employee Spotlight eone eOne News error Error Message Events Excel Excel Report Builder Extender Flexicoder GP integration Map Microsoft dynamics crm Microsoft Dynamics GP Navigation List Builder Office Relationships Partner All Hands Call Popdock promotions release Salesforce Salesforce.com SmartConnect SmartConnect.com SmartConnect Bootcamp SmartConnect Maps SmartConnect Office Hours SmartList SmartList Builder SmartPost SmartView SQL Tech Tuesday Templates training Zendesk

Integrate & Automate without Any Code.

SmartList Data has Never Been Faster.

The Easiest Way to Report on GP Data.