Priyanka Patel
Posts: 0
Joined: Sat Aug 17, 2013 5:41 am

Mapping multiple responses from a service to the same component

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

Alena Prykhodko
Posts: 0
Joined: Tue Apr 09, 2013 7:36 am

Mapping multiple responses from a service to the same component

No, it's the second workaround.

Alena Prykhodko
Posts: 0
Joined: Tue Apr 09, 2013 7:36 am

Mapping multiple responses from a service to the same component

You need to map it to other Label.

Priyanka Patel
Posts: 0
Joined: Sat Aug 17, 2013 5:41 am

Mapping multiple responses from a service to the same component

ok won't add that.

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

Alena Prykhodko
Posts: 0
Joined: Tue Apr 09, 2013 7:36 am

Mapping multiple responses from a service to the same component

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

Priyanka Patel
Posts: 0
Joined: Sat Aug 17, 2013 5:41 am

Mapping multiple responses from a service to the same component

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?

Alena Prykhodko
Posts: 0
Joined: Tue Apr 09, 2013 7:36 am

Mapping multiple responses from a service to the same component

We are working to find out the reason...

Priyanka Patel
Posts: 0
Joined: Sat Aug 17, 2013 5:41 am

Mapping multiple responses from a service to the same component

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

Thank you

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Mapping multiple responses from a service to the same component

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

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Mapping multiple responses from a service to the same component

Hello! This bug is fixed.

Return to “Issues”