50 votes

What are some appropriate uses for Sitecore Data Providers?

It's a difficult one; a question I've considered many times over in the years I've been working with Sitecore. I can start with some numbers. I've done perhaps 30 or so projects that involved data ...
  • 24.5k
14 votes

What are some appropriate uses for Sitecore Data Providers?

I've used DataProviders fairly extensively and I'd say that they're good if: 1. Your API is fast (not too many calls to get the info, easily cached etc) 2. You need data to be up do date (to ...
  • 1,502
13 votes

What are some appropriate uses for Sitecore Data Providers?

A good example is exposing information from a PIM (product information manager) as native Sitecore items in the Sitecore tree. With this, production information can be accessed via the same API's as ...
  • 2,439
11 votes

What are some appropriate uses for Sitecore Data Providers?

I think there are some good individual examples here of useful Data Provider usage, and some good arguments about when/why you should not use them, but I'd like to summarize the situations in which a ...
8 votes

What are some appropriate uses for Sitecore Data Providers?

I have used them before to inject custom Security on an item level. In my particular case the security requirements couldn't be fulfilled by Sitecore security, so my data provider would perform the ...
  • 1,462
7 votes
Accepted

Consistent GUIDs for custom data provider

Sitecore Commerce Connect employs a similar approach. From the Commerce Connect Integration Guide: 3.1.5 ID Mapping By design, the remote product repository is always regarded as the main repository, ...
  • 24.5k
7 votes

What are some appropriate uses for Sitecore Data Providers?

In the past, I have recommended a data provider while working with a healthcare client. They had a member database that contained HIPAA (Health Insurance Portability and Accountability Act) protected ...
  • 14.4k
6 votes

What are some appropriate uses for Sitecore Data Providers?

I have used Data Providers for PIMs, employee/personell/staff/etc. directories, and also for large quantities of data points coming from a source that is managed in another system but referenced by ...
6 votes
Accepted

What is Sitecore IDTable usage?

The Sitecore 6.6 scaling guide has this to say about the IDTable: You can store persistent mappings of arbitrary keys to Sitecore IDs in the Sitecore IDTable. By default, this is only used by ...
5 votes
Accepted

How to skip item from being published programtically without using NeverPublish field

Yes. But to do so, you need to invoke a feature that I am willing to bet only 1% of the 1% knows about. For a dataProvider, you can disable groups of functionality. In your case you want to disable ...
  • 24.5k
5 votes

Consistent GUIDs for custom data provider

You should try to write a function to generate deterministic guids. Found this: http://kechengpuzi.com/q/s2642141 as a possibility (example is based on paths, but you can use your id as input - if ...
  • 19.3k
4 votes
Accepted

Custom Data Provider with bucketed items

Your root item (probably a real Sitecore item) has to be set as a bucket. For your child items (the virtual ones from your provider), you need to set the Is Bucketable value to true on the 'Standard ...
  • 19.3k
4 votes

What are some appropriate uses for Sitecore Data Providers?

We have a situation were we will probably be moving data outside of Sitecore into a custom database and write a data provider on it. Might become a read-only data provider even. We are facing a tree ...
  • 19.3k
3 votes

What are some appropriate uses for Sitecore Data Providers?

If you have data in a back-end system that has network access limitations, using a Data Provider allows Sitecore to publish the data as Items, sparing you the need to worry about VPNs or latency when ...
2 votes

What are some appropriate uses for Sitecore Data Providers?

They are appropriate when you need to integrate with external data sources and want to take advantage of Sitecore's item processing, tracking and manipulation. One example would be a university: We ...
  • 344
2 votes
Accepted

Custom Media Provider for Azure

You can do this by overriding Sitecore.Resources.Media.MediaProvider. In the GetMediaUrl you'll have access to the MediaItem to check the template or a field. You can then return either the base....
2 votes

Getting error in Automatically accepting changes for cloned items when adding new versions

I think this is a bug with Sitecore. If you look more closely at their documentation you can see that in their sample code they have a TryCatch that expects a NullReferenceException: if (...
1 vote
Accepted

How can I clear the uCommerce dataprovider cache?

I peeked inside the uCommerce Sitecore DLLs and found the class DataProviderReinitializeTask<T> which contained code for clearing the dataprovider cache. To use in any location you'll need code ...
1 vote
Accepted

Expose Sitecore/Sitecore Commerce Items to third party by using custom API

Sitecore Client Services is the one you need to be looking at. There might be a way with DXF as well but I am not too familiar with it. As for Sitecore Client Services: Sitecore.Services.Client ...
  • 24.5k
1 vote

Consistent GUIDs for custom data provider

I have had to do similar in the past have used deterministic GUIDs. I use the method described and shared here: http://code.logos.com/blog/2011/04/generating_a_deterministic_guid.html This algorithm ...
  • 4,144
1 vote

What is Sitecore IDTable usage?

The IDTable is used to store persistant mappings of external keys to Sitecore IDs. Be aware though, that IDtable lookups requires an additional query to the database (caching aside), and may impact ...
  • 2,156

Only top scored, non community-wiki answers of a minimum length are eligible