Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
moqui
/
moqui-mjml
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
0b4d77b6
authored
2024-05-08 16:13:54 -0500
by
acetousk
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Add resourceId to screen and entity
1 parent
c79575b9
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
2 deletions
entity/MjmlEntities.xml
screen-extend/SimpleScreens/ProductStore/FindProductStoreEmails.xml
entity/MjmlEntities.xml
View file @
0b4d77b
...
...
@@ -14,4 +14,9 @@ along with this software (see the LICENSE.md file). If not, see
-->
<entities
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation=
"http://moqui.org/xsd/entity-definition-3.xsd"
>
<extend-entity
entity-name=
"ProductStoreEmail"
package=
"mantle.product.store"
>
<field
name=
"resourceId"
type=
"id"
/>
<relationship
type=
"one"
related=
"mantle.resource.DbResource"
short-alias=
"dbResource"
/>
</extend-entity>
</entities>
...
...
screen-extend/SimpleScreens/ProductStore/FindProductStoreEmails.xml
View file @
0b4d77b
...
...
@@ -15,8 +15,8 @@ along with this software (see the LICENSE.md file). If not, see
<screen-extend
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation=
"https://moqui.org/xsd/xml-screen-3.xsd"
>
<form-list
name=
"StoreEmailsForm"
>
<field
name=
"editEmailTemplate"
><default-field>
<link
url=
"/mjml"
url-type=
"plain"
text=
"Edit Email
Template"
/>
<field
name=
"editEmailTemplate"
align=
"center"
><default-field>
<link
url=
"/mjml"
parameter-map=
"[resourceId:resourceId]"
url-type=
"plain"
text=
"Edit
Template"
/>
</default-field></field>
</form-list>
...
...
Please
register
or
sign in
to post a comment