# Exdending the hikr tutorial

**URL:** <https://forums.fusetools.com/t/exdending-the-hikr-tutorial/5992>\
**Category:** General\
**Created:** [July 29, 2017, 12:14am UTC](https://forums.fusetools.com/t/exdending-the-hikr-tutorial/5992 "2017-07-29T00:14:23Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![John](https://avatars.discourse-cdn.com/v4/letter/j/a3d4f5/32.png) [@John](https://forums.fusetools.com/u/John)\
**Post date:** [July 29, 2017, 12:14am UTC](https://forums.fusetools.com/t/exdending-the-hikr-tutorial/5992/1 "2017-07-29T00:14:23Z")

</div>

[LOL cant edit the typo in the Title im soo sorry]

Hey guys,

I extended the hikr-tutorial with a real back-end. Everything seems to be working well except one thing:  
Only the old values gets sent to the backend. I think its due to that i.e. “name” is not an observable.

I am trying to get the “realtime” (state of the TextBox) data by `name.value` inside ‘EditHikePage.js’

I could create a privat git-repo if needed.

Any helpwould be awesome 🙂

---

<div class="post-metadata">

**Author:** ![Uldis](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/uldis/32/657_2.png) [@Uldis](https://forums.fusetools.com/u/Uldis)\
**Post date:** [July 31, 2017, 9:33am UTC](https://forums.fusetools.com/t/exdending-the-hikr-tutorial/5992/2 "2017-07-31T09:33:33Z")

</div>

Without any code we won’t be able to help you with anything. I suggest you do proper debugging by yourself first, and try to isolate the issue in a minimal reproduction, and post that instead.

---

<div class="post-metadata">

**Author:** ![John](https://avatars.discourse-cdn.com/v4/letter/j/a3d4f5/32.png) [@John](https://forums.fusetools.com/u/John)\
**Post date:** [July 31, 2017, 5:41pm UTC](https://forums.fusetools.com/t/exdending-the-hikr-tutorial/5992/3 "2017-07-31T17:41:08Z")

</div>

Thank you for answering me \<3

I already created a private git repo and pointed to the location of the problem by putting your Name in comments ^^  
If you search for “Uldis” you’ll get a result inside `Modules/Content.js - Line 50`  
I also tried to place the function inside `Pages/EditHikePage.js` without any success.  
The topic is kind of crusial thats why I put it inside a private repo. Any way to invite you?

Gratefully  
Blade

---

<div class="post-metadata">

**Author:** ![Uldis](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/uldis/32/657_2.png) [@Uldis](https://forums.fusetools.com/u/Uldis)\
**Post date:** [July 31, 2017, 6:30pm UTC](https://forums.fusetools.com/t/exdending-the-hikr-tutorial/5992/4 "2017-07-31T18:30:03Z")

</div>

We strongly encourage posting the code in question on forums, since that is where we provide community support. That comes with the added value of other people being able to look up the problem and its solution later.

Looking into private repos is generally something that we do as part of commercial support, but if you hit me up on our [Slack community](https://slackcommunity.fusetools.com/) (I’m @uldis there), I just might make an exception.

---

<div class="post-metadata">

**Author:** ![John](https://avatars.discourse-cdn.com/v4/letter/j/a3d4f5/32.png) [@John](https://forums.fusetools.com/u/John)\
**Post date:** [July 31, 2017, 6:52pm UTC](https://forums.fusetools.com/t/exdending-the-hikr-tutorial/5992/5 "2017-07-31T18:52:16Z")

</div>

Hmmm Uldis, im so sorry, I’ve just synced the official hikr repo from git and discovered, that the saving indeed works. I take this as base and start again from there. I will report back asap.

---

<div class="post-metadata">

**Author:** ![John](https://avatars.discourse-cdn.com/v4/letter/j/a3d4f5/32.png) [@John](https://forums.fusetools.com/u/John)\
**Post date:** [July 31, 2017, 6:55pm UTC](https://forums.fusetools.com/t/exdending-the-hikr-tutorial/5992/6 "2017-07-31T18:55:53Z")

</div>

OMG just saw your answer. Love ya 🙂 But first I work alone a bit and would rather use your lovely one-time-offer more wisely. I got a lot of projects running (mostly with a wordpress as backend), and maybe I could provide some useful tools for the community if I success.

---

<div class="post-metadata">

**Author:** ![John](https://avatars.discourse-cdn.com/v4/letter/j/a3d4f5/32.png) [@John](https://forums.fusetools.com/u/John)\
**Post date:** [July 31, 2017, 8:38pm UTC](https://forums.fusetools.com/t/exdending-the-hikr-tutorial/5992/7 "2017-07-31T20:38:32Z")

</div>

LOL - omg how stupid am I ?!?

```auto
<StackPanel ux:Class="Field">
	<string ux:Property="Title" />
	<string ux:Property="TextValue" />
	<Separator2 />
	<Grid Columns="100,1*">
		<TitleText Value="{ReadProperty Title}" />
		<yz.TextBox Value="{ReadProperty TextValue}" />
	</Grid>
</StackPanel>

```

I thought making a class here would be nice to implement fields like:

```auto
<Field Title="Name: " TextValue="{name}" />

```

I didn’t think about `ReadProperty` …

---

<div class="post-metadata">

**Author:** ![Uldis](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/uldis/32/657_2.png) [@Uldis](https://forums.fusetools.com/u/Uldis)\
**Post date:** [July 31, 2017, 8:44pm UTC](https://forums.fusetools.com/t/exdending-the-hikr-tutorial/5992/8 "2017-07-31T20:44:54Z")

</div>

Well we still don’t see what the problem was and how you managed to solve it, but congrats on doing it yourself anyway!

---

<div class="post-metadata">

**Author:** ![John](https://avatars.discourse-cdn.com/v4/letter/j/a3d4f5/32.png) [@John](https://forums.fusetools.com/u/John)\
**Post date:** [July 31, 2017, 9:18pm UTC](https://forums.fusetools.com/t/exdending-the-hikr-tutorial/5992/9 "2017-07-31T21:18:58Z")

</div>

Too early…xD Still messing around. As soon as I locate it I will place everything here.

---

<div class="post-metadata">

**Author:** ![John](https://avatars.discourse-cdn.com/v4/letter/j/a3d4f5/32.png) [@John](https://forums.fusetools.com/u/John)\
**Post date:** [July 31, 2017, 10:14pm UTC](https://forums.fusetools.com/t/exdending-the-hikr-tutorial/5992/10 "2017-07-31T22:14:00Z")

</div>

OK Now I have proof:

I AM stupid!

When extending the code I got the `save()`-function wrong, and since my Save2Backfunction was made by extending a duplicated function of that, everything broke.

For anyone suprisingly running into the same:

Please take care that the first paramater (id) of the save-function differs from the rest, because we dont enter it in the UI (I know im just … -.- ):

```auto
function save() {
	Context.updateWeed(hike.value.id, name.value, content.value);
	router.goBack();
}

```
