MSCRM 2015: Rename legend in bar chart - reporting-services
I have created a bar chart with two categories and one series as below.
Chart condition
Chart
The requirement is to change the Legend names Open and Disqualified to Ongoing and Cancelled. The Legend names are nothing but the 2nd Category (Status).
I went through the code, but not able to figure it out where to add the Legend names.Kindly suggest some solution if any.
Below is the code I have given for reference.
<visualization>
<visualizationid>{C9D241BD-29E6-E711-80DC-00505695684B}</visualizationid>
<name>Assessment Revenue by Year</name>
<primaryentitytypecode>lead</primaryentitytypecode>
<datadescription>
<datadefinition>
<fetchcollection>
<fetch mapping="logical" aggregate="true">
<entity name="lead">
<attribute name="new_assessmentyear" groupby="true" alias="_CRMAutoGen_groupby_column_Num_0" />
<attribute name="pjdm_income" aggregate="sum" alias="_CRMAutoGen_aggregate_column_Num_0" />
<attribute name="statecode" groupby="true" alias="_CRMAutoGen_groupby_column_Num_13" />
</entity>
</fetch>
</fetchcollection>
<categorycollection>
<category alias="_CRMAutoGen_groupby_column_Num_0">
<measurecollection>
<measure alias="_CRMAutoGen_aggregate_column_Num_0" />
</measurecollection>
</category>
</categorycollection>
</datadefinition>
</datadescription>
<presentationdescription>
<Chart Palette="None" PaletteCustomColors="91,151,213; 237,125,49; 160,116,166; 255,192,0; 68,114,196; 112,173,71; 37,94,145; 158,72,14; 117,55,125; 153,115,0; 38,68,120; 67,104,43; 124,175,221; 241,151,90; 186,144,192; 255,205,51; 105,142,208; 140,193,104; 50,125,194; 210,96,18; 150,83,159; 204,154,0; 51,90,161; 90,138,57;">
<Series>
<Series ChartType="Column" IsValueShownAsLabel="True" Font="{0}, 9.5px" LabelForeColor="59, 59, 59" CustomProperties="PointWidth=0.75, MaxPixelPointWidth=40" />
</Series>
<ChartAreas>
<ChartArea BorderColor="White" BorderDashStyle="Solid">
<AxisY LabelAutoFitMinFontSize="8" TitleForeColor="59, 59, 59" TitleFont="{0}, 10.5px" LineColor="165, 172, 181" IntervalAutoMode="VariableCount">
<MajorGrid LineColor="239, 242, 246" />
<MajorTickMark LineColor="165, 172, 181" />
<LabelStyle Font="{0}, 10.5px" ForeColor="59, 59, 59" />
</AxisY>
<AxisX LabelAutoFitMinFontSize="8" TitleForeColor="59, 59, 59" TitleFont="{0}, 10.5px" LineColor="165, 172, 181" IntervalAutoMode="VariableCount">
<MajorTickMark LineColor="165, 172, 181" />
<MajorGrid LineColor="Transparent" />
<LabelStyle Font="{0}, 10.5px" ForeColor="59, 59, 59" />
</AxisX>
</ChartArea>
</ChartAreas>
<Titles>
<Title Alignment="TopLeft" DockingOffset="-3" Font="{0}, 13px" ForeColor="59, 59, 59" />
</Titles>
<Legends>
<Legend Alignment="Center" LegendStyle="Table" Docking="right" IsEquallySpacedItems="True" Font="{0}, 11px" ShadowColor="0, 0, 0, 0" ForeColor="59, 59, 59" />
</Legends>
</Chart>
</presentationdescription>
<isdefault>false</isdefault>
</visualization>
If you want to change only the chart display then Use the LegendText property inside each series you want to change:
<Series ChartType="Column" LegendText="Ongoing" DrawSideBySide= "False" IsValueShownAsLabel="True" Font="{0}, 9.5px" LabelForeColor="59, 59, 59" CustomProperties="PointWidth=0.75, MaxPixelPointWidth=40">
<Series ChartType="Column" LegendText="Cancelled" IsValueShownAsLabel="True" Font="{0}, 9.5px" LabelForeColor="59, 59, 59" CustomProperties="PointWidth=0.75, MaxPixelPointWidth=40">
Otherwise the statecode optionset can be customized in Lead entity to reflect across the system.
Related
How to get specific columns using fetchXML Query
I have created a report for weekly comment but everytime if i add comment and run report its coming with new column. for example first time i need 4 columns for weekly report and its generating correctly but if we add comment and run report then it will come with 5 column for weekly comment and if we will add 1 more comment then it will come with 6 column for weekly comment, and so on.Any help will be appreciated <fetch version="1.0" output-format="xml-platform" mapping="logical" distinct="false"> <entity name="_projectcontrolsheet"> <attribute name="_supportstartfrom" /> <attribute name="_supportendson" /> <attribute name="_warrantydescription" /> <attribute name="_penaltydeadline" /> <attribute name="_ispenaltyavoided" /> <attribute name="_penaltyclause" /> <attribute name="_isanyescalationraised" /> <attribute name="_escalationraisedto" /> <attribute name="_escalationdescription" /> <attribute name="_istrainingrequired" /> <attribute name="_projectcontrolsheetid" /> <attribute name="_contactpersonnumber" /> <order attribute="projectnumber" descending="false" /> <link-entity name="pcsweeklycomments" from="weeklycommentsid" to="projectcontrolsheetid" visible="false" alias="aj" link-type="outer"> <attribute name="weeklycommentsid" /> <attribute name="name" /> <attribute name="createdby" /> <attribute name="createdon" /> <attribute name="weeklycommentdescription" /> <filter type="and"> <condition attribute="statecode" operator="eq" value="0" /> </filter> </link-entity> </entity> </fetch> Following are Text Box Properties in Weekly Comments column =IIf(ISNOTHING(Fields!aj_createdon.Value), "-", "Comment Date:" +Fields!aj_createdon.Value+ "<br/>Comment by : " +Fields!aj_createdby.Value+"<br />Comment Summary:" +Fields!aj_abn_name.Value+ "<br/>Comment Description : "+Fields!aj_abn_weeklycommentdescription.Value ) and i am Using Matrix
HTML template in xml - what kind of architecture is this?
My project has many xml files which are using to build html page & page operations. Here is the sample of grid template. <Contact singular="Contact" indeal="" nodeal="ContactsPlaybook" tooltip="Document Playbook" library="true" tabHidden="true"> <ListingScreen handle = "PlaybookContacts.ashx" suppressCount="true" showFilters="true"> <IncludeScript src="scripts/jjedsEmaUser.js"/> <SmartIcon editMode="false" requiredAction="Create" name="new" image="new.png" tooltip="Create" separator="false" href="PlaybookContactDetail.ashx?DealRef=${DealRef}" edit="true" /> <SmartIcon editMode="false" requiredAction="Delete" name="BulkDelete" image="delete.png" tooltip="Delete" separator="true"/> <SmartIcon editMode="false" requiredAction="Read" actionOn="Contact" name="email" image="mail.png" tooltip="Email Team" href="PlaybookEmailTeam.ashx?DealRef=${DealRef}&Subject=Playbook&Body=${LinkToPage}" edit="true" /> <SmartIcon editMode="false" requiredAction="Read" name="print" image="print.png" tooltip="Print" onclick="javascript:window.print()" /> <!--<SmartIcon editMode="false" requiredAction="Administrate" name="CreateEmaUser" image="add_EMA_user.png" tooltip="Create EMA user" onclick="return emans.jjedsEmaUser.create('${DealRef}', '#ListingForm')" />--> <Filters> <Filter label="Functional Team" filter="FunctionalCategoryFilter" field="ContactGroupID" prefix="C" empty="FunctionalCategoryRef_NULL"> <PossibleValues displayProperty="Name" /> </Filter> <Filter label="Country" filter="CountryFilter" by="name" prefix="AD" field="CountryID" displayProperty="Code" empty="-1"> </Filter> <Filter label="Business Unit" filter="PickListIntFilter" field="BusinessUnit" prefix="C" empty="-1" onlyifsettingtrue="UseSpecialUserDealAccess"> <PossibleValues category="Deal" subcategory="BusinessUnit" /> </Filter> </Filters> <Sorting> <SortColumn name="FullName" dir="asc"/> </Sorting> <Query alias="C" ignoreArchiving="true" ignoreDeal="true"> <Block by="C.ContactGroupID" resolveto="DepartmentName" as="Department" /> <JoinTo table="Address" alias="AD" from="C.AddressID" to="AD.AddressID"> </JoinTo> <Constraint left="C.IsArchived" int="0" /> </Query> <Column command="true" title="<input type='checkbox' header='true' onclick='ToggleCheckAll(this);'>" editMode="false" special="IsDelete" macro="Checkbox" onClick="ToggleCheckBox(this);"/> <Column command="true" requiredAction="Update" title="" field="Blank" dbColumn="C.ContactID" macro="ImageLink" fieldType="Contact" tooltip="Edit" image="edit.png" edit="true" /> <Column title="Full Name" field="FullName" macro="LinkToRef" resolveto="FullContactName" from="C.ContactID" contactAlias="C" linkPage="PlaybookContactDetail.ashx"/> <Column title="Organization" field="C.Affiliation" macro="Text" /> <Column title="Business Unit" field="C.BusinessUnit" property="BusinessUnit" macro="PickList" category="Deal" subcategory="BusinessUnit" storeInt="true" onlyifsettingtrue="UseSpecialUserDealAccess"/> <Column title="Role" field="C.Role" macro="Text" /> <Column title="Phone" field="C.Phone" macro="Text" /> <Column title="Email" field="C.Email" macro="MailToRef" /> <DeleteDialog name="ContactDelete" info="If you really want to delete {0} please choose the contact which will be used instead." title="Confirm delete" type="ContactDeleteDialog" > </DeleteDialog> </ListingScreen> </Contact> Can anyone tell me what kind of architecture is this and what is the real benefit of using this architecture?
It is used in Single page applications to populate the page using an ajax call from the browser to XML files/JSON files in the server thus avoiding reloading of the entire page. Look into this example https://www.w3schools.com/js/tryit.asp?filename=tryjs_ajax_xml2 Here on clicking the button the table gets loaded with the xml data from cd_catalog.xml https://www.w3schools.com/js/cd_catalog.xml Its architechture is similar to HTML in the way that both are markup languages. The data is accessed using the nested structure of the tags.In the cd.catalog example the title column is accessed as catalog->cd->title.
Log4net Json custom properties not being read
I am inserting JSON format data in sql database using log4net. Everything is fine except custom properties which are not being saved. This is my configuration: <appender name="TGGADONetAppenderjson" type="log4net.Appender.ADONetAppender"> <bufferSize value="1" /> <connectionType value="System.Data.SqlClient.SqlConnection, System.Data, Version=1.0.3300.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" /> <connectionString value="Data Source=LOANER-1122-HP\SQLEXPRESS;Initial Catalog=CAS-Dev;integrated security=false;persist security info=True;User Id=sa;Password=abinash12345;" /> <commandText value="INSERT INTO Log ([Message],[AppName],[TransactionId]) VALUES (#message, #appName,#transactionId)" /> <parameter> <parameterName value="#message" /> <dbType value="String" /> <size value="4000" /> <layout type="log4net.Layout.SerializedLayout, log4net.Ext.Json"></layout> </parameter> <parameter> <parameterName value="#appName" /> <dbType value="String" /> <size value="2000" /> <layout type="log4net.Layout.PatternLayout"> <!--<conversionPattern value="%property{Environment}" />--> <conversionPattern value="APPNAME-LogTest" /> <!--should be a fixed value--> </layout> </parameter> <parameter> <parameterName value="#transactionId" /> <dbType value="String" /> <size value="2000" /> <layout type="log4net.Layout.PatternLayout" > <conversionPattern value="%property{TransactionId}" /> </layout> </parameter> </appender> <root> <level value="ALL" /> <appender-ref ref="TGGADONetAppenderjson" /> </root> When I debug, I can see the values of the custom property "TransactionId" is being put into the thread. However the insert does not work. The TransactionId is not logged in the message nor inserted into the column TransactionId. I am using log4net json version 1.2.13.29 from NuGet
There's some more configuration to go into the SerializedLayout. You need to explicitly name the property. Try something like: <layout type='log4net.Layout.SerializedLayout, log4net.Ext.Json'> <decorator type='log4net.Layout.Decorators.StandardTypesDecorator, log4net.Ext.Json' /> <default /> <!-- explicit default members --> <member value='TransactionId' /> <!-- explicit property reference --> </layout> Check the Members test case that might help you. Alternatively, serialize all the properties by adding a properties member.
NServiceBus Unhandled exception on my Program class when I start debugging
Non Production Issue: After migrating from NServiceBus 3 to 4 and from VS2010 to 2012 I get this unhandled exception on my Program class when I start debugging. This exception was originated in NServiceBus.Host library. System.Configuration.ConfigurationErrorsException was unhandled HResult=-2146232062 Message=Unable to set the value for key: ScaleOut.UseSingleBrokerQueue. The settings has been locked for modifications. Please move any configuration code earlier in the configuration pipeline Source=NServiceBus.Core BareMessage=Unable to set the value for key: ScaleOut.UseSingleBrokerQueue. The settings has been locked for modifications. Please move any configuration code earlier in the configuration pipeline Line=0 StackTrace: at NServiceBus.Settings.SettingsHolder.EnsureWriteEnabled(String key) in y:\BuildAgent\work\31f8c64a6e8a2d7c\src\NServiceBus.Core\Settings\SettingsHolder.cs:line 174 at NServiceBus.Settings.SettingsHolder.Set(String key, Object value) in y:\BuildAgent\work\31f8c64a6e8a2d7c\src\NServiceBus.Core\Settings\SettingsHolder.cs:line 57 at NServiceBus.Settings.ScaleOutSettings.UseSingleBrokerQueue() in y:\BuildAgent\work\31f8c64a6e8a2d7c\src\NServiceBus.Core\Settings\ScaleOutSettings.cs:line 18 at NServiceBus.Hosting.Windows.Roles.Handlers.ServerRoleHandler.<ConfigureRole>b__0(ScaleOutSettings s) in y:\BuildAgent\work\31f8c64a6e8a2d7c\src\NServiceBus.Hosting.Windows\Roles\Handlers\ServerRoleHandler.cs:line 17 at NServiceBus.Configure.ScaleOut(Action`1 customScaleOutSettings) in y:\BuildAgent\work\31f8c64a6e8a2d7c\src\NServiceBus.Core\Configure.cs:line 185 at NServiceBus.Hosting.Windows.Roles.Handlers.ServerRoleHandler.ConfigureRole(IConfigureThisEndpoint specifier) in y:\BuildAgent\work\31f8c64a6e8a2d7c\src\NServiceBus.Hosting.Windows\Roles\Handlers\ServerRoleHandler.cs:line 19 at NServiceBus.Hosting.Roles.RoleManager.ConfigureBusForEndpoint(IConfigureThisEndpoint specifier) in y:\BuildAgent\work\31f8c64a6e8a2d7c\src\NServiceBus.Core\Hosting\Roles\RoleManager.cs:line 67 at NServiceBus.Hosting.GenericHost.PerformConfiguration() in y:\BuildAgent\work\31f8c64a6e8a2d7c\src\NServiceBus.Core\Hosting\GenericHost.cs:line 189 at NServiceBus.Hosting.GenericHost.Start() in y:\BuildAgent\work\31f8c64a6e8a2d7c\src\NServiceBus.Core\Hosting\GenericHost.cs:line 86 at NServiceBus.Hosting.Windows.WindowsHost.Start() in y:\BuildAgent\work\31f8c64a6e8a2d7c\src\NServiceBus.Hosting.Windows\WindowsHost.cs:line 55 at NServiceBus.Hosting.Windows.Program.<>c__DisplayClasse.<Main>b__6(WindowsHost service) in y:\BuildAgent\work\31f8c64a6e8a2d7c\src\NServiceBus.Hosting.Windows\Program.cs:line 80 at Topshelf.Internal.ControllerDelegates`1.StartActionObject(Object obj) in c:\Projects\TopShelfForNSB\src\Topshelf\Internal\ControllerDelegates.cs:line 18 at Topshelf.Internal.IsolatedServiceControllerWrapper`1.<>c__DisplayClass2.<set_StartAction>b__1(TService service) in c:\Projects\TopShelfForNSB\src\Topshelf\Internal\IsolatedServiceControllerWrapper.cs:line 65 at Topshelf.Internal.ServiceController`1.<.cctor>b__1(ServiceController`1 sc) in c:\Projects\TopShelfForNSB\src\Topshelf\Internal\ServiceController.cs:line 35 at Magnum.StateMachine.LambdaAction`1.Execute(T instance, Event event, Object parameter) in :line 0 at Magnum.StateMachine.EventActionList`1.Execute(T stateMachine, Event event, Object parameter) in :line 0 at NServiceBus.Hosting.Windows.Program.Main(String[] args) in y:\BuildAgent\work\31f8c64a6e8a2d7c\src\NServiceBus.Hosting.Windows\Program.cs:line 151 InnerException: Stacktrace: NServiceBus.Host.exe!NServiceBus.Hosting.Windows.Program.Main(string[] args) Line 149 C# app.config <?xml version="1.0" encoding="utf-8"?> <configuration> <configSections> <section name="TransportConfig" type="NServiceBus.Config.MsmqTransportConfig, NServiceBus.Core" /> <section name="UnicastBusConfig" type="NServiceBus.Config.UnicastBusConfig, NServiceBus.Core" /> <section name="SecondLevelRetriesConfig" type="NServiceBus.Config.SecondLevelRetriesConfig, NServiceBus.Core" /> <sectionGroup name="applicationSettings" type="System.Configuration.ApplicationSettingsGroup, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> <section name="GripHandlers.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" /> </sectionGroup> <section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler,log4net" /> <section name="MessageForwardingInCaseOfFaultConfig" type="NServiceBus.Config.MessageForwardingInCaseOfFaultConfig, NServiceBus.Core" /> <section name="AuditConfig" type="NServiceBus.Config.AuditConfig, NServiceBus.Core" /> </configSections> <appSettings> <add key="DB" value="Data Source=Miguel;persist security info=True;user id=Miguel;password=Miguel" /> <add key="ClientSettingsProvider.ServiceUri" value="" /> <add key="LogDir" value="c:\Grip\OutputMessages" /> </appSettings> <SecondLevelRetriesConfig Enabled="false" TimeIncrease="00:00:10" NumberOfRetries="3" /> <TransportConfig NumberOfWorkerThreads="4" MaxRetries="5" /> <UnicastBusConfig TimeoutManagerAddress="" DistributorControlAddress="" DistributorDataAddress=""> <MessageEndpointMappings> <add Messages="Grip.Gateway.Events.Grip.ProcessedWithQualityIssuesEvent, Grip.Gateway.Events.Grip" Endpoint="Worker" /> <add Messages="Grip.Gateway.Events.External.ExternalPlacementDeletedEvent, Grip.Gateway.Events.External" Endpoint="Worker" /> <add Messages="Grip.Gateway.Events.External.ExternalPlacementModifiedEvent, Grip.Gateway.Events.External" Endpoint="Worker" /> <add Messages="Grip.Gateway.Events.External.ExternalTradeAddedEvent, Grip.Gateway.Events.External" Endpoint="Worker" /> <add Messages="Grip.Gateway.Events.External.ExternalTradeDeletedEvent, Grip.Gateway.Events.External" Endpoint="Worker" /> <add Messages="Grip.Gateway.Events.External.ExternalTradeModifiedEvent, Grip.Gateway.Events.External" Endpoint="Worker" /> <add Messages="Grip.Gateway.Events.Grip.GripGatewayNotifiedEvent, Grip.Gateway.Events.Grip" Endpoint="Worker" /> <add Messages="Grip.Gateway.Events.Grip.IntegrationExceptionEvent, Grip.Gateway.Events.Grip" Endpoint="Worker" /> <add Messages="Grip.Gateway.Events.Grip.AddAGripPlacementProcessedByService, Grip.Gateway.Events.Grip" Endpoint="Worker" /> <add Messages="Grip.Gateway.Events.Grip.PlacementAddedToGripEvent, Grip.Gateway.Events.Grip" Endpoint="Worker" /> <add Messages="Grip.Gateway.Events.Grip.PlacementModifiedInGripEvent, Grip.Gateway.Events.Grip" Endpoint="Worker" /> <add Messages="Grip.Gateway.Events.Grip.PlacementDeletedInGripEvent, Grip.Gateway.Events.Grip" Endpoint="Worker" /> <add Messages="Grip.Gateway.Events.Grip.TradeAddedToGripEvent, Grip.Gateway.Events.Grip" Endpoint="Worker" /> <add Messages="Grip.Gateway.Events.Grip.TradeModifiedInGripEvent, Grip.Gateway.Events.Grip" Endpoint="Worker" /> <add Messages="Grip.Gateway.Events.Grip.TradeDeletedInGripEvent, Grip.Gateway.Events.Grip" Endpoint="Worker" /> <add Messages="Grip.Gateway.Events.Grip.PlacementLinkedInGripEvent, Grip.Gateway.Events.Grip" Endpoint="Worker" /> <add Messages="Grip.Gateway.Events.Grip.PlacementUnLinkedInGripEvent, Grip.Gateway.Events.Grip" Endpoint="Worker" /> </MessageEndpointMappings> </UnicastBusConfig> <applicationSettings> <GripHandlers.Properties.Settings> <setting name="MonitorPerformance" serializeAs="String"> <value>False</value> </setting> <setting name="EndpointSLA" serializeAs="String"> <value>10</value> </setting> </GripHandlers.Properties.Settings> </applicationSettings> <MessageForwardingInCaseOfFaultConfig ErrorQueue="ERROR" /> <log4net debug="false"> <appender name="file" type="log4net.Appender.RollingFileAppender"> <file>c:\Grip\Logs\GripHandlers.log</file> <maximumFileSize value="5MB" /> <layout type="log4net.Layout.PatternLayout"> <param name="ConversionPattern" value="%d [%t] %-5p %c [%x] <%X{auth}> - %m%n" /> </layout> </appender> <appender name="console" type="log4net.Appender.ConsoleAppender"> <layout type="log4net.Layout.PatternLayout"> <param name="ConversionPattern" value="%d [%t] %-5p %c [%x] <%X{auth}> - %m%n" /> </layout> </appender> <root> <level value="DEBUG" /> <appender-ref ref="file" /> <appender-ref ref="console" /> </root> </log4net> <runtime> <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"> <dependentAssembly> <assemblyIdentity name="StructureMap" publicKeyToken="e60ad81abae3c223" culture="neutral" /> <bindingRedirect oldVersion="0.0.0.0-2.6.4.0" newVersion="2.6.4.0" /> </dependentAssembly> <dependentAssembly> <assemblyIdentity name="NServiceBus.Core" publicKeyToken="9fc386479f8a226c" culture="neutral" /> <bindingRedirect oldVersion="0.0.0.0-4.6.0.0" newVersion="4.6.0.0" /> </dependentAssembly> <dependentAssembly> <assemblyIdentity name="NServiceBus" publicKeyToken="9fc386479f8a226c" culture="neutral" /> <bindingRedirect oldVersion="0.0.0.0-4.6.0.0" newVersion="4.6.0.0" /> </dependentAssembly> </assemblyBinding> </runtime> <AuditConfig QueueName="audit" /> </configuration> EndpointConfig.cs using System; using System.Diagnostics.CodeAnalysis; using System.Transactions; using GripHandlers.Properties; using NServiceBus; using StructureMap; namespace GripHandlers { [ExcludeFromCodeCoverage] public class EndpointConfig : IConfigureThisEndpoint, IWantCustomInitialization, AsA_Server { public void Init() { SetLoggingLibrary.Log4Net(() => log4net.Config.XmlConfigurator.Configure()); var container = new Container(new GripHandlersRegistry()); Configure.Transactions .Advanced(settings => settings.IsolationLevel(IsolationLevel.RepeatableRead)) .Enable(); //Tried this but no luck :( //Configure.ScaleOut(s => s.UseUniqueBrokerQueuePerMachine()); Configure.With(AllAssemblies.Except("Oracle.DataAccess.dll")) .StructureMapBuilder(container) .UnicastBus() .UseTransport<Msmq>() .SetEndpointSLA(new TimeSpan(0, 0, Settings.Default.EndpointSLA)) .EnablePerformanceCounters() .CreateBus() .Start(() => Configure.Instance.ForInstallationOn<NServiceBus.Installation.Environments.Windows>().Install()); } } } Yes I’m using NServiceBus.Host process. Already had found and tried this doc without success: NService Bus : "Unable to set the value for key: ScaleOut.UseSingleBrokerQueue." Helpful information to include Product name: NServiceBus Version: 4.6.1
From the link you posted: did you try removing CreateBus() and Start()? I don't think those are needed anymore when you use ASA_Server. – Phil Sandler 2 days ago Thanks to Phil.
Date Parameters in FetchXML
I am using FetchXML in SSRS 2008 to create a report from CRM 2011. I want to have parameters in the report so you can show the records between From Date - To Date. This is the Query I have so far. <fetch> <entity name="appointment"> <attribute name="scheduledstart" /> <link-entity name="systemuser" from="systemuserid" to="ownerid"> <attribute name="firstname" alias="ownerFirstName" /> <attribute name="lastname" alias="ownerLastName" /> </link-entity> <link-entity name="contact" from="contactid" to="new_contactperson"> <attribute name="parentcustomerid" alias="parentaccount" /> <attribute name="new_businessunit" alias="businessunit" /> </link-entity> <attribute name="new_contactperson" /> <attribute name="subject" /> <attribute name="new_coldernotes" /> <link-entity name="activityparty" from="activityid" to="activityid"> <attribute name="participationtypemask" alias="participationtypemask" /> <filter> <condition attribute="participationtypemask" operator="eq" value="9" /> </filter> <link-entity name="systemuser" from="systemuserid" to="partyid"> <attribute name="fullname" /> </link-entity> </link-entity> <order attribute="scheduledstart" descending="true" /> </entity> </fetch> How would I make it so I can filter between the dates? Thanks!
Not sure if you have access to the native CRM client, but the Advanced Find view quickly generates this sample FetchXML: <filter type="and"> <condition attribute="modifiedon" operator="on-or-after" value="2011-10-04" /> <condition attribute="modifiedon" operator="on-or-before" value="2011-11-13" /> </filter>