I have an External Content Type in my Metadata store and I want to create an external list using that ECT, using Powershell script.
I tried to use $Web.Lists.Add()
with SiteTemplate = "External List" but it doesn't seem to work.
There was another example online by creating a ListDatasource object, but that gives me error
"IMethodInstance could not be found using criteria..." and a MetadataObjectNotFoundException
, although the Object is there.
Does anyone have any pointers to get it to work?