Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Script to email report layout

Featured Replies

Hi gurus,

 

I have a flat database what contains username, phone ext, department, and email address. I created a layout report grouped by department. I would like to create a script that sends the layout to each user using the email on the database.

 

Can someone guide me or point me to a sample script.

 

Thanks

JMart 

Take a look at Menu »» File »» Send

The Script Step is found in the Script Workspace as a step , it will give you the same form as in the Send Mail, found under the File »» Send.

Here is the link to the Help online for Send Mail

I just noticed that some of the files in your Template folder, that came with your application, have an example of the Send Mail script. here the one in Assets.com

Set Error Capture [ On ]
If [ not IsEmpty ( Assets::Selected File Container )  and $$PLATFORM ≠ "Web" ] 
	Set Variable [ $PATH ; Value: Get ( TemporaryPath ) & Assets::Selected File Container ] 
	Export Field Contents [ Assets::Selected File Container ; “$PATH” ] 
End If
Send Mail [ Send via E-mail Client ; With dialog: On ; Subject: "Asset: " & Assets::Item & If ( not IsEmpty ( Assets::Category ) ; " [" & Assets::Category & "]" ; "" ) ; Message: If ( not IsEmpty ( Assets::Item ) ; "Item: " & Assets::Item  & ¶  ; "" ) & If ( not IsEmpty ( Assets::Category ) ; "Category: " & Assets::Category  & ¶ ; "" ) & If ( not IsEmpty ( Assets::Model ) ; "Model: " & Assets::Model  & ¶ ; "" ) & If ( not IsEm…" ; “$PATH” ] 

That you can use as an example.

Lee

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Account

Navigation

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.