Profile: Kalyan

  • 13
Web api

Can we elegantly exit by handling this with a not supported message instead exiting with error

Thursday, May 30, 2019 1:37 PM
Web api

grandnode version 4.4


how to use $expand to get all products under categories?


i get below error when i select only Price and Name. am i missing something?


    "error": {
        "code": "",
        "message": "The query specified in the URI is not valid. The property 'Price' cannot be used in the $select query option.",
        "details": [],
        "innererror": {
            "message": "The property 'Price' cannot be used in the $select query option.",
            "type": "Microsoft.OData.ODataException",
            "stacktrace": "   at Microsoft.AspNet.OData.Query.Validators.SelectExpandQueryValidator.ValidateSelectItem(SelectItem selectItem, IEdmProperty pathProperty, IEdmStructuredType pathStructuredType, IEdmModel edmModel)\n   at Microsoft.AspNet.OData.Query.Validators.SelectExpandQueryValidator.ValidateRestrictions(Nullable`1 remainDepth, Int32 currentDepth, SelectExpandClause selectExpandClause, IEdmNavigationProperty navigationProperty, ODataValidationSettings validationSettings)\n   at Microsoft.AspNet.OData.Query.Validators.SelectExpandQueryValidator.Validate(SelectExpandQueryOption selectExpandQueryOption, ODataValidationSettings validationSettings)\n   at Microsoft.AspNet.OData.Query.SelectExpandQueryOption.Validate(ODataValidationSettings validationSettings)\n   at Microsoft.AspNet.OData.Query.Validators.ODataQueryValidator.Validate(ODataQueryOptions options, ODataValidationSettings validationSettings)\n   at Microsoft.AspNet.OData.EnableQueryAttribute.ValidateQuery(HttpRequest request, ODataQueryOptions queryOptions)\n   at Microsoft.AspNet.OData.EnableQueryAttribute.<>c__DisplayClass1_0.<OnActionExecuted>b__3(ODataQueryContext queryContext)\n   at Microsoft.AspNet.OData.EnableQueryAttribute.ExecuteQuery(Object responseValue, IQueryable singleResultCollection, IWebApiActionDescriptor actionDescriptor, Func`2 modelFunction, IWebApiRequestMessage request, Func`2 createQueryOptionFunction)\n   at Microsoft.AspNet.OData.EnableQueryAttribute.OnActionExecuted(Object responseValue, IQueryable singleResultCollection, IWebApiActionDescriptor actionDescriptor, IWebApiRequestMessage request, Func`2 modelFunction, Func`2 createQueryOptionFunction, Action`1 createResponseAction, Action`3 createErrorAction)"



Thursday, May 30, 2019 8:39 AM
Product Cache

could you please confirm if below line is removing all the products from cache?

I noticed this line in both InsertProduct and DeleteProduct methods of ProductService.

Why should adding single product to Db cause all the Products from cache to be removed?
Why should deleting a single product from Db cause all the Products from cache to be removed?

Wednesday, May 1, 2019 10:10 PM

Can we purchase license key removal for aws, azure hosted instances / containers / Load balancer, etc?

could you please elaborate on below.

Unfortunatelly it's not possible to purchase copyright removal key for IP addresses of hosting companies (like Windows Azure, DigitalOcean, AWS, etc.)

Wednesday, April 17, 2019 5:33 PM

Is there any other screen where we can see warehouse wise products and stock?

Wednesday, April 10, 2019 10:24 AM

Where can we find product wise inventory movement in warehouses.

To be specific i am looking for an equivalent of nopcommerce 'stock quantity history' tab of product edit.

Wednesday, April 10, 2019 6:29 AM

Where can we find product wise inventory movement in warehouses.

Opening stock
-order wise items sold
-other changes in stock
Closing stock

Tuesday, April 9, 2019 6:56 PM

Is a separate license key required for all the subdomains operating on a single domain, or one license key can be used for all the subdomains?

Also, is there a fee for multidomain license key, which will allow any number of domains to be used?

Wednesday, March 20, 2019 10:49 AM


Tuesday, March 5, 2019 7:41 PM

Thank you. it works when i create / edit a product using a vendor account.

Monday, March 4, 2019 11:16 AM