<div dir="ltr"><span style="color:rgb(36,39,41);font-family:arial,"helvetica neue",helvetica,sans-serif;font-size:15px">I created a new resource type with 2 fields: one for an url(path to a folder) and one for a list of files. Based on the url I want to create a list of files contained by the folder. I want to create the list of files in the formatter, but I don't know how to change the value of the field which would contain the list of files. Also is there another place to put my code, other than the formatter? If I put the code in the formatter that list would be recreated every time the formatter renders the content(every time the page is loaded). Is posibile to put the code "somewhere" where it gets executed only if the url field gets changed?</span><br></div>