Fredric Foo
  • Member for 2 years, 11 months
  • Last seen more than a month ago
  • Singapore
Cannot query field "search" on type "Query"
Accepted answer
8 votes

From the looks of it, the configuration was not patched correctly. The /sitecore/api/graph/items/master/… is the default JSS endpoint which has search query enabled, while the default JSS project ...

View answer
Graphql image size
Accepted answer
6 votes

I found 2 solution for this issue and I ended using method 1 for the "hashed url" convenience. Method 1: Using rendered(fieldRendererParameters) query ($datasource: String){ item (path:$...

View answer
Control the time zone of the Date fields
Accepted answer
5 votes

Looks like you are in the right direction. 1) The ServerTimeZone config needs to be set to match your timezone. <setting name="ServerTimeZone" value="600"/> 2) If you are running versions ...

View answer
500 Error Page for HTTPS connection in Sitecore JSS in Connected Mode
Accepted answer
4 votes

It looks like the Access-Control-Allow-Credentials value was added twice, hence the value is shown as "true, true". Try removing it first then add again. <remove name="Access-Control-Allow-...

View answer
Restricting which roles a role can assign
Accepted answer
4 votes

You can't directly set permissions to restrict user to only be able to add certain roles. But you can use Sitecore local managed domain to sort of workaround this issue. Basically, you would have ...

View answer
Restrict account administration capabilities to a single domain?
4 votes

You can use the Local Administrator Role to allow management of accounts within a domain. Sitecore local administrators can log in to Sitecore and manage the security applications (including ...

View answer
Sitecore 9.1 Forms conditional logic not working as expected
Accepted answer
4 votes

I have tried messing around with the conditions, and I am concluding that the Sitecore Forms conditional logic is weird. 1. Logic The conditional logic seems to be based on the following All ...

View answer
Link Commerce order with a Customer/Visitor Profile
Accepted answer
3 votes

The reason is that the isRegistered header value must be set to true, otherwise the CustomerId will just be act as a text string reference instead of referencing to an actual customer. More ...

View answer
How do you define specific channels in Marketing Control Panel/Sitecore Analytics?
Accepted answer
3 votes

Sitecore defines marketing taxonomies as A taxonomy is a hierarchical structure that you can use to identify and organize information. In the Sitecore Experience Platform, you can use taxonomies to ...

View answer
Field level fallback value is lost when new version of a dictionary item is added
2 votes

It seems to be the correct behavior, language fallback is only applicable when you don't have any version for that language. In Sitecore's doc wording you specify the fallback language that ...

View answer
Solr search query by Datetime.Year
Accepted answer
2 votes

As mentioned by @jrap in the comments, you can use computed fields to solve this. To use computed field, you would need to 1) Create a class that contains the logic to generate/calculate your new ...

View answer
How to update an xConnect contact identifier
Accepted answer
2 votes

As mentioned in the Sitecore documentation, "Existing contact identifiers cannot be updated", which means that contact identifiers are immutable objects. In your question, you have basically listed ...

View answer
Sitecore 9.1 password complexity
Accepted answer
2 votes

After my investigation, it appears that the default configuration of Identity Server is federating the authentication back to the Sitecore Membership of the main Sitecore instance. The default ...

View answer
Unable to extract package from Storefront
Accepted answer
1 votes

There's a easier way to do this since you are using 7zip. Extract just the XML file and edit it Drag and drop it back to the 7zip interface. Save the archive and you are done

View answer
How to rework LoggingIn pipelines in Sitecore 9.1?
1 votes

Sitecore uses Owin authentication, so you could probably do similar thing by using this "owin.cookieAuthentication.signIn" pipeline instead of "loggingin" pipeline The config file is located at ...

View answer
After creating wffm form in sitecore 9.0 update 1, how do we publish it?
1 votes

I would like to point out that in Sitecore 9, it already comes with Sitecore Forms pre-baked into it. Sitecore Forms has a much better ui and is gonna replace wffm. I suggest you look at that instead ...

View answer
Sitecore JSS does not deliver dictionary entries from pathes specified in config files
1 votes

The Sitecore JSS comes with a set of default configurations located in App_Config\Sitecore\JavaScriptServices\Sitecore.JavaScriptServices.Apps.config Since your configuration setting does not ...

View answer
Creating customers in Sitecore Commerce
0 votes

I managed to solve this by using the following codes to create the Customer on my storefront website. Dictionary<string, string> data = new Dictionary<string, string>() { { "...

View answer
Get sellable items in category
0 votes

I ended up using the following query instead. var container = Sitecore.Commerce.Engine.Connect.EngineConnectUtility.GetShopsContainer(); var category = Sitecore.Commerce.ServiceProxy.Proxy ...

View answer
Multiple queries for a droplink - removing duplicates
0 votes

I don't think there is option to select unique results in Sitecore query. But you can do something like this to filter out the results by checking if the "Photos" item id on the "ancestor query" is ...

View answer
Did we lose row/column compatible renderings in Sitecore 9 dynamic placeholders?
0 votes

I guess it is just how Sitecore creates the Dynamic placeholder differently and it guarantees a uniqueness to placeholder key across different renderings. Quote from Sitecore Docs Unlike a regular ...

View answer
Multilist pick subcategory based on the category selection
Accepted answer
0 votes

I am not sure if this can be done, and I don't think it's a good idea to make one field dependent on the other. Like what Dan mentioned, there would probably be issues around updating the 2 different ...

View answer