how to read activiti-app.properties file data into Form Stencil of Alfresco Process Service
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-08-2018 06:40 AM
I'am trying to read the data from the properties file present in my local system into Form Stencil of Alfresco Process Service.Is it possible to read the data .Please reply back.
Thanks in Advance.
Labels:
- Labels:
-
Alfresco Process Services
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-19-2018 11:07 AM
Can you describe more what do you want to do maybe giving an example?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-18-2020 01:19 AM
I had same scenario but I have used java to read custom property file.
You need to place property at classpath.
@Configuration @PropertySource("classpath:/META-INF/foo/foo.properties") @PropertySource(value = "classpath:foo.properties", ignoreResourceNotFound = true) @PropertySource(value = "file:foo.properties", ignoreResourceNotFound = true) @Service("MyService") public class MyService { @Value("${propertyname}") private String name; }
