While publishing using the ribbon workbench here is the error i am getting
"
Reasons:
1:The import file is invalid. XSD validation failed with the following error: 'The 'distinct' attribute is not declared.'. The validation failed at: '...cc7a-a007-412e-a011-fcc38a62ca01" enabled="true"><dependencies /></Handler></InternalHandlers></event></events><formLibraries><Library
name="msdyn_/ActivityFeeds.Form.js" libraryUniqueId="{4181da4c-6d13-ba3c-c859-be404e4ee2e3}" /></formLibraries></form><LocalizedNames><LocalizedName description="Information" languagecode="1033"
/></LocalizedNames><Descriptions><Description description="A form for this entity." languagecode="1033" /></Descriptions></systemform></forms></FormXml><Visualizations><visualization><savedqueryvisualizationid>{76149374-EDBB-E311-814D-6C3BE5A85114}</savedqueryvisualizationid><datadescription><datadefinition><fetchcollection><fetch
mapping="logical" aggregate="true"><entity name="systemuser"><attribute name="systemuserid" groupby="true" alias="User" /><link-entity name="lead" from="owninguser"
to="systemuserid" link-type="outer"><link-entity name="lead" from="leadid" to="leadid" link-type="outer"><attribute alias="OpenLeads" name="leadid" aggregate="countcolumn"
<<<<<ERROR LOCATION>>>>> distinct="true" /><filter type="and"><condition attribute="statecode" operator="eq" value="0" /></filter></link-entity></link-entity><link-entity
name="opportunity" from="owninguser" to="systemuserid" link-type="outer"><link-entity name="opportunity" from="opportunityid" to="opportunityid" link-type="outer"><attribute
alias="OpenOpportunities" name="opportunityid" aggregate="countcolumn" distinct="true" /><filter type="and"><condition attribute="statecode" operator="eq" value="0"
/></filter></link-entity></link-entity><link-entity name="account" from="owninguser" to="systemuserid" link-type="outer"><link-entity name="account" from="accountid"
to="accountid" link-type="outer"><attribute alias="Accounts" name="accountid" aggregate="countcolumn" distinct="true" /><filter type="and"><condition attribute="statecode"
operator="eq" value="0" /></filter></link-entity></link-entity><link-entity name="contact" from="owninguser" to="systemuserid" link-type="outer"><link-entity name="contact"
from...'.""
------- Regards Mudassar Hassan