New release GrandNode 2.0 - 2.3.0 is out now! Get the newest version from downloads page! Download GrandNode 2.0 CLOSE

Profile: Antonio

Statistics
Avatar
  • 4

Hello Patryk,

         It is working now after enabling the permission you mentioned.

Thank You,
Ali

Saturday, September 18, 2021 9:43 AM

I followed the documentation for the frontend web api and generated a token using:
https://localhost:44350/tokenweb/guest

when I test calling  "https://localhost:44350/Component/Index?Name=Menu" from  postman, it gives this error:
"Customer not has permission"

if I try a token from "https://localhost:44350/tokenweb/antiforgery", the error is:

No SecurityTokenValidator available for token.

Am I missing something here?

I am using the latest revision of GN2

Monday, September 6, 2021 11:09 PM

I am facing the same problem. MongoDb was on a different server, I installed it locally but got the same error. Authorization is enabled for MongoDb. I am able to connect to the database from Mongo Shell

Sunday, June 13, 2021 6:25 PM

Hi,

  I was trying to  work with Vue to  update elements but it is not working. I  noticed two issues:

1. bind works for hidden element type but not text type.
2. it works on page load only. It does not update elements.

<div class="price-input" id="appProd">
            <label asp-for="CustomerEnteredPrice" class="enter-price-label">@Loc["Products.EnterProductPrice"] </label>
          
            *<input asp-for="CustomerEnteredPrice" :value="gPrice" type="hidden" class="form-control enter-price-input" />
            <input v-on :value='value' />
            <input v-model="price" placeholder="edit me">
            <p>Message is: {{ price }}</p>
        </div>
        <div class="price-range pt-1">
            @Model.CustomerEnteredPriceRange
        </div>
    </div>

    <script type="text/javascript">
        var app = new Vue({
            el: '#appProd',
            data() {
                return {
                    gPrice: 14, value: 33, price: 32,
                    polling: null
                }
            },
            methods: {
                pollData() {
                    this.polling = setInterval(() => {
                        this.goldPrice = this.gPrice + 1;
                        //alert(this.gPrice);
                    }, 5000)
                }
            },
            beforeDestroy() {
                clearInterval(this.polling)
            },
            created() {
                this.pollData()
            }
            
        })
    </script>

this code was added to the _Addtocart.cshtml

Am I missing  something?

Saturday, June 5, 2021 1:25 AM
back to top