Skip to main content
Solved

Expose Format Attributes in Dynamic Feature Reader

  • November 20, 2018
  • 9 replies
  • 194 views

oliver.morris
Contributor
Forum|alt.badge.img+14

Hi,

hopefully this is a simple one but it has me stuck. I am using a dynamic feature reader and would like to expose Format Attributes - in this case, fme_colour and fme_basename. Can someone please tell me where to find this. In the normal readers this is just a select all option under the format attributes tab.

Many Thanks

Oliver

Best answer by david_r

I was able to get fme_color and fme_feature_type just fine using the Generic Port specific settings and manually typing them in there:

But yeah, the AttributeExposer is sometimes the easiest solution when in doubt.

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

9 replies

david_r
Celebrity
  • 8391 replies
  • November 20, 2018

Depending on the format it could be an option in the format parameters dialog.

If not, you can specify them manually under the Generic Port settings.

Finally, you can always insert an AttributeExposer transformer after the FeatureReader, although I'd consider this a last option.


oliver.morris
Contributor
Forum|alt.badge.img+14
  • Author
  • Contributor
  • 176 replies
  • November 20, 2018

Depending on the format it could be an option in the format parameters dialog.

If not, you can specify them manually under the Generic Port settings.

Finally, you can always insert an AttributeExposer transformer after the FeatureReader, although I'd consider this a last option.

Thanks David, I am using the PDF reader, unfortunately nothing is available in the parameters. When I try to expose using the generic port nothing comes out:

 


ebygomm
Influencer
Forum|alt.badge.img+44
  • Influencer
  • 3422 replies
  • November 20, 2018

The generic output port is not going to help you here as you are outputting by feature type. There should be an option in the PDF parameters under schema attributes


oliver.morris
Contributor
Forum|alt.badge.img+14
  • Author
  • Contributor
  • 176 replies
  • November 20, 2018

Depending on the format it could be an option in the format parameters dialog.

If not, you can specify them manually under the Generic Port settings.

Finally, you can always insert an AttributeExposer transformer after the FeatureReader, although I'd consider this a last option.

thanks for the continued help David, I tried as you suggested but nothing was available, the attributeexposer worked to get some pdf_ attributes out. Still no way that I have found to get the format attributes. I am good with this dataset the colours are the main content I need to retrieve.

 

Thank you again,

Oliver

 

 


david_r
Celebrity
  • 8391 replies
  • Best Answer
  • November 20, 2018

I was able to get fme_color and fme_feature_type just fine using the Generic Port specific settings and manually typing them in there:

But yeah, the AttributeExposer is sometimes the easiest solution when in doubt.


oliver.morris
Contributor
Forum|alt.badge.img+14
  • Author
  • Contributor
  • 176 replies
  • November 20, 2018

I was able to get fme_color and fme_feature_type just fine using the Generic Port specific settings and manually typing them in there:

But yeah, the AttributeExposer is sometimes the easiest solution when in doubt.

Sorry no luck for me, no features coming out.

 


oliver.morris
Contributor
Forum|alt.badge.img+14
  • Author
  • Contributor
  • 176 replies
  • November 20, 2018

The generic output port is not going to help you here as you are outputting by feature type. There should be an option in the PDF parameters under schema attributes

there is this, but I cant manually add any fields unfortunately.

 


david_r
Celebrity
  • 8391 replies
  • November 20, 2018

Sorry no luck for me, no features coming out.

 

Looking at your screenshot I see why, the Generic Port settings only work if you select the single output port option:

So in your case I think the AttributeExposer is actually the only option.


oliver.morris
Contributor
Forum|alt.badge.img+14
  • Author
  • Contributor
  • 176 replies
  • November 20, 2018

Looking at your screenshot I see why, the Generic Port settings only work if you select the single output port option:

So in your case I think the AttributeExposer is actually the only option.

Thanks for the help David