Hi experts,
This is the error I am coming across.
"Uncaught Error: resource ActionSheet.fragment.xml could not be loaded from resources/ActionSheet.fragment.xml. Check for 'file not found' or parse errors. Reason: Not Found"
I have added the ActionSheet.fragment.xml file into the same folder as the .js file.
I am trying to create a pop up action sheet on the button click.
Here is the part of code the console is throwing this error.
if (!this._actionSheet) {
this._actionSheet = sap.ui.xmlfragment(
"sap.m.sample.ActionSheet.ActionSheet",
this
);
this.getView().addDependent(this._actionSheet);
}
Any solution for this?
Thanks,
Chirag