Attachment in Lotus Notes? - 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.

Related

Set collection to selected values in Power Apps form when opened in edit mode

I have a SharePoint list-integrated Power Apps form.
I have a multi-select combobox called DataCardValue4 (which is hidden) that comes from a choice on the SharePoint list.
I need to put the selected values of this combobox into a collection when the form is edited.
On SharePointIntegration, on Edit, I have:
ForAll(DataCardValue4.SelectedItems, Collect(colVehiclesRequested,ThisRecord.Value));
This works fine when the user opens the form and puts it in edit mode manually. Unfortunately, I have a Power Automate flow which gives a link that opens the form in edit mode directly.
When the form is opened in edit mode, DataCardValue4.SelectedItems is empty at the time of SharePointIntegration on edit.
Is there another way to do this? Is there another place to put this further down the lifecycle so it will work properly?
I guess I'm kind of looking for the document.ready version of a Power Apps-integrated form.
I'd try to put your formula into the Screen.OnVisible property with some conditional wrapping. This would make sure it (also) runs when it is opened directly.
I had the same issue, I added the code in the App.OnStart

How to fix drop-down responses document in lotus notes

Basically, I'm using version tracking to list down all edited document. When I see on notes, it's not created as a drop down and it just shows all record.
For example like this website. Provide by #umeli. But I can't seem to get it inside my lotus notes.
Like below this. I have this view inside my lotus notes. It just shows everything.
This is list inside my browser. It has like drop-down when I click, it will show all.
Like this. When I click, it will show all the history of the edited document.
Any advice that I can create a drop-down like in-browser inside my notes? Any help will be appreciated. Thanks!
Use Domino Designer to edit the No column. You need to select the "Show twistie ..." setting as described here.
Also, you may want to automatically collapse the view entries when the user opens the database. To do that, edit the view properties and select "Collapse all when database is first opened".

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.

In CRM 2011, hiding picklist values to other users

Values visible to Owner
Hi I know how to hide the values in textbox as shown above,But no idea how to hide values similarly in the picklist.If anyone have any idea please guide me.
There is no option to "Password hide" the text in a pick list. You do have a couple options though:
Hide the field completely using the CRM setVisible javascript method. Set the code to run on the onload of the form. A slightly more "secure" version of this is to initially mark it as invisible in the CRM Form Editor, then make it visible for the users that need it visible.
Create a new form that doesn't even contain the field for the users that don't need access. This is the most "secure" method, but it requires the security to be role based, and it looks like you need it value based.

Customize Survey fields in Sharepoint 2007

I have a Survey list which has several questions, one of those is people picker field and the another one is single line of text field.
I need to hide a perticular question ( field ) based on login user. Requirement is as below
When the user logs in as admin
a. Display ‘people picker’ and should not allow user to pick his name from people picker.
b. Hide Single line of Text field.
When the user logs in as ‘Non-Admin’
a. Display ‘Single line of Text' field and default it to have the logged in user name (without domain name).
b. Hide ‘People picker’ control.
I am thinking that we can do it by placing javascript in content editor webpart and add it in newform.apx of survey list. Can anybody give me the proper approach to get it done?
Thanks in advance
You might like to try creating a custom field control, a differnet one for each field.
Javascript is fast and involves minimal deployment, but is fiddly and can be turned off.

Resources