Support Forum

Ask questions and get help from MobileTogether experts.
MobileTogether Product Information
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
View
Go to last post Go to first unread
Piet  
#1 Posted : Sunday, September 20, 2020 8:32:21 PM(UTC)
Piet

Rank: Newbie

Groups: Registered
Joined: 9/20/2020(UTC)
Posts: 2
Belgium
Location: Mechelen

I'm just new to mobile together and I'm following the tutorials. I'm at part three where an image will be rotated and changed in the detail record.
The tutorial video uses elements for image-source and edit-book-id. When I use the clear button to remove the image and then use camera or gallery to add a new this does not work.
With the installation there is the books.mtd app but this app uses attrbutes instead of eleents, over here using the clear button and then attaching an image works.
But if I change this example and add the delete-node as in the tutorial I get errors.
What should I use the tutorial or the installed example and what with th errors.
The error I get is when appending the image after the delete-node

  • 'Append Node' has an invalid XPath 'attribute Image { mt-transform-image( $PERSISTENT/Root/@image-source, 500, 0, 50 ) }'
  • Wrong occurrence to match required sequence type
  • XPTY0004: The parameter value ('0' item(s)) at position '1' of the 'mt-transform-image' function has the wrong occurrence to match the sequence type xs:base64Binary ('exactly one')
  • Cannot Update Node '$PERSISTENT/Root/@image-source' (no 'Target Node' found)
bbv  
#2 Posted : Tuesday, September 29, 2020 6:12:55 PM(UTC)
bbv

Rank: Administration

Groups: Registered, Administrators
Joined: 7/21/2014(UTC)
Posts: 412

Was thanked: 69 time(s) in 69 post(s)
This message means that there is no such node $PERSISTENT/Root/@image-source

To be sure what is going wrong attach your design file here
Piet  
#3 Posted : Thursday, October 1, 2020 8:47:07 PM(UTC)
Piet

Rank: Newbie

Groups: Registered
Joined: 9/20/2020(UTC)
Posts: 2
Belgium
Location: Mechelen

Hello there.

I made a word document with print screens and what happens where.
I also include the tutorial app I built ('BooksBuild.mtd') and the sample app 'Books.mtd'.
File Attachment(s):
edit_image_problem.docx (2,029kb) downloaded 7 time(s).
BooksBuild.mtd (26kb) downloaded 4 time(s).
Books.mtd (50kb) downloaded 4 time(s).
bbv  
#4 Posted : Monday, October 5, 2020 5:05:04 PM(UTC)
bbv

Rank: Administration

Groups: Registered, Administrators
Joined: 7/21/2014(UTC)
Posts: 412

Was thanked: 69 time(s) in 69 post(s)
Unfortunately you didn't add the database file, therefore I cannot execute your samples. I tried to guess just by reviewing the MTD, but don't see the actual issue.

By the way, don't forget that you can debug your script. Maybe this will make the issue obvious
Users browsing this topic
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.