02-09-2021 04:52 AM
I am creating a Pipeline and SnapLogic is automatically creating “_snaptype_shared_map” object in between my original object. This is created inconsistently, so I am not able to access my object. Anyone have an idea of when is this created and how can I access the object without mentioning this object.
Example.
“interface_settings”: {
"_snaptype_shared_map": {
"GENERAL": {
"UNPROCESSED_FOLDER": "Unprocessed",
"ARCHIVE_FOLDER": "Archive",
"ERROR_FOLDER": "Error"
}
}
02-10-2021 07:14 AM
Hello @mramaswamy,
If you load your object sample into a JSON Generator, the “_snaptype_shared_map” object is automatically removed. Also, with some functions like iconv, Date etc. the expression builder generates fields with names similar to yours , but only in the preview window:
That’s why I think that this is not a problem with your pipeline or configuration. One way of solving this is to place a Structure snap after your snap where you get this modified object, with the next configuration:
I hope you’ll find this helpful,
BR,
Bojan Velevski
02-10-2021 03:06 PM
The _snaptype_shared_map is expected when a snap outputs more than one document for a single input which is used as the “original”. If you need more help with this, please show your pipeline (or the relevant segment) and clarify the snaps used in it if necessary.