Page 5 of 6

Mapping multiple responses from a service to the same component

Posted: Sun Aug 25, 2013 2:25 pm
by Priyanka Patel

From Marina's reply, I need to add this as well?

2) Before you call the service you should refresh localStorage variable short_name. To do that add the following JS for the same event you use to call the service:
localStorage.setItem("short_name", '');

But am confused as to where exactly I need to add this code.(if I need to)

thank you for your help


Mapping multiple responses from a service to the same component

Posted: Sun Aug 25, 2013 2:27 pm
by Alena Prykhodko

No, it's the second workaround.


Mapping multiple responses from a service to the same component

Posted: Sun Aug 25, 2013 2:27 pm
by Alena Prykhodko

You need to map it to other Label.


Mapping multiple responses from a service to the same component

Posted: Sun Aug 25, 2013 2:28 pm
by Priyanka Patel

ok won't add that.

Still don't get both ItemName and carbonUnits from the first method.


Mapping multiple responses from a service to the same component

Posted: Sun Aug 25, 2013 2:29 pm
by Alena Prykhodko

You can add Grid and drop Labels inside to have data displayed in a row.


Mapping multiple responses from a service to the same component

Posted: Sun Aug 25, 2013 2:31 pm
by Priyanka Patel

No, I need them to display in one label.

It used to work fine with the last method that Marina described. Why has it stopped working in the last two/three days?


Mapping multiple responses from a service to the same component

Posted: Sun Aug 25, 2013 2:33 pm
by Alena Prykhodko

We are working to find out the reason...


Mapping multiple responses from a service to the same component

Posted: Sun Aug 25, 2013 2:39 pm
by Priyanka Patel

okay. Well I will wait until you figure out the reason. hope it is soon.

Thank you


Mapping multiple responses from a service to the same component

Posted: Tue Aug 27, 2013 8:42 am
by Maryna Brodina

Hello! It's a bug unfortunately. We'll fix it as soon as possible.


Mapping multiple responses from a service to the same component

Posted: Mon Nov 04, 2013 12:15 pm
by Maryna Brodina

Hello! This bug is fixed.