florian.humer
Posts: 0
Joined: Tue Jan 03, 2012 3:56 pm

Output Mapping to visible attributes

I got a REST Service that maps a result field to the visible attribute of a grid, but I do not know the value that this result field needs to have in order to make the grid disappear. I already tried "false", "hidden", "no", "0" or "1" but none of these showed any effect. Does anyone know?

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

Output Mapping to visible attributes

'false' should do it.

Can you provide more details on when you invoke the service and how you map?

katzoft
Posts: 0
Joined: Thu Jan 05, 2012 7:07 pm

Output Mapping to visible attributes

It should do, but I've had issues with this, e.g. labels within a grid within a list don't disappear even if you set the visibility to false (the true or false value coming from a JSON object).

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

Output Mapping to visible attributes

Can you show me an app where this problem is reproduced?

katzoft
Posts: 0
Joined: Thu Jan 05, 2012 7:07 pm

Output Mapping to visible attributes

MusicCloud: attribute streamable should make streamLink (in)visible, but it is always visible. Same for downloadable, but I have put a workaround in place.

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

Output Mapping to visible attributes

Would you be able to share the actual service URL with me, how it's invoked, the mapping and what should (or shouldn't) be displayed on a screen?

Chris2656882
Posts: 0
Joined: Fri May 11, 2012 3:47 pm

Output Mapping to visible attributes

I'm having a similar issue.

Within the 'Add Javascript' for the visible property of an image within a grid within a list, I added "return false;"

However, an empty image border still appears when I run the application.

How do I hide all traces of the image element (or any element) from a services mapping?

Carl Ott
Posts: 0
Joined: Fri Jul 26, 2013 10:37 pm

Output Mapping to visible attributes

Can you update the link? It would be good to see the answer, but the link is dead...

Return to “Issues”