button
4 TopicsPowerApps: Using Buttons to Update Existing Records
Hello, I am trying to use buttons to populate my "ApprovalDecision" column instead of having the user type in "yes" or "no". I am new to PowerApps so I am unsure how to do this. This screenshot shows where I am currently at, and I have not been able to figure it out. Any help or suggestions are appreciated, thanks!Solved1.3KViews0likes3CommentsLaunch PowerApp (Canvas) from button in Sharepoint List
I am looking for some assistance on how to launch a PowerApp in Sharepoint online by clicking on a button in a Sharepoint List. The Powerapp is designed to edit a line item and upload an attachment. This will be line item specific. At the moment, I am struggling to write the JSON that will launch the PowerApp within the Sharepoint window after clicking the button. Any ideas or advice would be greatly appreciated.11KViews0likes3CommentsAdd Button to SharePoint Form JSON
I maintain a SharePoint list at work, and I would like to create some buttons on the Edit and Display item forms for common quick actions which involve updating data in several fields / columns. I've tried a few approaches: I have a Power Automate flow for each quick action, and I can currently use these flows from the right-click menu when I'm looking at the SharePoint list, but I can't use them when I have the item open and am looking at the Edit/Display form. I was able to make a custom column on a test list that could set other values in the item, but it also wasn't actionable from the Edit/Display Form. I have the Edit/Display Form configured using the options described here: https://docs.microsoft.com/en-us/sharepoint/dev/declarative-customization/list-form-configuration. The idea is to add button elements to the header, with the customRowAction of "executeFlow" (or set Value-- tried this too but no luck). I created elements on the Edit Form that look like buttons, that show up where I want them to, the way I want them to, when I want them to. However, clicking them does nothing. Based on everything I've tried so far, I think the json & Flow setup is correct, but so far nothing has transferred to the list forms. I know Power Apps is an option for this, but I would prefer to avoid re-building the current JSON formatting for the list forms in a new place if I can, since the overhead there is much higher. Is there something specific I need to do differently to make buttons work on the list forms? Alternately, is there a way to pull the existing JSON-formatted list forms into PowerApps to start with as a base? Below is what I have in the header JSON to define one of the buttons (edited out work-specific info for obvious reasons). The button is conditionally visible to me & another user who was helping me troubleshoot, depending upon the status of the item, and the flow ID is just taken from the flow URL. The visibility works fine, but clicking the button doesn't do anything. { "$schema": "http://columnformatting.sharepointpnp.com/columnFormattingSchema.json", "elmType": "button", "customRowAction": { "action": "executeFlow", "actionParams": "{\"id\": \"<the flow ID>\"}" }, "style": { "border-width": "1px", "border-radius": "20px", "width": "225px", "margin": "2px", "box-shadow": "1px 1px SlateBlue", "border-style": "solid", "border-color": "SkyBlue", "background-color": "LightSkyBlue", "color": "MidnightBlue", "text-align": "center", "font-size": "16px", "cursor": "pointer", "visibility": { "operator": "?", "operands": [ { "operator": "&&", "operands": [ { "operator": "==", "operands": [ "[$Technical_x0020_Reviewer_x0020_D]", "" ] }, { "operator": "!=", "operands": [ "[$Status]", "Rejected" ] }, { "operator": "!=", "operands": [ "[$Status]", "Approved" ] }, { "operator": "!=", "operands": [ "[$Status]", "Approved, Won't Be Updated" ] }, { "operator": "!=", "operands": [ "[$Status]", "Abandoned" ] }, { "operator": "||", "operands": [ { "operator": "==", "operands": [ "@me", "<my email>" ] }, { "operator": "==", "operands": [ "@me", "<other work user>" ] } ] } ] }, "visible", "hidden" ] } }, "children": [ { "elmType": "span", "attributes": { "iconName": "SkypeCircleCheck" }, "style": { "padding-right": "6px", "color": "AliceBlue", "text-align": "left" } }, { "elmType": "span", "txtContent": "Mark Technical Approval", "style": { "padding-right": "6px" } } ] } I've also tried making it into a "set value" button instead, but no luck with that either.Solved18KViews0likes5CommentsNeed a 'Click to Call' button that doesn't force https://
This should be such a simple task, but there are Obsticles. Trying to add a "Click to Call" button in SharePoint. You would think that adding tel:0123456789 to the link field in a button Web Part would do the trick, but it doesn't. Our SPO site is forcing https:// at the beginning of the code and this takes us to a blocked page instead of making the phone call. Have also tried various types of html in the Embed Code Web Part, such as: <a href="tel:0123456789">Click to Call</a>with the same response. I've tried putting it in an iFrame too, still no joy. Does anyone know the solution please?790Views0likes0Comments