Steps to Create Form Part as Preview Pane :
1. Create
a form , which need to appear as Preview pane. Set Form design properties :
Style – Formpart, ViewEditMode – View , Width – Column Width.
2. Create
a Form Part - Parts >> FormPart
>> New
Set Name, Caption,Form – New Form created 1st
step.
3. Create
a new menu item of Display Type. Set properties – Name, Label, Object type –
FormPart ( Assign the form part created in 2nd step).
4. Now
go to the LP where you need to create a preview pane .
Drag and drop the menu item
create in 3rd step in to Parts object of the form.
Set PartLocation – PreviewPane
, DataSource – main datasource of the form, DatasourceRelation – SelfLink ( If
new form datasource and LP datasource are same, else mention the relation. ),
IsLinked – Auto.
We can create Preview Pane using Info part - but with Info part, i got the issue like I have a group field with Note field . When the field have multiple lines, getting scroll bars, and the field is not extending the total form.
I tried to set the Repeating property of the Group ( Yes) - this make the fields in the Group to get Grid View.
Issue : with setting Yes , for any child record selected, it is getting Note field value for all the records , instead of specific related record. Hence this is can be resolved, only by setting Width of Group which have Note field as - Column width. This can be only possible by R & D in net as creating a Form Part instead of Info Part.
No comments:
Post a Comment