Hot to fix
In Sitecore, go to Control Panel -> Deploy Marketing Definitions.
See this official documentation page for detailed instructions on deploying marketing definitions:
Based on the ...
Under sitecore/marketingDefinitions/goal/definitionManager, you have the following parameter configured:
<param desc="isReadOnly" type="System.Boolean" factoryMethod="Parse" arg0="true" patch:source="Sitecore.Marketing.config" />
This means that the definition manager is configured to be read-only.
Here's the original text of this node ...
I wrote this pull request just for this case. It applies profile cards to items based on rules in the rules engine.
Any rule you can write that analyzes your content, can be applied to this new rules engine to apply a profile to an item on the fly. It does not add it to the item directly. That would require you ...
Marketing definitions, such as campaigns, are stored and retrieved by using repositories, which may use different storage types. There are three repository types that are shipped with Sitecore:
item repositories—these work with definition items directly in the content tree. The default database used is master.
rdb repositories use the Reporting database. ...
Channel determining logic
The settings for setting the channel are located in the following configuration file:
The determineInteractionChannel pipeline is used to set the channel of the current interaction. It contains four out-of-the-box processors:
DefaultChannel—uses the "Direct" channel by default.
To retrieve Outcomes for given outcome definitions
There is no ready made API, but you can either write a Mongo query or extend Sitecore.Analytics.Outcome.Data.MongoDbOutcomeRepository.
public class CustomRepository : MongoDbOutcomeRepository
public CustomRepository(MongoDbCollection mongoCollection) : base(mongoCollection)
There are several components that go into creating an Activity Type. Once you have the code implemented, you need to ensure the rest of the system is configured to make use of your new code.
Step 1: IActivity implementation
Create a class which implements the IActivity interface. This class should have the logic you want to implement as an action or ...
You can do it programmatically. Below is the steps to be able to implement this easily.
Trigger a goal programmatically.
Since you have the goal id, you can get the goal item and then read the tracking field.
Here is a snippet on how to read the Tracking Field
ProfileUtil.GetProfiles(item, out trackingField);
Once you have ...
You're defining the DefinitionFieldLabelResolver as an NotConfiguredDefinitionFieldLabelResolver, which will throw an InvalidOperationException for each method that it implements
It should be enough to change the type from NotConfiguredDefinitionFieldLabelResolver to EmptyDefinitionFieldLabelResolver. This class can be found in the Sitecore.Xdb....
You can use Sitecore.Analytics.Data.ProfileUtil to retrieve the tracking field and profile data.
Example to retrieve the first profile set on the item:
var profiles = ProfileUtil.GetProfiles(item, out var trackingField);
that is exactly what should happen. It's part of the notes on the official rebuild reporting database instructions (https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/xdb/server_considerations/walkthrough_rebuilding_the_reporting_database):
When you run the rebuild process (synchronization), this erases all information in ...