I am a newbie in sharepoint/infopath.
I am trying to edit an existing field in sharepoint which seems to be loaded from infopath.
The flow of the program is as follows:
I open a form (which is integrated using infopath) from sharepoint. The form has some multiple choice questions and at the end there is a submit button. After clicking "submit", I am transferred to a list view which displays the "number of correct answers" and "your percentage" columns (I can have multiple attempts and they are displayed in the list).
I am trying to edit the calculations of the percentage. When I open the infopath form, I can see that there is a field called "Your percentage". I displayed the setting and there is no formula.
Where can I edit that field?
Thanks!
Use the button Rule Inspector to check all the rules cotained on the form, the button is located on the data ribbon:
There you can see all the rules, just look up for the one that calculates the percentage.
Hope this helps.
Related
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
I have taken over a project from someone who has left the business.
It is a Microsoft PowerApp which provides users with a form interface to upload items into a SharePoint list.
The submit button in the app works and the function is "SubmitForm(formName)"
My question is how does it know which fields to submit into which column in SharePoint?
for instance if I wanted to create a textbox in the form for "First Name" how would I make the powerapp submit the contents of that textbox into firstname field?
--edit removed screenshot--
I think you lack knowledge of powerapps w.r.t sharepoint.
Go through one of the example mentioned in docs of micro soft and you will get idea of how mapping of fields are done.
Your main concern is mapping fields.
https://learn.microsoft.com/en-us/powerapps/maker/canvas-apps/app-from-sharepoint
If you check your edit form, and click on any of your field/data card you will find settings as below. Here I have created custom column as "NumberColumn" and you can find Data properties same for your field as well.
I have used several infopath forms with great success in Sharepoint.
I am running into a strange problem on one form I'm working on right now.
Basically, I have a status report form. One of the fields is asking whether a project is Green, Yellow, or Red.
What I want is for this selection to appear in a column in sharepoint, but not as text, as an image.
To do this, I created a column in the form SharePoint library called Status. I used the hyperlink/picture column for this. And yes, I did turn on "display url as image" for that column.. I then created a rule in InfoPath which took the result from my form field, and set another field's value (in this case, set the sharepoint status column field to a url link to a green indicator i want to have displayed). As an example, if you open my form and tel me your project is GREEN, the rule should write "http://www.schooldashboard.org/tths205/images/IndicatorGreen.png" to the status column in SharePoint for that file.
However, no matter what i do, nothing gets written to this column from InfoPath. My hunch is that there is a data connection or something missing to submit that specific field value to sharepoint but I can't figure out how to do that.
I also tried actually hosting the indicator image on my sharepoint server to see if it was being blocked somehow, but that didn't change anything.
Thanks.
I'm trying to make a custom list for inquiries, where users will fill in some information such as "Name", "Reason" etc. When they've finished filling in the information and added the item, the administrator will then go through the item, and fill in some new columns that the user hasn't been able to fill in.
I hope you understand me, otherwise you're more than welcome to ask questions!
With SharePoint designer 2007, you can use the SPSecurityTrimmedControl who enable you to show/hide form field (or site action...).
Syntax :
<SharePoint:SPSecurityTrimmedControl PermissionsString="ManageLists" runat="server">
WHAT_YOU_WANT_TO_HIDE_HERE
</SharePoint:SPSecurityTrimmedControl>
For the PermissionsString, all values HERE
You'll need to use SharePoint Designer. You will create custom new and edit forms. This way when the user fills in the new form, only certain fields will appear. Then when the administrator edits the item using the edit form, they will have access to more fields.
Please see this link for more information.
Try making a copy of the form you wish to edit by copying and pasting to the same folder. Then click on the web part for the form and the code above will highlight . Look for tags IsVisible and change it from "true" to "false". This will hide the default form. Do not delete the original form.
Click on the web part in the design view then press your right arrow. This will move the cursor to right after the web part but still within the web part zone. Go to the Insert menu, select SharePoint Controls then Custom List form. A small dialog window will appear, select the list name from the first drop down, then select the content type from the second drop down. Finally select which form you want to insert, New, Edit or Display. Click OK. The new form will be displayed under the default form, and you will then see all of the fields in order and you can add or remove as you like.
If one did not want to edit the pages, couldn't one use Jquery to hide the fields? I have done this with SPservices. to check the user credentials if you will and then if matched display the hidden fields... all this is done from a web part...just a thought...I actually learned something great today.. great replies.
I've created a simple list in SharePoint 2010. It has a couple of text columns and a couple of integer columns.
I click "Customize Form" from the Sharepoint Ribbon
InfoPath 2010 is launched
I make the form look nice and ensure fields are bound to correct columns
I upload the form back to Sharepoint
When I click to "Add new item" my InfoPath form is displayed. However only one of the field is editable. I can click into the other fields but when I hit the keyboard - nothing!
Any ideas?
Thanks
Rob.
.
The fields in question might have been set to Read-only. Double-check using the following steps:
Use "Customize Form" again from the Sharepoint Ribbon
Right click each Control in question
Click Properties
Click the Display Tab
Ensure that the Read-only checkbox is unticked.