SharePointDsc icon indicating copy to clipboard operation
SharePointDsc copied to clipboard

Add xSPBCSModel resource

Open BrianFarnhill opened this issue 10 years ago • 3 comments

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" }

BrianFarnhill avatar Jun 22 '15 09:06 BrianFarnhill

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.

mrpullen avatar Mar 22 '17 06:03 mrpullen

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?

mrpullen avatar Mar 31 '17 04:03 mrpullen

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?

BrianFarnhill avatar Apr 06 '17 01:04 BrianFarnhill