The Attributes to Output setting gives the option of outputting all attributes, or only those that have a checkmark next to them, as above. They can do this by visiting the custom transformer definition, viewing the output port object, and there choosing which attributes are to be output: The workspace author should clean up this output. It has renamed ports and a specific output port to deal with bad features, but it is outputting more attributes than are useful: Here a custom transformer is calculating the average area of a number of polygon features. We should hide or remove any attributes that are part of a calculation, or any attributes that are otherwise generated inside the custom transformer but aren’t necessary to the output. Handling Outgoing Attributesīesides incoming attributes, there is also the question of what attributes should emerge from the output of a custom transformer.īest Practice suggests that we shouldn't output more attributes than are expected by the user. Now PostalCode becomes available to the StringConcatenator and, additionally, made into a user parameter so that back on the main canvas the custom transformer can accept a different attribute selection should PostalCode not be available. They do so by inspecting the parameters for the Input port, where they are able to specify other incoming attributes to expose: Therefore the author must expose that attribute. It was not being used when the custom transformer was created. The author wishes to concatenate AddressID and PostalCode.ĪddressID is available in the custom transformer because it was being used when the custom transformer was created (and Handle With Published Parameters was set). General Settings Plugins Plugins and their configurations are specified in the book.json. For authors unfamiliar with the JSON syntax, you can validate the syntax using tools such as JSONlint. These options are specified in a book.json file. Handling Incoming AttributesĪttributes entering a custom transformer are handled using a setting inside the transformer definition.Īs an example, an author puts a StringConcatenator inside a newly created custom transformer. Configuration GitBook allows you to customize your book using a flexible configuration.
![gitbook editor configuration file gitbook editor configuration file](http://wpsites.net/wp-content/uploads/2011/07/cPanel-File-Manager-public_html-Wp-Config.php_.png)
There also needs to be a mechanism for handling future edits to a custom transformer (or where the custom transformer is simply created from scratch). GitBook supports importing from websites or Markdown files.
![gitbook editor configuration file gitbook editor configuration file](https://www.snelrennen.nl/config-file-editor/images/Config-File-Editor-02-Pakket-Uploaden.png)
The "Handle with Published Parameters" setting handles attributes used in a custom transformer only when it is created. Using the Gitbook editor, you, your users, and your team can easily record everything from. As we know, custom transformers can be edited after creation.