Identifying custom models used in a Microsoft Form Recognizer composed model - azure-form-recognizer

We have a composed model containing 30 document models, all iterations of the same document.
We are looking to trace possible issues related to Azure FR performance with any specific custom model.
Is there a method for identifying the specific model is used within a composed model in MS Form Recognizer? Is this part of the JSON output?
Attempted to hard code a tag on each custom model through MS FR Studio, but that does not seem to be an option.
We are using the GA API released 8/31/2022 + ver 3.0.

Related

React JS - is there a way to have a variable number of checkboxes in a React UI?

I've written a simple application in React-js/Spring boot which essentially generates software licenses (an xml file) and records basic facts about the license issued, such as customer name etc.
This has worked fine, but now the request is to store specific features of the software which are enabled via the license, e.g. reporting, notifications, etc.
These attributes are carried as name/value pairs in the xml file, most of which will never change. But there are a few that could change, and the request is to have checkboxes on the UI which allow the user to enable one or more of this small subset of features.
Since this list of features could vary over time, I'd like to create a text file which lists the names of these features. This file would then be used as the basis to dynamically create checkboxes on the UI.
This sound like it should be do-able, but as I'm not very familiar with React, I'm wondering if this is a little ambitious.
So the question is - can you create checkboxes on a React UI based on names you read from a file?

Exporting all Informations flow out of a Diagram with Enterprise Architect

The Enterprise Architect keeps the connections of a Graph in the Database.
I am looking for a way to export the information flows of a Diagram.
For this purpose i would need to sets of simple outputs:
A Matrix-View where the Names of the Elements are the X, Y-Axis and an X is drawn where they intersect
A List-View where all Information Flows are listed with their source and sinks.
I tried using a report, but i just could not get this to work for me.
It sounds like you're taking slightly the wrong approach here.
In Enterprise Architect, a diagram is not a container of information. It is a display which shows a selection of information from the underlying data store. This is in stark contrast with drawing tools, like MS Visio.
The EA data store is organized into packages, and that shows through the entire product. So if you edit an RTF document template, for instance, you will note that the internal template structure is based on a package structure -- it doesn't start from a diagram. You will also note that the context menu for a package or an element contains a Documentation sub-menu, but there isn't one in the diagram context menu. Same reason; a diagram is not a starting point for a document.
Now that said, you can create an RTF template which outputs only the information flows to/from the elements included in the generation scope, but you need to start off from a package and create your template based on a package structure. Setting up a table in a template is a little fiddly the first time but it's not impossible. In order to select only the information flows, use the Exclude Filters tab in the Generate Documentation dialog to exclude all connector types except Information Flow.
The matrix view you're looking for is known as a Relationship Matrix, located in the View menu (in EA 11.1). Again, it's based on a package structure, not a diagram structure. Relationship matrices can be included in generated documents as well.

Why would an ADF Business Components Entity Attribute render as "updatable while new" when all relevant configurations are set for "updatable always?"

