Page 2 of 2

Custom Component Mapping

Posted: Fri Sep 25, 2015 5:19 pm
by Jack Bua

Thank you for correcting me on that. Unfortunately, that does not seem to work. I now have the code:

var version = Apperyio.storage.information.get("$['version']");
var verDate = Apperyio.storage.information.get("$['version_date']");
var ver = "Version: " + version;
var date = "Date: " + verDate;
console.log(date);
$("[name=version_value_lbl]").val(ver);
$("[name=version_date_lbl]").val(date);

$("[name=version_value_lbl]").show();
$("[name=version_date_lbl]").show();

I have the .show just in case it is needed since the labels have no value in them initially. The storage variables exist, they are being assigned to variables correctly, but the component referencing just is not working..


Custom Component Mapping

Posted: Sat Sep 26, 2015 9:10 pm
by Alena Prykhodko

Hello Jack,

Please try to debug your project, are there any error in console?


Custom Component Mapping

Posted: Sat Sep 26, 2015 10:17 pm
by Jack Bua

No errors in the console.


Custom Component Mapping

Posted: Mon Sep 28, 2015 1:14 pm
by Serhii Kulibaba

Please provide us with a public app link (https://devcenter.appery.io/documenta...) and steps to reproduce.


Custom Component Mapping

Posted: Mon Sep 28, 2015 5:52 pm
by Jack Bua

Can I just share it with support instead? I dont want to put both the ling and login info on here.

login as test, password 123

click the menu button at the top left.

click the picture.

The labels in question are below the picture.


Custom Component Mapping

Posted: Mon Sep 28, 2015 6:11 pm
by Evgene Karachevtsev

Hello Jack,

Yes, please share it and tell us its name.


Custom Component Mapping

Posted: Mon Sep 28, 2015 6:14 pm
by Jack Bua

BC Speedway. Shared.


Custom Component Mapping

Posted: Wed Oct 07, 2015 12:31 am
by Jack Bua

I would like to apologize for taking up all of your time on this. I must have been to caffeinated when I was trying this before. Turns out the

.val

in

$("[name*=version_value_lbl]").val(ver);

needed to be changed to

.text

which is something I should have see right off the bat.

However, Sergiy, without your code on this I would have never figured this out. Thank you for solving my problem.


Custom Component Mapping

Posted: Wed Oct 07, 2015 8:47 am
by Illya Stepanov

Thank you for the update here!