How to show universal id of notes documents in a notes view? - lotus-notes

Question is simple that I wanna show Universal Id of each document in a HCL Notes view. I have tried
UniversalId and
UNID
but none of them worked. I mean that column is empty for all documents. I'm referring to the document Id which you can see in the last tab of the Property box in Notes client. Please help!

Use #Text(#DocumentUniqueID). Read more at https://help.hcltechsw.com/dom_designer/11.0.1/basic/H_DOCUMENTUNIQUEID.html

Related

How to make text field to people picker in edit form in SharePoint 2013

There is text filed in which "Author" name saved while submitting new form but while editing that form is there any way by which I can make it People picker and user can select the new name name and save the changes.
Unfortunately Naveen's answer's will not work for you.
The Client People Picker does not apply to SharePoint 2013 on-premise, except when writing a custom AddIn which you are not doing.
You also can't change the existing Text field of Author to be a people field directly as that is an illegal/invalid field type modification.
You will need to edit your existing field and rename it to something like AuthorOld/AuthorText. And then create a new field as a person field named Author.
However, it sounds like you're trying to let the user edit the field for who created the item. That field is locked for editing by end users. You can however, hide that field and just create a new person field with a default value of [Me] (this fills in the current users name when they create an item). Which will let you get the behavior it sounds like you're after :)
What my understanding is in SP Default edit form you have a Text Field to Save the User Value. Now you need to make that Text field as PeoplePicker Control.
You have 2 choice to done this.
1) Go with OOB. Make that Text field which is used to save the "Author" name as User Field. So it will be act as a PeoplePicker control in Both New/Edit Form.
2) Add Content Editor Webpart in the Edit Form. And make that Text Field as Client people picker.
Refer for
Client People Picker
Mark as answer if it helps.

Set multiple fields after selecting a document on the dialog list in lotus notes

I use a dialog list field with a view for choices. I need not only to set the current field with a value of the selected document but multiple fields on the current form.
When I select a document I want to read some fields from the selected document and set values on the current mask. I try to set the document id in the current dialog list field and get it and read in some refresh action? Is this a good approach?
Thank you! Best regards, Robert.
Solved it with a button and #PickList. So I have full controll over the action.

Embedded view with documents corresponding to document in Lotus Notes

do you have a idea how can I solve this in Lotus Notes?
There is a document Form Person.
In this document I want to have a embedded view that shows notes only related to this person.
I created a Form Notes and a view Notes. I can embed the view in the Person mask and select a view. In my case Notes.
The problem is that I see all notes for all persons. Not only the notes to this person where the view is embedded.
How can I refer to only the current Person document?
How can I build a button in the embedded view to create a new notes document that refers to the current person document where the embedded view actually is?
Thanks!
Best regards
Robert
Write a formula into "Embedded View / Show single category" which returns the category for the current Person. This way only rows related to this category are visible in embeded view.
Instead of using an embedded view, you can use a trick I describe here: http://blog.texasswede.com/dynamic-tables-in-classic-notes/
What you do is to build the rows of the view one by one using a separate form, then rendering them into a rich tect field on your person document.

XPages newbie - view columns in discussion database

I'm a traditional domino developer just beginning XPages. I'm working on modifying the standard 8.5.3 Domino discussion database. I've added some fields on the Main Topic and response forms, one called category. I've added a categorised column in the ($xpAllDocuments) view to the left of "Topic" for the category field. This works fine in Notes as you'd expect, but when the view is rendered in the All Documents xpage, the category twiste displays without any label. I'm not sure how to modify the column data for the xpage, as it seems to use a repeat? instead of a view?
Any help greatly appreciated, and apologies for the presumably basic enquiry!
You have to add the categories column to custom control allDocumentsView which renders the view for browser.
How to find out where to set the new categorized column? A good way is to look at the "All properties" of a certain element. For that, open the Source pane of custom control allDocumentsView, position cursor on <xe:dataView and look at "All Properties". If you hover over the properties' labels you get a helper window with a short explanation.
In your case, property categoryColumn is what you are looking for. Assuming you added a categorized column Categories to view ($xpAllDocuments) then you would have to put into property categoryColumn:
With that, your source code gets expanded by
<xe:this.categoryColumn>
<xe:viewCategoryColumn
columnName="Categories"
columnTitle="Categories">
</xe:viewCategoryColumn>
</xe:this.categoryColumn>
and you will see the added categorized column in your rendered XPage.
I don't know the discussion template in detail, but when the All Documents Xpage is using a repeat control, then you cannot expect an automatic category expand/collapse feature as in a Notes view.
If you want that, you need a View control on the Xpage.

Attachment in Lotus Notes?

I have a document with an attachment.The document is in edit mode but i want to restrict user to edit the attachment.User should be only able to open an attachment and should not be able to edit that attachment or Edit option should remain inactive.I am woking on client based application.If you have idea how to make Edit option inactive, then please share it with me.
Thanks Rupesh
I have not done any notes thick client work in more than a few years, but one way would be to have 2 subforms with the same richtext field. One gets an editable rt-field, and the other gets a computed-when-composed (same field name).
Put the subform in the base form as a computed subform. Base the formula on role, so you either get an editable field or non-editable field based on who you are.
I was thinking you could do this with a controlled section as well, but it's been too long to recall for me. I know the subforms would work.

Resources