For an extended widget, if its attribute refers resource in another project, the widget implementation needs to handle project prefix to locate the resource. UNICOM® Digital Transformation Toolkit (UDTT™) provides two APIs for technical developers to handle project prefix.
The API returns project which resource locates according to resourceID, if resourceID does not contain project prefix, the activeProject will be returned. If the project map key is not defined in the UDTT configuration file, “IllegalArgumentException” exception is thrown.