I have a PowerApp that is supposed to add data to a SharePoint list. The SharePoint list has an ID column that should not be filled out by the user but should increase automatically with each new row of data.
Right now the ID field in the App has to filled out by the user, but this leads to duplicates in the SharePoint list.
How can i make the ID value to increase by 1 after each data input from a PowerApp to a SharePoint List, without any user input?
I use the SharePoint List's ID column and simply show the user the value (read only).
The ID number will increase after you save the new list item in Sharepoint.
Make sure the datacard for that SharePoint field in PowerApps has DisplayMode=View
Related
I have an excel sheet where there are two columns:
Email
loyalty points
example:
Email
Loyalty Points
abc1#company.com
248
abc2#company.com
540
My requirement:
When a user (abc1#company.com) login to his SharePoint he should see the token value as 248 and when the user (abc2#company.com) login to SharePoint then he should see the token value as 540.
Till now I have created a page on sharepoint and now I am wondering how to load data specific to user and display it in the sharepoint page.
Solution might be to Import That excel to a SharePoint list. Now based on situations:
A) Unique Item Permission
You can set unique permission per item in the SP library, then set it only for managers group and specific user.
Set unique item permission part can be automatized with WF or Power Automate Flow as well, after that it can be done for large amount of items (limit for unique item permission in SP list is 50 000)
B) View with filter
If the Loyalty Points are not secret and you just dont want to spam users with a lot of rows....you can create a list view in SharePoint list...Where you limit the values with Filter. (Library settings > Views > Create View) in Filter part you select person/group Column "Email" and in value you can put [Me]
[Me] and [today] are only available dynamic filters in View settings
You can display this view on HomePage for example and it will show always values only for specific user.
We are trying to get around the limitation of Field Permissions in SharePoint by creating a second list which will allow users to edit what they are allowed, instead of the whole form. In this case, it is on field that is set to Person or Group (Dashboard). For reference, the Person or Group gets info from AD, I am not sure if that is standard or not info but thought to add it in.
We have created a second list that has two fields, one being a Person or Group (AddToDashC) and the second being plain text (CopyName), where a workflow triggers and sends the Person or Group to plain text as Display Name, as that is what shows in the Person or Group. Last Name, First Name. This workflow works fine.
On the main list, we have separate list items where the Dashboard field can be edited, being unique for each list item. I can’t figure out the logic to be able to match the IDs up so that we can transfer the CopyName information to populate the correct list item ID through a workflow. We have a Lookup on the first list (AddtoDashWFC) which grabs the plain text form, CopyName, but just trying to figure out how to populate it properly.
I was hoping to have an edit link next to each list item in the column, which will go to the second list but still link to the report through the ID.
Sorry for the seemingly basic question, I just can't get the logic.
List 2 Workflow so far
List 1 Workflow so far
Thanks,
Patrick
I have 2 Sharepoint lists. I want to send ID number from one list to another which can be used as a filter value in second list. So when I click on text of issue list, it should go to another list which shows all the issues related to corresponding ID number.
I am using Sharepoint 2013 and Sharepoint 2013 Designer.
You need to create ID number as a lookup column.
See:
Create list relationships by using unique and lookup columns
http://office.microsoft.com/en-us/sharepoint-help/create-list-relationships-by-using-unique-and-lookup-columns-HA102771358.aspx
Here's my workflow:
An item gets added in a Sharepoint List (Say x). At that moment, a workflow triggers and starts a data collection task. For this task there is an Infopath fom which needs to collect some data from the user
This form has some fields which are to be fetched from the corresponding Sharepoint list item in list X and displayed in the form
I am trying to setup a data connection with the list X and fetching the fields of my interest.
However, the option "Include data for active form only" while setting up the connection is grayed out.
I am not able to get the right results in the form from the data connection, the data is not being returned for the right SharepointList item. THe data being returned is for the first item in list X.
Thanks!
This is because you are not passing a filter into the data connection. You are querying the list without an ID and since you are not selecting a specific list item it is just returning data from the first list item every time.
You are going to need to select a unique identifier and filter your result by clicking the add filter button and setting the foreign key = to primary key in list x. A quick google search of add filter to data in info path should give you an idea of what I am describing.
You may need to add a column in your initial table that imports the key from list x as a foreign key in your initial list.
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.