SharePoint Online column hide issue - sharepoint

Need to hide the sharepoint list columns for specific users without javascript
Site owner will be able to see all columns of that particular list

If you don't want to use JavaScript to hide list columns based on user permissions, you can try to use PowerApps to customize the list form to hide the columns. There is a thread about this topic, you can refer to it.
Note: This is not security, this is just hiding fields. A savvy user could use other means of modifying the list.
If you want the list is secure, it is recommended to create two lists for different users and set permissions based on your need.

Related

WorkAround create a look up column

I want to create a Look up column to bring the data of a column "Person/Group" in other library but I canĀ“t.
I found some solutions to this inconvenient, for example:
https://sharepoint.stackexchange.com/questions/56745/is-it-possible-to-make-a-lookup-column-that-looks-up-person-or-group-type-from
But, I can't use them because the politics of the company I'm working, forbade me to code in Sharepoint or even use Sharepoint Designer.
So... is there a workaround this problem, maybe working with InfoPath or something?
Thanks in advance
Why not use the list settings graphical user interface of SharePoint?
Have a look at
Sharepoint: Calculated column based on another list
http://www.youtube.com/watch?v=ShLH0mBcA54
== Update after some discussions ==
Lookup columns can only be linked to other lists and the only built-in list that contains any users is the hidden User Information List. This list you can link to, to do it any other way you must create your own list with users

How to populate a site column from a list to another list?

I have defined a couple of lists for capturing registration details of the user. There is a list for holding personal details of the user and there is another list which holds professional details of the user.
The two lists are used over two different pages in which name and ID both are required.
How do I get the name and ID populated automatically into the professional list from personal list so as the user doesn't have to fill the similar information twice?
Is it possible without doing any coding stuff?
This little control may help you
http://cascddlistwithfilter.codeplex.com/
Basically you would link the first Cascading drop down control to your user details list and the field name. The second drop down would then filter the users ID so the user can select that.
I have used this before and it can be a pain in the backside to configure but when it's there it is so very powerful and useful.
It's not fully automated but i'm unsure how you would get any closer with a bespoke event receiver.
Create the custom form there, you have keep some text box with the refresh button, so when ever you fill the user id and press the refresh button. You need to right small logic to bring the user from the the source list.
Or you can use the personal details id as look up column in the prop list so you will get the id and select the id and do refresh. Anyway you have right the logic in your custom form code.

Setting up a Data View Conditional Format for MOSS 2007 that targets a specific group

I need to figure out a solution to allow only a specific group of users with permission to view a List Item in Editform.aspx. I created a custom form which would allow me to apply conditional formatting for a specific table row. I had used the advance formatting XPATH expression "ddwrt:IfHasRights(16)" which worked with any group that had contribute rights or below, but I also need to exclude other groups like tier 1 - 3, Site Builder, Designer, etc or above "Approval" status. The purpose is to only allow a very selected group of individuals (I created a group called "Approvers") to see the hidden table row.
The current working on MOSS 2007 standard version.
Thanks for any suggestions!
Jason
You can use JQuery and SPServices to examine the group a logged in user belongs to, see my post here which explains the principle. In that case, it hides an element if a user belongs to a particular group.

Hide Column in Sharepoint List

I am trying to hide a column in SharePoint 2007 list based on Users.
When user submit a request the status column should be hidden and the value set as pending.
When Admin logged in he/she should able to edit the status.
Is there any way I can achieve this with out writing CUSTOM CODE.
Any help would be appreciated.
Thanks
Deepu
No custom code makes it tough. What about creating two views. one view has the column and another does not. Then create two sharepoint web pages and add the first view with the column to one, and the second view without the column to the other. Then put a security group or audience on the pages, so the appropriate one shows up for the user. Not great, but could be an option.
I think you'll have to do something with a custom field type - this guy has a solution very close to what you need - however there is custom code involved.
http://www.infoq.com/articles/Dressel-Gogolowicz-wss-security
The only other thing i could think of is to deploy a custom fldtypes.xsl to the hive and pattern match against your column. Then perhaps you could do some for of xsl transformation to show/hide the column - not sure how you'd indicate if a user is an admin or not though.
You are really limiting yourself by ruling out custom code.
Best of luck,
Shane

Sharepoint item locking after getting approved

I have a sharepoint custom list which has 5 columns ..the user should fill in first three columns and the other two should be locked for filling ..when the user enters the items and start the workflow if the workflow gets approved the 3 columns should be locked for editing and then the other two should be available for editing .
Can someone please tell me how can i achieve this.
Thanks
You'd need to implement either custom field types for the columns you're describing, or implement an event handler on the list with custom logic. Alternatively, you could implement a custom edit form for the list with the business logic for exposing fields as editable baked in, but you would need to ensure that your users do not alter field values via other means (external applications, data sheet view, etc.).
No out of the box fields support this, nor are there any list settings to enable such a scenario.

Resources