Difference between revisions of "NF12 Document Search Customisable Layout"

From iDempiere en
(Created page with "<h2 style="color:red">NOTE: This is not yet integrated into core</h2> '''Feature:''' Allow Define Customisable Layout for search result '''Goal:''' Functional '''Developer:...")
Tag: visualeditor-switched
 
(recategorize)
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<h2 style="color:red">NOTE: This is not yet integrated into core</h2>
 
 
 
'''Feature:''' Allow Define Customisable Layout for search result
 
'''Feature:''' Allow Define Customisable Layout for search result
  
'''Goal:''' Functional
+
'''Goal:''' Technical
  
 
'''Developer:'''  Hengsin Low
 
'''Developer:'''  Hengsin Low
Line 11: Line 9:
 
'''Sponsor:'''  Cloudempiere
 
'''Sponsor:'''  Cloudempiere
  
'''Feature Ticket:''' [https://idempiere.atlassian.net/browse/IDEMPIERE-5329 IDEMPIERE-5329]
+
'''Feature Ticket:''' [https://idempiere.atlassian.net/browse/IDEMPIERE-6253 IDEMPIERE-6253]
  
 
===Description===
 
===Description===
  
iDempiere Document Search NF2.1 Document Search on Menu Lookup, allow define search, but the result is plain. This change allow define new visualisation (plan, card, markdown, table)
+
iDempiere Document Search NF2.1 Document Search on Menu Lookup, allow define search, but the result is plain. This change allow define new visualisation (plan, card, markdown, table), Example.
 +
[[File:DocumentSearchCardLayout.png|thumb|500x500px|Document Search Card Layout|alt=|none]]
  
**Release Notes Summary**
 
  
**New Features in Search Definition Window:**
 
  
- Added `AD_Message_ID` and `AD_Style_ID` fields.
+
'''Release Notes Summary'''
  - These fields are visible when the search type is set to "Query" (`SearchType=Q`).
+
 
 +
* New Features in Search Definition Window:
 +
* Added `AD_Message_ID` and `AD_Style_ID` fields. <br />'''Note''' These fields are visible when the search type is set to "Query" (`SearchType=Q`).
 +
 
 
- Enhanced Query type searches:
 
- Enhanced Query type searches:
 
   - Query results can now be formatted using `Message Text` from `AD_Message` and styled with `CSS` definitions from `AD_Style`.
 
   - Query results can now be formatted using `Message Text` from `AD_Message` and styled with `CSS` definitions from `AD_Style`.
 +
'''Formatting with `AD_Message'''
  
**Formatting with `AD_Message`:**
 
 
- Supports both HTML and Markdown, or a mix of both.
 
- Supports both HTML and Markdown, or a mix of both.
 
   - Use `<#md></#md>` tags to enclose Markdown.
 
   - Use `<#md></#md>` tags to enclose Markdown.
Line 34: Line 34:
 
- Flexible variable substitution options:
 
- Flexible variable substitution options:
 
   - Message format variables `{0}`, `{1}`, etc., and context variables like `@Name@`.
 
   - Message format variables `{0}`, `{1}`, etc., and context variables like `@Name@`.
   - Special variables: `@WindowName@` for window name and `@Row@` for row number.
+
   - Special variables: `@WindowName@` for window name and `@Row@` for row number'''CSS Styling with `AD_Style`'''
 +
 
 +
 
 +
'''CSS Styling with `AD_Style`'''
  
**CSS Styling with `AD_Style`:**
+
Built from `AD_StyleLine` and uses scoped CSS instead of inline styles.
- Built from `AD_StyleLine` and uses scoped CSS instead of inline styles.
+
   - Scoped CSS is not enabled by default in Firefox; to enable, use `about:config` and set `layout.css.at-scope.enabled` to `true`.
   - Scoped CSS is not enabled by default in Firefox; to enable, use `about:config` and set `layout.css.at-scope.enabled` to `true`.
+
'''Additional Updates and Fixes:'''
 +
Added a new JavaScript function: `idempiere.directZoom(keyColumnName, id)`.
  
**Additional Updates and Fixes:**
+
Resolved an issue in `AD Window` list view:
- Added a new JavaScript function: `idempiere.directZoom(keyColumnName, id)`.
 
- Resolved an issue in `AD Window` list view:
 
 
   - Fixed broken list view display when field content includes single or double quotation marks.  
 
   - Fixed broken list view display when field content includes single or double quotation marks.  
  
Line 48: Line 50:
  
  
[[Category:New Features|F]]
+
[[Category:New Features|T]]
[[Category:New Features w12|F]]
+
[[Category:New Features w12|T]]
[[Category:New Features Functional]]
+
[[Category:New Features Technical]]

Latest revision as of 14:17, 14 January 2025

Feature: Allow Define Customisable Layout for search result

Goal: Technical

Developer: Hengsin Low

Idea/POC: Norbert Bede

Sponsor: Cloudempiere

Feature Ticket: IDEMPIERE-6253

Description

iDempiere Document Search NF2.1 Document Search on Menu Lookup, allow define search, but the result is plain. This change allow define new visualisation (plan, card, markdown, table), Example.

Document Search Card Layout


Release Notes Summary

  • New Features in Search Definition Window:
  • Added `AD_Message_ID` and `AD_Style_ID` fields.
    Note These fields are visible when the search type is set to "Query" (`SearchType=Q`).

- Enhanced Query type searches:

 - Query results can now be formatted using `Message Text` from `AD_Message` and styled with `CSS` definitions from `AD_Style`.

Formatting with `AD_Message

- Supports both HTML and Markdown, or a mix of both.

 - Use `<#md></#md>` tags to enclose Markdown.

- Basic structure support for headers, bodies, and footers:

 - Header text with `<#header></#header>`
 - Footer text with `<#footer></#footer>`

- Flexible variable substitution options:

 - Message format variables `{0}`, `{1}`, etc., and context variables like `@Name@`.
 - Special variables: `@WindowName@` for window name and `@Row@` for row numberCSS Styling with `AD_Style`


CSS Styling with `AD_Style`

Built from `AD_StyleLine` and uses scoped CSS instead of inline styles.

 - Scoped CSS is not enabled by default in Firefox; to enable, use `about:config` and set `layout.css.at-scope.enabled` to `true`. 

Additional Updates and Fixes: Added a new JavaScript function: `idempiere.directZoom(keyColumnName, id)`.

Resolved an issue in `AD Window` list view:

 - Fixed broken list view display when field content includes single or double quotation marks. 

This update brings enhanced search result customization and improved list view stability.

Cookies help us deliver our services. By using our services, you agree to our use of cookies.