Mobile UI Development I - Problems

Hi everyone! I have a small problem: I cannot save what the user enters into the database. Does anyone have any idea how I can solve this problem?
P.S: This is the task from the mobile course, more specifically: Mobile UI Development I

Hi,

Can you send a print of your Save button code?

You are having problems with the Primary Key of the table you are trying to keep.

Please, check this post.

Hi,

Your save button action is not passing the userId attribute required, which is a foreignKey in the entity where you are storing a record.


Either pass GetUserId() for the attribute, if you required it

Or

Set the UserId as non-mandatory on entity.



Nuno Miguel Verdasca wrote:

Hi,

Can you send a print of your Save button code?

You are having problems with the Primary Key of the table you are trying to keep.

Please, check this post.


Did you see the post I shared with you?

Can you show what is going on in the crud action (CreateOrUpdate)?

Cristina Drumea wrote:

Nuno Miguel Verdasca wrote:

Hi,

Can you send a print of your Save button code?

You are having problems with the Primary Key of the table you are trying to keep.

Please, check this post.




Check my example please:

Nuno Miguel Verdasca wrote:

Did you see the post I shared with you?

Can you show what is going on in the crud action (CreateOrUpdate)?

Yes, I saw the post. But it still doesn't work.


Nuno Miguel Verdasca wrote:

Check my example please:


Did you see this my example?

Nuno Miguel Verdasca wrote:

Nuno Miguel Verdasca wrote:

Check my example please:


Did you see this my example?

Yes but look: 

I haven't Maping from Local...

If you compare your source of your action with mine, it is not the same. 

Let me see what you have in the previous assignment?

Nuno Miguel Verdasca wrote:

If you compare your source of your action with mine, it is not the same. 

Let me see what you have in the previous assignment?

Sure. 


In your source of your CRUD action you have:

GetToDoById.List.Current

---> Put GetToDoById.List.Current.ToDo

Nuno Miguel Verdasca wrote:

In your source of your CRUD action you have:

GetToDoById.List.Current

---> Put GetToDoById.List.Current.ToDo

No, it doesn't works :(. It's the same problem. 



I sent you my OAP, if you cannot solve your issue, please can you give me your OML (ToDo and ToDo_Core)?

Nuno Miguel Verdasca wrote:

I sent you my OAP, if you cannot solve your issue, please can you give me your OML (ToDo and ToDo_Core)?

Yes. Thank you very much!