Skip to main content
Question

How do I add a folder with FME Packages SDK

  • November 21, 2024
  • 1 reply
  • 37 views

malthern
Participant
Forum|alt.badge.img

I have been using the FME Packager in Python to create my own transformers. I am trying to add an “images” folder to my package that my transformer will use however I get errors whenever I try to package my project.

This is my package.yml file, Ive been using the Hello World Package guide for references and trying to look up ways to do it

 


This is my file structure
 

This is the error I get
 

 

1 reply

debbiatsafe
Safer
Forum|alt.badge.img+21
  • Safer
  • 648 replies
  • December 20, 2024

Hello ​@malthern 

Apologies for a delayed response!

I did some testing and found that you cannot specify an image folder in package.yml as package validation will fail, as you have experienced.

However, you can place the image folder (or any other folder) inside either the help or transformers directory and the folder containing the images/files will be included in the output .fpkg.

I hope this information helps!