Jack Bua
Posts: 0
Joined: Sun Jun 28, 2015 10:16 pm

Custom Component Mapping

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..

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

Custom Component Mapping

Hello Jack,

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

Jack Bua
Posts: 0
Joined: Sun Jun 28, 2015 10:16 pm

Custom Component Mapping

No errors in the console.

Serhii Kulibaba
Posts: 150
Joined: Tue Aug 27, 2013 1:47 pm

Custom Component Mapping

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

Jack Bua
Posts: 0
Joined: Sun Jun 28, 2015 10:16 pm

Custom Component Mapping

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.

Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

Custom Component Mapping

Hello Jack,

Yes, please share it and tell us its name.

Jack Bua
Posts: 0
Joined: Sun Jun 28, 2015 10:16 pm

Custom Component Mapping

BC Speedway. Shared.

Jack Bua
Posts: 0
Joined: Sun Jun 28, 2015 10:16 pm

Custom Component Mapping

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.

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

Custom Component Mapping

Thank you for the update here!

Return to “Issues”