- You can add these properties to your list methodInstance in bdc file and deploy again.
<MethodInstance Type="Finder" ReturnParameterName="DocumentReadList" Default="true" Name="DocumentReadList" DefaultDisplayName="ProductDocument Read List">
<Properties></Properties></MethodInstances>
<Properties> <Property Name="__BdcLastModifiedTimestamp" Type="System.String">LastModifiedOn</Property> </Properties>
- You can add these properties to your list method of entity using PowerShell:
$entity = Get-SPBusinessDataCatalogMetadataObject –BdcObjectType “Entity” –Name “EntityName” –Namespace “ModelNameSpace” -ServiceContext adminurl
$methodinstance = $entity.MethodInstances | where {$_.Name –eq “ReadListName”}
$methodinstance.Properties.Add("LastModifiedTimeStampField", YourModifiedDateField)
$methodinstance.Update()
No comments:
Post a Comment