Community Tip - Did you get an answer that solved your problem? Please mark it as an Accepted Solution so others with the same problem can find the answer easily. X
I created a new ApplicationData and my intent is to just show the name of ApplicationData with a specific name, whenever the getFileName() is called. But the name would always return as {$CAD_NAME}
Below is the code:
Solved! Go to Solution.
Hi @MN_10661566
Create and Assign a custom DataUtility to the attribute in the table that the DU get the right value.
PetrH
why do you want to this? What's the use case? Since you don't wan't to change the filename in the DB it doesn't make sense to me. If you downloading it, you can change the filename.
We previously had a dialog created usign TableConfig(), with just an EPDocument in the row(s). Now, my goal is to show the Primary Content too as one row under the EPMDocument.
The TableConfig calls the getNames for each these rows.
But the name of the primary content, which is application data always comes as {$CAD_NAME}. And that is not the CADNAME we wanted to show.
Hence, wanted to check if there is a way to display the name as EPMCADName for this applicationData instead of {$CAD_NAME}.
Hi @MN_10661566
Create and Assign a custom DataUtility to the attribute in the table that the DU get the right value.
PetrH
Yep. a custom DataUtility should work for the Table. Thanks very much!!
Hi @MN_10661566
No there is not a way how to change the OOTB function getFileName because the database really contains this information.
It is reference variable that the information is in CAD_NAME so if there is the cadname you should search for the cad name string.
PetrH