Hi..

I need my view to expose Json data for which I have set up several modules like Services, Rest Server, Services Views etc. Now I need a global test field showing '@type':'MyType' for every entry in the view's result, so that the other end (Json extractor) could understand its type and this is mandatory to specify it like this.

But as I create label for the global text field with special char @, views module ignores the label and shows 'nothing_1' as a default label.

This may be because views expect label as plain text and does not allow any html or special chars. But I need only one special char @.

Any work around for this !!

Cheers
Prakash :)

Comments

prakashsingh created an issue. See original summary.

prakashsingh’s picture

Issue summary: View changes
mustanggb’s picture

Have you tried using Views Datasource?

renatog’s picture

Status: Active » Reviewed & tested by the community

Hi guys, how are you?

For tests I use the Views Datasource as cited by @MustangGB in #3 and works good for me.

RTBC

renatog’s picture

Status: Reviewed & tested by the community » Fixed

Thank you very much for your contribution @MustangGB .

@prakashsingh ; any question please comment for us okay?

Thank you very much.

Best,

prakashsingh’s picture

Okay. will try that and comment.

Thanks

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.