Package com.saperion.ngc.scripthelper
Class FormPopupHelper
java.lang.Object
com.saperion.ngc.scripthelper.FormPopupHelper
Helper for opening a mask/form as popup.
- Since:
- 7.5
- Author:
- art
- 
Method SummaryModifier and TypeMethodDescriptionstatic IntelligentFormPopupWindowopenEditForm(String formName, DocumentId docId) Opens a form popup window in index mode for editing existing documents with the given form.static IntelligentFormPopupWindowopenEditForm(String formName, DocumentId docId, String popupTitle) Opens a form popup window in index mode for editing existing documents with the given form.static IntelligentFormPopupWindowopenIndexForm(String formName) Opens a form popup window in default mode with the given form.static IntelligentFormPopupWindowopenIndexForm(String formName, String popupTitle) Opens a form popup window in default mode with the given form.static IntelligentFormPopupWindowopenIndexForm(String formName, String popupTitle, boolean readOnly) Opens a form popup window in default mode with the given form.static IntelligentFormPopupWindowopenNewItemForm(String formName, String ddcName) Opens a form popup window in index mode for new documents with the given form.static IntelligentFormPopupWindowopenNewItemForm(String formName, String ddcName, String popupTitle) Opens a form popup window in index mode for new documents with the given form.static IntelligentFormPopupWindowopenQueryForm(String formName) Opens a form popup window in query mode with the given form.static IntelligentFormPopupWindowopenQueryForm(String formName, String popupTitle) Opens a form popup window in query mode with the given form.
- 
Method Details- 
openIndexFormOpens a form popup window in default mode with the given form.- Parameters:
- formName- name of the form, which should be opened
- Returns:
- form popup window
 
- 
openIndexFormOpens a form popup window in default mode with the given form.- Parameters:
- formName- name of the form, which should be opened
- popupTitle- title of the form popup window
- Returns:
- form popup window
 
- 
openIndexFormpublic static IntelligentFormPopupWindow openIndexForm(String formName, String popupTitle, boolean readOnly) Opens a form popup window in default mode with the given form.- Parameters:
- formName- name of the form, which should be opened
- popupTitle- title of the form popup window
- readOnly- value for read only parameter
- Returns:
- form popup window
 
- 
openNewItemFormOpens a form popup window in index mode for new documents with the given form.- Parameters:
- formName- name of the form, which should be opened
- ddcName- name of the definition for the new documents
- Returns:
- form popup window
 
- 
openNewItemFormpublic static IntelligentFormPopupWindow openNewItemForm(String formName, String ddcName, String popupTitle) Opens a form popup window in index mode for new documents with the given form.- Parameters:
- formName- name of the form, which should be opened
- ddcName- name of the definition for the new documents
- popupTitle- title of the form popup window
- Returns:
- form popup window
 
- 
openEditFormOpens a form popup window in index mode for editing existing documents with the given form.- Parameters:
- formName- name of the form, which should be opened
- docId- document id of the document to edit
- Returns:
- form popup window
 
- 
openEditFormpublic static IntelligentFormPopupWindow openEditForm(String formName, DocumentId docId, String popupTitle) Opens a form popup window in index mode for editing existing documents with the given form.- Parameters:
- formName- name of the form, which should be opened
- docId- document id of the document to edit
- popupTitle- title of the form popup window
- Returns:
- form popup window
 
- 
openQueryFormOpens a form popup window in query mode with the given form.- Parameters:
- formName- name of the form, which should be opened
- Returns:
- form popup window
 
- 
openQueryFormOpens a form popup window in query mode with the given form.- Parameters:
- formName- name of the form, which should be opened
- popupTitle- title of the form popup window
- Returns:
- form popup window
 
 
-