Skip to content

Commit a61be2e

Browse files
authored
Create README.md
1 parent 8bbb179 commit a61be2e

File tree

1 file changed

+12
-0
lines changed
  • Modern Development/Service Portal Widgets/Custom attachment variable

1 file changed

+12
-0
lines changed
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# Attachment variable widget
2+
3+
This widget lets you use the oob attachment picker from the oob catalog item widget as a custom type variable giving you more control over attachment behaviour, you can for example use ui policies to hide and show the attachment picker.
4+
5+
## Usage example
6+
7+
Create new widget [sp_widget]
8+
Copy template.html in the Body HTML template field
9+
Copy controller.js in the Client controller field
10+
Add custom type variable using newly created widget positioned as last variable
11+
Set hide attachment for catalog item as true
12+
Open cat item in portal and adjust widget as needed

0 commit comments

Comments
 (0)