moqui | For the latest see | Machine Learning library
kandi X-RAY | moqui Summary
kandi X-RAY | moqui Summary
For details about running and deploying Moqui see:. For information about the current and near future status of Moqui Framework see the ReleaseNotes.txt file.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- do a sort
- Fetches the OAuth result from the token
- Process an OAuth code
- Loop through the hashchange event
- add duplicate arguments
- Set the crosshair of a point
- Wraps textarea .
- Poll all commands .
- Get a regular expression
- Lock the crosshair
moqui Key Features
moqui Examples and Code Snippets
Community Discussions
Trending Discussions on moqui
QUESTION
My question is how can I delete one field of entity in moqui which that field is deleted from database? Suppose I wrote one entity and define its field but after some time understand its false and I want delete that specific field from database how can I do this in moqui?
...ANSWER
Answered 2021-Mar-15 at 04:57Firstly, you need to delete it in your database.
Then, modify your XML entity definition.
Then, run
gradlew load
for reloading new database schema.
QUESTION
I want to create a Entity in which there is a field of type Boolean. But according to xsd for entity-defintion in moqui type of boolean is not defined. Is there a way to create a Boolean field in Entity?
...ANSWER
Answered 2020-Jun-16 at 19:43There is no consistent boolean data type across different databases so to remain relational database agnostic Moqui uses a single character column with the text-indicator entity field type. The convention in Moqui Framework and the business artifacts in Moqui Ecosystem is to use Y for yes/true and N for no/false.
QUESTION
I have a CSV file generated by another programme that is uploaded to Moqui as a FileItem without any editing done on the CSV file.
So it has a header that I don't want to use, therefore I manually specify csvEntityName and csvFieldNames for the entity data loader. But the header is taken as the first record. - Is there a recommended way to skip the first line?
...ANSWER
Answered 2020-Jun-19 at 12:45Digging deeper, in EntityDataLoaderImpl.groovy we have:
QUESTION
I want to know the significance of the OrderPart entity in moqui and what are basic differences between OrderPart and OrderItem entity?
...ANSWER
Answered 2020-May-18 at 16:17You are correct that OrderPart and OrderItem are similar in a way, they are both detail entities to the OrderHeader master entity. For general info on master/detail and other data model patterns see:
https://moqui.org/m/docs/framework/Data+and+Resources/Data+Model+Patterns
For more specific information about the Order data model see:
https://moqui.org/m/docs/mantle/Mantle+Structure+and+UDM/Order
The use of OrderItem and OrderPart are very different, items being the line items for the order and parts being a break down of the order under OrderHeader to allow for shipping to multiple locations on the same order, or any other business requirement for splitting orders. Order Parts are used in different ways in different companies as a generic model but you can get an idea of the fields that are intended to be different for different parts of an order by looking at the fields on OrderPart vs OrderHeader.
QUESTION
I am following the Moqui getting started tutorial. I have created a create form as below.
...ANSWER
Answered 2017-Dec-13 at 13:52If the transition exist and the user has permission to access it, then all fields disabled is a bug, please report it by create a issue.
QUESTION
According to Moqui documentation, Based on Data-Base Metadata section, The first time (in each run of Moqui) the Entity Facade does a database operation on an entity it will check to see if the table for that entity exists (unless configured not to). My question is How to configure Moqui to disable entity existence?
...ANSWER
Answered 2019-Jul-15 at 04:39On moqui-conf.entity-facade.datasource there is startup-add-missing attribute that takes the value from default-property 'entity_add_missing_startup'. So in short add this entry on MoquiDevConf.xml and MoquiProductionConf.xml:
QUESTION
I've used KIE component and drools rule to create calculating-rule of shipping products. I defined my rule in *.drl as following:
My *.drl
file:
ANSWER
Answered 2019-Mar-23 at 20:17This looks like a ClassLoader issue. In order to support runtime additions to the classpath Moqui uses a custom ClassLoader that supports this behavior, including the 'classes' and 'lib' directories under the 'runtime' directory or in component directories. The custom ClassLoader (MClassLoader) is set as the context ClassLoader for each thread within the servlet container or threads created internally for Moqui background jobs, etc.
The most likely reason this happens with KIE 'mvel' scripts is that it does not use the current thread's context ClassLoader (ie the mvel compiler isn't using it) or it is running in a thread not initialized through Moqui Framework so the thread's context ClassLoader is not set yet.
The first step to fix this would be to research classloading options for the mvel compiler. There may be a file where it is configured but it is more likely an API option that is needed, perhaps to specify the ClassLoader explicitly so it uses the thread's context ClassLoader. If you want help pursuing that it isn't really a question any more and doesn't belong on StackOverflow. The Moqui community collaboration resources available are described on the Moqui web site here:
QUESTION
I am trying to access Moqui entities using REST API. Here is an the example call.
...ANSWER
Answered 2019-Feb-23 at 06:31Checkout https://www.moqui.org/m/docs/framework/Security#artifact-authz
The following text is copied from Moqui documentation.
The first step to configure artifact authorization is to create a group of artifacts. This involves a ArtifactGroup record and a ArtifactGroupMember record for each artifact, or artifact name pattern, in the group.
For example here is the artifact group for the Example app with the root screen (ExampleApp.xml) as a member of the group:
QUESTION
The assets entity in Moqui has an associated asset field. But, we have a use case where multiple assets need to be associated with an asset.
For example, a tool(manufacturing equipment) may be used only in specified machine(manufacturing equipment). We are exploring the option to create an join entity.
Are we deviating from the best practices of framework?
Added to answer the comment from David E Jones
Business Requirement
- There is a custom tool designed to manufacture a component.
- This tool is technically compatible with wide range of machines in operation.
- The operating cost of machines in question vary in a very wide band. So, the tool should be used only on specific machines to keep the overall cost of manufactured component within a specified band.
- So, for a given tool, we intend to assign the allowed machine(s) and use only assigned machines for manufacturing.
ANSWER
Answered 2019-Feb-12 at 01:53Business requirements are difficult to design for without detail and context, but it sounds like what you really want to model is not at the Asset level but at the Product level. For asset type products the Product and related entities (like ProductAssoc) are used to define characteristics of physical items, Asset records represent the actual physical items.
One example of this is the maintenance side of things. The maintenance schedule is part of the Product definition (applicable to all assets for that product) and the maintenance history is part of the Asset side of things (applicable only to specific physical items).
QUESTION
Does Moqui have a built-in mechanism to send notification message on a topic by email to the subscribed users?
Or should I implement a cusom NotificationMessageListener?
...ANSWER
Answered 2019-Jan-20 at 01:49As of the last release of Moqui (2.1.1) and in the current GitHub code this is supported. The NotificationTopic entity has a emailTemplateId where you can specify the EmailTemplate to use for notifications on that topic. There is a simple OOTB EmailTemplate for notifications with emailTemplateId "NOTIFICATION" (defined in the MoquiInstallData.xml file).
The other side of this is the per-user configuration of whether to receive email for notifications on a given topic. The is stored in the emailNotifications field of the NotificationTopicUser entity. This can be set by users in the My Account app on the Notifications screens, or in the System app on the User Account screen.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install moqui
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page