In config.js file , there are following variables.
MESIBO_ACCESS_TOKEN
MESIBO_APP_ID
I created one user in mesibo console under some ex applicatoin , then added this token for- MESIBO_ACCESS_TOKEN & for MESIBO_APP_ID - App Id which is showing in below screen.
Is it right which I created variables ?
MESIBO_ACCESS_TOKEN - is the user token which the user created.
MESIBO_APP_ID - any text ex: test.mesibo.com
Related
I'm building an MSFlow which sends a SharePoint pic lib pic to a just-trained CustomVision Classifier, which then sends back a label (eg "Green", "Red", etc);
Challenges:
My MSFlow "CustomVision" action is failing, stating "there's no default iteration for this project. please provide an Iteration ID"
There is nowhere on the CustomVision project's settings page which displays this IterationID !
How / where to find this iteration ID (appears to be a GUID) ???
Turns out the IterationID can be found as follows:
Browse to your custom vision projects page URL
(eg https://www.customvision.ai/projects)
=> browser will display a set of "tiles" - one for each of your existing projects;
Navigate (click) on your particular project for which you seek the IterationID;
=> browser will redirect to the "manage" page (note: defaults to Training Images page) for your project;
It will look something like this:
https://www.customvision.ai/projects/<project GUID here>#/manage
Navigate (click) on the Performance tab of this project
=> browser will direct to the "performance" page, something like this:
https://www.customvision.ai/projects/<project GUID here>#/performance
Note: all of the "iterations" (ie training iterations) will be tabbed along the left side
Select the (training) iteration you wish to use as the "web service" for actually classifiying incoming images;
=> browser will display details/metrics for that (training) iteration
Click on the "PredictionURL" tab in the upper left region of the page
=> a pop-up window will display all the settings-related data you'll need to consume the underlying web service ("API") wrapped around this classifier!
In particular, you'll see 2 different URLs:
For ImageURL-as-input:
https://southcentralus.api.cognitive.microsoft.com/customvision/v2.0/Prediction/<projectGUIDhere>/url?iterationId=g9fc4e82-3f95-4ec1-acf2-9b12bba2b409
For ImageFILE-as-input:
https://southcentralus.api.cognitive.microsoft.com/customvision/v2.0/Prediction/<projectGUIDhere>/image?iterationId=g9fc4e82-3f95-4ec1-acf2-9b12bba2b409
No matter which URL you inspect, you'll see the same value for IterationID - and there you have it!
Copy & paste this IterationID GUID into your MSFlow CustomVision Action, and it should work!
In the custom vision portal home, Select the project you are using, then select the Performance Tab. On the left side of the page you would see Iterations. Select the Iteration that you want and select Prediction URL. This will open a new dialog which gives the URL's for image URL and image file. In this URL the iteration id is a parameter that is passed, Copy the id and use it in your application.
If you choose any iteration as default the iteration id would not be required in the image URL.
![I have a table in the firebase database named unit and under the unit I have some childcare which you can see below in the pictures. now my problems is the if user entry some unit name like:Kg, Ltr, etc. if user enters Kg so it should validate with already exist and user would not able to submit it because he/ she is entering exist unit name which already exists in firebase database.and if he/she enters a unique unit name only then they will able to submit it. but I have coded some code for this and it is not working fine when I add this validation inside my validation and when run the project and want to type a unique unit name but submit button is not appearing.
Please help me with this.
firebase table picture:]
here is my .ts file where coded for this
and here the picture is when I run the project and type a unique unit name
we have imported this time here.
enter image description here
Thanks in advance
I would try implementing a database rule, something like this
"unit": {
"$unit_id":
{
".validate": "$unit_id.child('unitname').child(newData.val()).exists() != true",
}
}
We are going to use drive picker as attachement field, so whenever an user uploads a file or multiples files to drive we have to get the links of the files and show it to the user in the form.
Here is a code sample with following assumptions:
you have Master and Attachment models with One-to-Many relation
datasource of the current page is set to record from the Master model
datasource is in Auto Save mode
// onDocumentSelect Drive Picker's event handler
var create = widget.root.datasource.relations.Attachments.modes.create;
result.docs.forEach(function(doc) {
create.item.Url = doc.url;
create.createItem();
});
This code will make N requests to the server, where N is number of attachments. You can use google.script.run to make a single call and handle creating new attachment records and relations on server, but then you'll need manually reload relation to show changes to user.
I am using firebase for login and auth, and was using $createUser. For the first couple weeks working on my app the users I created were being generated with an UID like 'simplelogin:83'. Today, I am working on my app and users are being created with an UID that looks more like a GUID. Did something change on firebases' end? Can I control how that gets generated?
The format has indeed changed from <provider>:<id> into a single opaque UUID. For more information see this post where the change was announced.
There is no way for you to control the format of the user ids for your app. If you're having trouble adapting your code to the new format, reach out to support#firebase.com.
I have an asp.net application containing two pages Add/Edit Customer and Customer List(View).
There is one more host ASP.NET application that uses ajax tab container/accordian to host above two pages in iframes. So as shown below TAB1 contains Edit Customer Page in iframe 1 and TAB2 contains View Customers Page(only one can be active at a time). If I have to move from TAB2 to TAB1 (e.g. user clicks on edit link in customer list), then I have to refresh host application by passing name of tab in querystring(This part is handled by the Host App and is the only available way to switch TAB).
What is the best way to pass data from TAB2 to TAB1 other than query string? I don't want to change host app url by appending querystring as it will be hard to reset the querystring without reloading. My application is in webfarm and has IP session affinity based load balancer. We use in proc session currently but it fails occasionally which is obvious. Are there any proven ways to handle this scenario in webfarm if I remove out-proc sessions out of the question?
----------------------------------------------------------------
ASP.NET MAIN APP CONTENT
VirDir-B
[parent]
**________________________________________________________________**
TAB1 | TAB2
[iframe1] | [iframe2]
{ Edit Cust | { View Cust
VirDir-A } | VirDir A }
|
UPDATE :
Well, I solved this problem using javascript by directly setting source of iframe1 with querystring parameter as all my VDs are in same domain.
PSEUDO CODE:
On View Page:
var tabContainer=$(parent.document).find('#TABCONTAINERID').control;
var iframe=$(parent.document).find('#TABCONTAINERID').children('#iframe1');
iframe.src="editCust.aspx?id=123"
tabContainer.set_activeTabIndex(0);
But I'm curious to know how this could have been handled if I had no control over parent application(may be in different domain).
At least two methods I can think of could be used:
Passing the data to a cookie, then reading it on the other tab
Sending the data to the ASP.NET host app using ajax and downloading it on the other tab