External lookup use case
Dear All,
I’m working on digitizing our product specifications (currently managed offline) and I’m testing custom forms to see what can replace our existing workflow.
One key part is that I’m trying to centralize raw material characteristics and similar data within specific project/s, then have the custom forms elsewhere to pull in that data dynamically when required.
I’ve built the following TEST setup, and it’s very close to what I need but it still has a few issues.
Project 1 contains a form consisting of a Single line text field “Product Code”. Users enter “Product Code” value manually, for example 12345ABCDE
Project 2 contains a form consisting of:
- Typeahead field “Project Name v1” returning Project 1 among other projects within the same portfolio/program
- External lookup field “Project Name v2” returning Project 1 among other projects within the same portfolio/program
- External lookup fields returning “Product Code” value based on project selected via point 1 or 2.
Point 3 setup is as follows:
Base API URL: $$HOST/attask/api/v21.0/project/search?name={DE:Project Name v1}&fields=parameterValues
Or
Base API URL: $$HOST/attask/api/v21.0/project/search?name={DE:Project Name v2}&fields=parameterValues
JSON Path: $.data[*].parameterValues.["DE:Product Code"]
The solution returns “Product Code” value 12345ABCDE as planned, however it does not update when “Product Code” value has changed to e.g ABCDE12345, instead it retains the initial entry. This could be a positive or a negative depending on how I approach the overall data management.
Can someone let me know whether this is standard behaviour, and if there’s any way to work around or resolve it?