18
Views
9
Comments
Solved
Attach Camera to Pictures To Do
Question

Hi,

I'm doing "Part 2 : Attach Camera Pictures to To Dos"  of the Plugins Exercise of Dev OS Mobile Apps.

Instruction 2(i) supposes that Entities.ResourcesType.Image should be an available option, but it is not. 

Please help to resolve the problem   

Instruction 4 (k)  Add an assign statement and drop it between the CreateOrUpdateResource statement and  End and then define the following assignment  ResourceId = CreateOrUpdateResource.Id  is also a problem because  CreateOrUpdateResource.Id is not an available option. Please help


ToDo.oml
UserImage.jpg
Willem Norval
Solution

Aurelio Santos wrote:

In the ToDo module go to manage dependencies, remove all references to the ToDoCore module and click OK. Then go back to manage dependencies and add back all the references to ToDoCore.

You are a genius ! Thank you.


2019-09-30 07-35-56
Aurelio Junior

Hi,

It seems that whoever created the exercise forgot to add a step with instructions to add the "Image" record to the "ResourceType" static entity.

Open the "ToDo_Core" module, go to the "Data" tab, expand the "ResourceType" static entity and add the "Image" record.

As for your second question, are you using the expression editor to select the Assign value? Also, make sure that the "CreateOrUpdateResouce" action is connected to the Assign in the flow. Otherwise, you won't have access to it.

UserImage.jpg
Willem Norval

Hi Aurelio,

I have added the "Image" record in the ToDo_Core, but the problem remains. It is still only "audio" that is available. However, I think you are right. This is where the problem originates. Can you think of other mistakes I am making here ?

With regards to the second problem - this one resolved itself - I was absolutely certain earlier today there was no CreateOrUpdateResource action available when I worked on it . . . But thank you anyway

2019-09-30 07-35-56
Aurelio Junior

After adding the record and publishing the ToDo_Core module, don't forget to go to "Manage Dependencies" in the ToDo module and refresh the ToDo_Core dependency.

UserImage.jpg
Willem Norval

Aurelio Santos wrote:

After adding the record and publishing the ToDo_Core module, don't forget to go to "Manage Dependencies" in the ToDo module and refresh the ToDo_Core dependency.

Hi Aurelio,

Yes, I did that. No luck . . 


UserImage.jpg
Willem Norval

Hi Aurelio,

I have added Image as a ResourceType record to ToDo_Core, uploaded and refreshed the ToDo_Core dependencies from ToDo. But the Entities.ResourceType.Image is still not an available option in ToDos.

Please help


ToDo_Core_WN.oml
2019-09-30 07-35-56
Aurelio Junior

Hi Willem,

Try removing the reference to "To Do Core" and then adding it again.

UserImage.jpg
Willem Norval

Aurelio Santos wrote:

Hi Willem,

Try removing the reference to "To Do Core" and then adding it again.

Hi Aurelio,

I am not with you ? Where is this reference ?


2019-09-30 07-35-56
Aurelio Junior

In the ToDo module go to manage dependencies, remove all references to the ToDoCore module and click OK. Then go back to manage dependencies and add back all the references to ToDoCore.

UserImage.jpg
Willem Norval
Solution

Aurelio Santos wrote:

In the ToDo module go to manage dependencies, remove all references to the ToDoCore module and click OK. Then go back to manage dependencies and add back all the references to ToDoCore.

You are a genius ! Thank you.


Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.