[
https://issues.apache.org/jira/browse/NIFI-2114?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15379332#comment-15379332
]
Matt Gilman commented on NIFI-2114:
-----------------------------------
[~andrewmlim] I believe this is working correctly. The content type of the
example in your screenshot is text/plain so the original and the formatted view
will be the same. If the content was marked as application/json the original
and formatted options would work as you expect. If the processor your using
doesn't set the content type you can manually do it by adding an attribute (via
UpdateAttribute)
mime.type = applicaiton/json
Let me know if you have any questions.
> In content viewer window, view as 'formatted' has no effect on the display of
> text
> ----------------------------------------------------------------------------------
>
> Key: NIFI-2114
> URL: https://issues.apache.org/jira/browse/NIFI-2114
> Project: Apache NiFi
> Issue Type: Sub-task
> Components: Core UI
> Affects Versions: 1.0.0
> Reporter: Andrew Lim
> Labels: UI
> Fix For: 1.0.0
>
> Attachments: NIFI-2114_viewAs.png
>
>
> New styling hasn't been applied to this window yet
> (https://issues.apache.org/jira/browse/NIFI-2107), but noticed that when user
> chooses "View as formatted", the display of the text remains unchanged from
> the default selection of 'original'. Selecting 'hex' works.
> See attached screenshot for JSON text.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)