Profile: Antonio
Statistics

- 4
Hello Patryk,
It is working now after enabling the permission you mentioned.
Thank You,
Ali
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
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
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?