system.FileDocument

1
Is there any way to list/find all FileDocument that are in the application as objects? and wht the type is of the objecttype that inherited FileDocument?  
asked
2 answers
0

Hi, if I understood  you correctly you want to retrieve all the document inside the your application in one list, to do that you need to user a data grid with a datasource from FileDocument inside the system domain model. and if you want to make the document linkable to show the document content you can use list view.

answered
0

Java

com.mendix.core.Core.retrieveXPathQuery(
    getContext(),
    "//System.FileDocument"
);

JS

mx.data.get(
	{
		xpath:"//System.FileDocument",
		callback:function(a){
			console.log(a);
		},
		error:function(a){
			console.log(a);
		}
	}
);

MBM

???

 

answered