Hi I'm completely new to Sharepoint. I have a very simple application, basically a list of records. Now I need to show the records based on the user is visiting the page, I need a very simple access rights logic
Example now is
User
Data Example
User1
Row1
User1
Row2
User2
Row3
What I would like to have
User1 sees
User
Data Example
User1
Row1
User1
Row2
User2 sees
User
Data Example
User2
Row3
Is that possible? otherwise I prefer to develop from scratch a .NET application
Thanks in advance for your support
G.
You can modify the list view and use [Me] to filter your user column, like the following image:
More information: https://support.microsoft.com/en-us/office/use-filtering-to-modify-a-sharepoint-view-3d8efc52-0808-4731-8f9b-3dfaeacea3d4#ID0EAABAAA=2010-2019
Please have a try and let's know if it matches your requirement.
Related
Col1- Analystname
Col2 - managername
Col3 - Rating of analyst
Above is the fields and I want manager to provide input in col3 for their analyst only and should not see other managers input.
Look at "Allow Edit Ranges".
After applying, protect the sheet.
I have to make a Asset management in SharePoint, now i have to make something in PowerBi so when you search on the name and than the devices owned by the person come up.
I used the "jan bakker" way before using power automate but this gives the activities by a user so the name is in the list multiple times and this is not what i need. also this list doesnt match with my current user ID which is given by sharepoint.
https://janbakker.tech/use-graph-api-data-in-power-bi-using-logicapps/
if anyone knows a good solution i would love to hear!
I imported a excel sheet but that isnt the way because the list of people is around 150 users and gets changed sometimes.
i also tried the way jan bakker said but this is more like activities and the name of a person is the up to 20 times. and no usefull/matching ID with the sharepoint current user ID
just a little help please.
I have this csv structure.
login. user
user1
user1
user\002. this strings comes from the merge
I will explain this data frame
I have different fields merged inside user, but in specific cases, I want to check if the column login is not empty, to replace all the content of user for that specific row, with the content of login but stripping out all the characters of the string.
so this is what I would like to have as an output
login. user
user1
user1
user\002. 002
am new to pandas, and I would like to know how can I check if a field is populated, to copy its data to another one, stripping down some strings from it?
thank you very much for any help you can provide me with.
EDIT:
I do apology if my post wasn't clear enough. Ill try to explain my self better.
my actual csv file look something like this.
login. field1 field2 user
123456 123456
1894673 1894673
1263546 1263546
253647 253647
username\002. username. username
The column user, is a merge between 2 other fields, so what I am doing, I am checking those 2 fields, looking for the userID and I am passing that ID to the user column.
Like in my previous example, my code checks for field1 and field2, and does the merge into user field, in this way I am getting the ID of that user.
But in some row, field1 or field2 contain the actual username of the user, in this case username, but if we look at login it contain the username AND the userID. This particular case, happens only when the login is not empty.
So what I would like to do, is check if the login is not empty, to copy its content to user and strip everything before the \ so my result will be as follow
login. field1 field2 user
123456 123456
1894673 1894673
1263546 1263546
253647 253647
username\002. username. 002
Thank you again
Currently, we are working on Kentico CMS 9.0 version.
We are facing some development issue on below scenario:
There is a static message getting displayed on a Success page after
Registration. This Text is written in WebPart -- > HTML Envelop
section - Content after But we want to change this text dynamically
as per User selects the Band category.
Example If User registers for 1-10 Band category, then text message should be displayed as “ Fees $1, 500 / two years”, or if the range of 2-20, then “Fees: $2,500 / two years” etc.
We tried with Macros on this, but not getting the exact solution. Also tried with relating the pages to get value from this Category pages. But no luck.
If anyone has any pointers on this. Or whether it could be possible to do this in Kentico CMS, please let us know ASAP.
If the data the user is submitting is part of the user's record or attached to a user's ID you could do a lookup using a macro or create your own custom macro to do the work for you.
For instance, if the value the user selected is attached to the user's record and they are logged in after they register, you can use something like:
CurrentUser.GetValue("CustomFieldName")
This all depends on what the value is that you're storing. If you're storing an integer or key of some sort to another table, you'll need to get that key and do another lookup to that other table to get the actual display value. Something like this:
var userRegisteredValue = CurrentUser.GetValue("CustomFieldName");
GlobalObjects.CustomTables["CustomTableNamespace.CustomTableName"].Items.Where("ItemID = " + userRegisteredValue);
Is it possible to create a Drop-down list in InfoPath which connects to Active Directory and fills the list with UNIQUE Department Values only (no repeating ones)
I need this for an InfoPath so when a user entering the data can pick one of the departments listed in the drop-down. Any help would be appreciated.
I've had a look at the people picker control, which works great for User names, but the department field is a separate field and has nothing to do with the user I pick, so I simply need a control which is populated by the unique Department codes in AD.
Any help would be appreciated.
You should really contact your administrator for this sort of information. You do not want a form to query every AD user to pull their department and get the unique values just to populate a drop down list. It is very possible to obtain the list of unique directories, however you should work with your administrator to populate this data to an XML web page or other similar solution and then connect your form to THAT data source through the form. The point is you are missing a step of obtaining the queried data.
With that said you can obtain the department of the user by querying the get user profile service to obtain the department name, elinating the need to even create a populated drop down list. See this article.