Hi There,
I have a font and then do Copy to Application Directory.
I try to address using "FontProgram fontProgram = FontProgramFactory.CreateFont(@"/ScoringSingleStoreMemo/Calibri Regular.ttf");"
where ScoringSingleStoreMemo is the application (also the extension has same name with its app) where this extension resides.
Unfortunately, this error raised:
My question is what is the right directory?
I read this documentation, but it is incomplete:
https://success.outsystems.com/Documentation/11/Extensibility_and_Integration/Extend_Logic_with_Your_Own_Code/Managing_Extensions/Define_Resources
regards and thanks
https://www.outsystems.com/forums/discussion/80825/resources-copy-to-images-directory-not-working/
Hi Indra,
The documentation is indeed lacking a bit there. Note you can give feedback by clicking the feedback icon:
That said, the application directory is indeed the root directory for the IIS application ("image directory" is img, "binary directory" is "bin2"). I think your problem is that you add "/ScoringSingleStoreMemo/" in front of it, while I think you shouldn't. Just specifying "Calibri Regular.ttf" should suffice, I think (at least for images it works).
thanks sir, i try later.
Reading this link:
https://success.outsystems.com/Documentation/11/Reference/Integration_Studio/Integration_Studio_Editors/Resource_Editor
It is said:
and i read it is the module that use this extension?
regards
Yes, extensions are themselves not deployed, but they're always deployed together with the consuming module.