Add xSPBCSModel resource
The xSPBCSModel resource will be used to import a specific BCS model to the farm and ensure it is always present. It should be structured as follows:
xSPBCSModel HRAppModel { Name = "HR Application" Ensure = "Present" ModelFile = "C:\bcsmodels\hr.bcdm" FileType = "Model" }
Might take a stab at this one; I would love to have a better deployment story for BCSModels. I think we would need to add the ServiceAppName as a farm could have multiple BCS Services; Will do some research and post back anything else I think of, get some feedback and get to work.
So I think I am going to do something like
SPBCSModel HRAppModel
{
Name "HR Application"
Url = "Service Context URL"
ModelFile = "C:\bcsmodels\hr.bcdm"
BDCObjectType "Model"
Ensure = "Present"
}
IS the URL parameter ok, or should it be Site, or ServiceContext, or something else?
In my mind we would be deploying this to the service app level, so can we do something where we specify the name of the BCS service app and have it create the servicecontext in the background?