Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

On the server hosting the

D s platform
, type definitions are stored in the following directory:

Code Block
/opt/trifacta/js-datanode_modules/jsdata/type-packs/trifacta

This directory is referenced as $CUSTOM_TYPE_DIR in the steps below.

Warning

Before you begin creating custom data types, you should backup the type-packs/trifacta directory to a location outside of your

D s item
itemdeployment
.

...

To the $CUSTOM_TYPE_DIR/manifest.json file, you must add the filenames of any custom types that you have created and stored in the types directory:

Code Block
{
  "types": ["bodies-of-water.json", "dayofweek.json"],
  "dictionaries": ["oceans", "seas"]
} 


Enable custom types

To enable use of your custom data types in the

D s platform
, locate and edit enabledSemanticTypes property.

...