Skip to main content
Question

How do I get the data set title (or name) in DataDownload_Email_JobSuccess?

  • November 15, 2018
  • 8 replies
  • 57 views

Forum|alt.badge.img

This is the email format I am using as email notification for datadownload:

<fmeblock type="optional">Thank you for using the ABC Portal. Your requested download of the dataset is now available under the following link:

 

 

{downloadUrl}

 

#### (here I need to list down all the dataset title / name) ####

 

 

Please note that the link is only valid for 24 hours. After this time period you have to request the download of your selected dataset in the ABC Portal again.

 

 

With kind regards,

 

 

The team of the ABC Portal

 

 

--

 

ABC Data Portal

 

www: https://ABCportal/index.html?lang=en

 

e-mail: info@abc.com

 

</fmeblock>

 

---------- i have a published parameter names 'FEATURE_TYPES' and this can contain all the dataset name but how I can use it here inside DataDownload_Email_JobSuccess Email Template?

 

Kind Regards

Muqit Zoarder

8 replies

redgeographics
Celebrity
Forum|alt.badge.img+47

Check the Client Custom Keywords section here, that should get you going.


Forum|alt.badge.img
redgeographics wrote:

Check the Client Custom Keywords section here, that should get you going.

This means I have to rename my published parameter with preifx nm_ ? So I will rename nm_FEATURE_TYPES instead FEATURE_TYPES? Then i can mention it directly in my email template as

{nm_FEATURE_TYPES} ?


Forum|alt.badge.img
redgeographics wrote:

Check the Client Custom Keywords section here, that should get you going.

It did not succed. I failed to rename my existing published parameter to nm_ because somewhere in my workflow i cannot not rename it and it is a binding. Else what I can do now to extract information of downloding datasets titel? In log file we have all the dataset names, can I use from logfile in my email body? but in keyword i did not find name which can provide me dataset names from a logfile (fme server job log file). Please help me in this regards.

 

Thanks and have a nice weekend.


Forum|alt.badge.img+2
mjoarder_pln wrote:

It did not succed. I failed to rename my existing published parameter to nm_ because somewhere in my workflow i cannot not rename it and it is a binding. Else what I can do now to extract information of downloding datasets titel? In log file we have all the dataset names, can I use from logfile in my email body? but in keyword i did not find name which can provide me dataset names from a logfile (fme server job log file). Please help me in this regards.

 

Thanks and have a nice weekend.

Hi @mjoarder_pln,

What do you mean somewhere in your workspace it is binding? If you change the published parameter name under User Parameters in the Navigator window these changes should be applied downstream without you having to find every reference to the published parameter in the workspace.

This is by far the best method to use published parameters in an email template however when you refer to them you do not need to include the nm_ so it would simply by {FEATURE_TYPES}. When it is correctly referenced does it still not work?

Set up in Workbench:

 

Set up in FME Server Email:


Forum|alt.badge.img
hollyatsafe wrote:

Hi @mjoarder_pln,

What do you mean somewhere in your workspace it is binding? If you change the published parameter name under User Parameters in the Navigator window these changes should be applied downstream without you having to find every reference to the published parameter in the workspace.

This is by far the best method to use published parameters in an email template however when you refer to them you do not need to include the nm_ so it would simply by {FEATURE_TYPES}. When it is correctly referenced does it still not work?

Set up in Workbench:

 

Set up in FME Server Email:

HI, nm_FEATURE_TYPES published parameter name is troubling me a lot., it is not working, but if i remove nm_ then it works, am adding my log information here below:(please look at it):

Mi-31-Jul-2019 09:49:48.039 AM INFORM https-jsse-nio-443-exec-53 410017 : The request URL is: https://b-fme-e.bonares.de/fmedatadownload/bonares/dbexport.fmw?nm_FEATURE_TYPES=V140_MUN.V1_1_PARZELLE&DEST_FORMAT=XLSXW&DEST_COORDSYS=EPSG%3A4326&mapapps_etl_user=zoarder&project=BonaRes&opt_requesteremail=zoarder%40zalf.de&opt_showresult=false&opt_servicemode=async&opt_requesteremail=zoarder%40zalf.de

 

Mi-31-Jul-2019 09:49:48.039 AM FATAL https-jsse-nio-443-exec-53 411008 : Service failed: COM.safe.fmeserver.api.FMEServerException: Unauthorized request by user guest due to lack of proper permissions.

 

Mi-31-Jul-2019 09:49:48.039 AM WARN https-jsse-nio-443-exec-53 410016 : Server authentication exception. Now sending a challenge

 

Mi-31-Jul-2019 09:49:48.039 AM INFORM https-jsse-nio-443-exec-53 411009 : Request handling completed.

Forum|alt.badge.img

Also i am finding this error if I use the name "nm_FEATURE_TYPES":

Destination Feature Type Routing Correlator(RoutingFactory): MULTI_WRITER: No dataset was specified for MULTI_WRITER_DATASET or GENERIC_1_DATASET or GENERIC_DATASET

Abnormal termination of the Geodatabase reader


Forum|alt.badge.img
hollyatsafe wrote:

Hi @mjoarder_pln,

What do you mean somewhere in your workspace it is binding? If you change the published parameter name under User Parameters in the Navigator window these changes should be applied downstream without you having to find every reference to the published parameter in the workspace.

This is by far the best method to use published parameters in an email template however when you refer to them you do not need to include the nm_ so it would simply by {FEATURE_TYPES}. When it is correctly referenced does it still not work?

Set up in Workbench:

 

Set up in FME Server Email:

Also I am getting the following error if i use nm_FEATURE_TYPES :

Destination Feature Type Routing Correlator(RoutingFactory): MULTI_WRITER: No dataset was specified for MULTI_WRITER_DATASET or GENERIC_1_DATASET or GENERIC_DATASET

Abnormal termination of the Geodatabase reader


redgeographics
Celebrity
Forum|alt.badge.img+47
mjoarder_pln wrote:

Also i am finding this error if I use the name "nm_FEATURE_TYPES":

Destination Feature Type Routing Correlator(RoutingFactory): MULTI_WRITER: No dataset was specified for MULTI_WRITER_DATASET or GENERIC_1_DATASET or GENERIC_DATASET

Abnormal termination of the Geodatabase reader

You can make a Private Parameter nm_FEATURE_TYPES and have that be filled with the public parameter FEATURE_TYPES.


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings