ResourceType Image

ResourceType Image

  

i'm making the Becoming a Mobile Developer and i'm in the Plugins Exercise.

I've drag a Lightbox Image and then in the exercise it says to create an if statement with the following code:

GetLocalToDoById.List.Current.LocalResource.ResourceTypeId = Entities.ResourceType.Image

But the Entities.ResourceType only have an option to choose Audio

What am i doing wrong or what's missing? Thanks

Hi Marco,

You'll have to add the "Image" record to the "ResourceType" static entity. See this discussion: http://www.outsystems.com/forums/discussion/20614/attach-camera-to-pictures-to-do/

Aurelio Santos wrote:

Hi Marco,

You'll have to add the "Image" record to the "ResourceType" static entity. See this discussion: http://www.outsystems.com/forums/discussion/20614/attach-camera-to-pictures-to-do/


I have the same problem but when i'm trying to go to that link it says "You don´t have permissions to read this forum." What is the problem? I'm stuck here please help me!

Solution

Hi,

That's weird. Anyway, here's my reply from that other post:

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.

Solution