Skip to Content
0
May 25, 2015 at 08:23 AM

Resource could not be found: Change resources path

1872 Views

Hi,

I have two dialog fragments. These are located like the following:

I'm trying to load them like this:

this.editDialog = sap.ui.xmlfragment("EditDialog", this);

I'm getting the following error: Uncaught Error: resource FilterDialog.fragment.xml could not be loaded from resources/FilterDialog.fragment.xml. Check for 'file not found' or parse errors. Reason: Resource could not be found!

When I change their location under resources, it works. But I want to locate them under istakipportali (application name) folder. How can I configure my application to look the desired location?

Attachments

Capture.PNG (8.1 kB)