How to use Dexie to synchronize a MSSQL database using an Order Form - dexie

I am looking to create an HTML5 Online Order app using Dexie. The back-end database is MSSQL. I would like to connect to the SQL DB, load data from one or more tables into an IndexDB and provide a order form for the user to select items to order and then be able submit the order form.
Is this possible with Dexie and how would I implement two-way synchronization to keep inventory totals up-to-date?
If someone can point out the pieces I will need I can research this on my own. I would not mind some examples as well.
I appreciate any help that is offered.
Regards,
Joe

Related

Best way to open an internal project to world as a Saas

We have developed an internal crm and used it for the last months. Now we have decided to open it to the public as a Saas project and I'm wondering which is the best solution to upgrade the database structure that actually is made for only one company and expand it to be able to manage multiple paying customers.
At the moment the scheduled solution is to add a "customer" field to every column in the database and upgrade the backend logic to use this field.
Are there more elegant solutions to this problem?
The database is mySql and the backend is made with laravel.
CRM Data can be very sensitive and you need to be extremely careful not to "leak" data to wrong customers.
For an existing app, I would argue for a system to create fresh DB for each customer.
You would have 1 codebase that connects to customer specific DB.
This way you dont need to change too much in your current DB structure, but "just" implement the mechanism to use the correct DB according to customer account.
This is how I would do it :
In any wah this is a massive paradigm change from an internal app to a SAAS platform app, and you should identify the necessary steps to go through to achieve the desired result.

PowerApps - create my own table or use a Dataverse table?

I have a couple of questions regarding PowerApps and the Dataverse. I don't know where else to ask them. I'm hoping someone here can help me.
I'm very familiar with creating a database in MS SQL SERVER. I've been doing that for 20+ years. I'm used to creating/seeing a database diagram that shows what tables are in the database and how they are related. Documentation about each table, what is it's business purpose etc.. Documentation about each column - what it's purpose is, it's domain of values etc.
Where do I find this same sort of documentation for the Dataverse? I've been searching for days and have not come across one schema diagram showing what tables are in the Dataverse or how they are related. Nor have I found any documentation that describes the business purpose of the tables or columns.
How would I know if I should create a table in the Dataverse for some business function or whether I should be using a table that already exits e.g. Company (to capture information about companies my organization cares about), Org Unit (to capture information about the org structure of my company), Staff (to capture information about staff in my company and what org unit they belong to), Business process (to capture information about processes executed by org units in my company)...
Dataverse (earlier called as Common Data service) is nothing but Dynamics CRM under the hood. So you can start here and you can find the Entity/Table metadata details here
If you are looking for ERD, then I will use XrmToolBox - ERD Visio Builder to connect and pull it.

how to move Application Insights customEvents table to postgres database?

This is for a project on Bot Framework Composer (not SDK, so i'm using built in telemetry export settings).
I am looking for the best way to store event logs from bot conversations for analysis. From what I've researched, the method recommended is going through Application Insights, which I activated and tested. The data I require seems to be all captured in table customEvents.
The issue is I need to be able manipulate the data for analysis. But in Application Insights it's read only (and possibly purge via API). I need to be able to add tables, edit text, etc. I have a lot of experice with postgreSQL so that's my first choice for bot log storage.
So my question is, what is the efficient way to get the customEvents data table that is in application insights to a postgres database? From what I see, application insights only exports to azure storage? But that does not have a database option. And if I understand some of the pipelines suggested, they copy data to storage, and then copy to a database. Isn't that a lot of storage cost, as same data will be in application insights, storageBlobs AND postgres?
What is the best pipeline? The goal is to have non-redundant pipeline that transfers event data that is in 'customEvents' to a postgres table with same columns.
(If there is a way to redirect data that goes to customEvents in application isights directly to postgres table that would be perfect too. )
There is no such to redirect data from application insights directly into postgres table.
The first solution is continuous export to azure storage as you know. Storage blob does not cost very much and you can clear the old data periodically to reduce the cost.
Another way is to use the application insights query api. To do that, you need to write your own logic to query the custom events from application insights, then insert them into your DB by your code.

How to handle database modifications via Power Apps?

First of all, I would like to say please do not be surprised by my question cause I'm a beginner in this sphere.
I just started work with Power Apps and I have the following task:
I need to create some "Notification Service" which will be sent the notification inside Teams group after the event in the SQL table (for example, after successful insert into table).
Could you please explain, is it possible to do via Power Apps features without writing a code?
The application must be work in background mode and automatically send information about new rows in DB.
Any your answer will be very helpful for me!
Thanks for your answers!
PowerApps doesn't have the ability to notify people this way. You have to use Power Automate. A flow can be triggered when a row is changed or modified. In order to trigger a Flow on a database, the database field must have a TimeStamp field and a primary key.

How do I create word/tag cloud in obiee

Our company is using Oracle12c and recently wanted to see a list of the most used payment purposes in a form of word/tag cloud.
There is a column in a table that stores all payment purposes and the task is to know the frequency of these purposes and display them as a tag cloud in Obiee.
Is there any way to do this? Can Obiee analyze it itself or should I provide the word list to look for? If I should then it would be hard to accomplish since there are thousands of payments with thousands of different purposes.
Any help would be appreciate
SampleApp 607 contains a working example:
https://www.oracle.com/technetwork/middleware/bi-foundation/obiee-samples-167534.html

Resources