Background
The application in question is a WebCenter 11g in-house development project using ADF Business Components, JSF 2.0, and Facelets, and is being developed using JDeveloper 11g Release 2, version 11.1.2.4.0. The model project contains an Entity Object with many values for reviewing business projects. The view controller project contains a single page within a bounded task flow, which houses an input form referencing these values for creating and editing reviews. ADF Security features are enabled across the application. In the context of these reviews, intended functionality indicates one class of users can only edit certain "S.E." values, while other users can edit all values and create new reviews. To facilitate this, Entity Attribute-level security has been implemented for the reviews.
The Issue
The review form renders correctly, with the exception of a small, random selection of the values' input elements (eight out of 40) that render as read-only/disabled only when editing an existing record, but have no issue when creating a new record. When testing using the AppModule testing functionality, the same results are observed: the same eight values can be edited by the test user only for new records, while all other values are editable for new and existing records.
Specifics
The View Object and Entity Object Attributes for these values are all configured with the Updatable property set to Always. These values include some of the aforementioned "S.E." values, but not all of them - nor are all of the values at issue included within the "S.E." value group. The test user is set as an administrator for the application, an Application Role to which all Resource Entitlements are granted.
Failed Resolutions
I've attempted changing the View Object and Entity Object Attributes' Updatable attributes to While New and Never, then switching them back to Always - confirming that the changes were made in the XML file with each switch. I've checked and rechecked the ADF Security configuration several times, and confirmed the security for each of those values is identical to that of the other values in the same form/Entity for which the issue does not occur. I've cleaned the application and rebuilt the projects (model and vc) individually before deploying to a freshly launched Integrated WebLogic Server; I've closed and relaunched JDeveloper before rebuilding and redeploying; I've even restarted the computer, as sometimes the nature of my enterprise causes odd issues with JDeveloper that are only resolved by a log out or restart of the entire system. I've also confirmed that the issue occurs on my coworker's machine.
Ground Rules
Due to the nature of my environment, I cannot divulge explicit details of the application, and the following suggestions are unacceptable.
Upgrading JDeveloper
Upgrading Java
Upgrading WebLogic/WebCenter
Upgrading ADF, JSF, or any other library
As it turns out, this issue was caused by an ADF Security/JDeveloper SNAFU. The Entity Attributes in question were renamed (refactored) at some point, and for some reason this change propagated to everything ... except the Attributes' permission configuration. The Attributes and all other references to them held the new names, but their Permission elements in the Entity XML file still held the old names. This was not apparent until reviewing the XML directly, as the JDeveloper UI for ADFBC Entities does not reflect the warning state shown in the XML editor. The solution, then, was to either disable and re-enable Attribute-level security for those Attributes or to manually adjust the Permission elements' parameters within the XML.

umbraco 7 how to access database MVC

I have Umbraco 7 website with MVC.
I want to perform some custom action on the database.
As I understand I should be using DbContext to connect.
I have referenced System.Data.Entity to get to DbContext class. However when I'm trying to use DbContext I'm getting an error saying
The type or namespace name 'DbContext' could not be found (are you missing
a using directive or an assembly reference?)
In my models namespace:
public class umbracoDbDSN : DbContext
{
//some code
}
Can you let me know what I am missing?
Thanks
You are mixing things up. Umbraco uses PetaPoco as ORM, not entity framework. You don't need to include the System.Data.Entity. Neither you need the DbContext.
However, if you have existing DataLayer logic which you need to incorporate, for legacy systems, you might need to continue with your code above. Then look for entity framework tutorials on the internet to continue your journey.
If you are not dragging legacy stuff, then the question is: do you want to perform queries on custom tables or do you want to query the Umbraco tables for some reason.
Let's start with the last one. Querying the umbraco tables:
If you want to connect to the umbraco SQL tables, I start wondering why. There is a ContentCache, which is blasting fast, and it enables you to query very quickly everything you need from the content section. You have API's for relationships, media, users, members and everything you need. So the question remains, WHY would you ever connect to the umbraco tables.
However, if you want to store data in custom tables, I would read this article of Warren: http://creativewebspecialist.co.uk/2013/07/16/umbraco-petapoco-to-store-blog-comments/
The idea is simple, you reuse the existing code base to extend umbraco behaviour without storing stuff in the content section.
Below a simple example for reusing the databaseconnection while querying some proper created table...
var db = ApplicationContext.Current.DatabaseContext.Database;
// Fetch a collection of contacts from the db.
var listOfContacs = db.Fetch<Contact>(new Sql().Select("*").From("myContactsTable"));

Salesforce: script to create custom object and fields

Is there a way to create custom objects and fields by using script or IDE ?
Salesforce is very easy to use, however, it's so time-consuming to create so many fields on Web interface. So, just wonder if there's ways to use script or IDE to create objects and fields in Salesforce?
You're looking for the Metadata API, or already developed tools which use the metadata api.
http://www.salesforce.com/us/developer/docs/api_meta/Content/meta_intro.htm
http://www.salesforce.com/us/developer/docs/api_meta/index.htm
Though using it directly will still require some developement, which may not save you much time. you get metadata in XML, but would still need to process it to what you want to achieve.
Somewhat also depend on the nature of what you want to do. I for instance had a requirement today for 150 custom labels based on an input file. Was much faster to generate metadata XML than to ever do that in the web interface. Deployed the metadata using the force.com IDE.

Resources