Skip to main content

I need to pack all the attributes of DGN file by using AttributejSonPacker but unable to expose the attribute "_packer" how can i unpacked the same?

Hi @dheeraj,

The custom transformer AttributeJsonPacker is prepared to receive a Json struture:

Have you tried to expose the Format Attributes from your DGN?

Thanks,

Danilo


Hi @dheeraj,

You can expose the "_packer" attribute using the AttributeExposer transformer. I will take another look at that transformer to see if we can have it automatically expose that attribute.


Hi @dheeraj,

The custom transformer AttributeJsonPacker is prepared to receive a Json struture:

Have you tried to expose the Format Attributes from your DGN?

Thanks,

Danilo

Yes, I have tried to expose attribute by AttributeExposer Transformer as well but i am unable to see "_packed" attribute in list...

 

If the attribute is not visible to me then how can i unpack it again?

 

 

 


Hi @dheeraj,

You can expose the "_packer" attribute using the AttributeExposer transformer. I will take another look at that transformer to see if we can have it automatically expose that attribute.

I have tried with attribute Exposer but unable to get attribute in list

 

 


Hi @dheeraj, the AttributeJSONUnpacker has the parameter "Attributes to Expose", so you can expose required attribute names via the parameter. Of course the AttributeExposer can also be used in the subsequent workflow alternatively.

Note that FME Workbench doesn't list automatically the attribute names that will be unpacked with the transformer. You will have to enter their names manually, if necessary.


Hi @dheeraj, the AttributeJSONUnpacker has the parameter "Attributes to Expose", so you can expose required attribute names via the parameter. Of course the AttributeExposer can also be used in the subsequent workflow alternatively.

Note that FME Workbench doesn't list automatically the attribute names that will be unpacked with the transformer. You will have to enter their names manually, if necessary.

Hi, In this case i am unable to use attr1, attr2, attr3 ? either by using attribute exposer,

 

 

I just can view $_NEW_Attributes.

Hi @dheeraj, the AttributeJSONUnpacker has the parameter "Attributes to Expose", so you can expose required attribute names via the parameter. Of course the AttributeExposer can also be used in the subsequent workflow alternatively.

Note that FME Workbench doesn't list automatically the attribute names that will be unpacked with the transformer. You will have to enter their names manually, if necessary.

What version (build number) of FME are you using? Possibly FME with some specific build numbers has an issue on exposing new attribute names created within a custom transformer. If the Attributes to Expose parameter in the AttributeJSONUnpacker doesn't work fine, leave the parameter empty and try using the AttributeExposer instead.

 

 


Reply