Responsive
128 TopicsModify a Teams tab solution from GitHub to match the customer requirments
I am working on a new project and the customer have already installed and used this Teams tab from GitHub @ https://github.com/OfficeDev/microsoft-teams-emergency-operations-center Now they want to do some modifications to this solution, such as :- Change some titles for the fields currently when an item get created it provision some channels on teams, so they want to modify the name of those channels and provision more channels. So my first question is about how i need to do those changes,, are those steps valid:- Clone the code from the above github link modify the code accordingly Deploy and publish the solution to get a new .sppkg solution and re-upload it to the sharepoint app are those valid steps to do the modifications? i built a lot of SPFx solutions, but never modify existing one on GitHub. Second Question, when the customer install this solution for the first time, a new site and lists were provisioned... so if i replace the old .sppkg file with the new one, will this re-provision the site and the lists? or this will only happen when we installed this solution for the first time only? Third question, now if i do those modifications inside our local version after cloning the solution, and Microsoft releases a new version of this app inside GitHub, and we want to have this new version, then our local modification done previously will get lost? am i correct? so can we for example post those changes to GitHub as well, so they will be part of the new releases done by Microsoft ? Thanks106Views0likes0CommentsForce a link to open in a popup inside the Detailed List layout inside PnP Modern search WebPart
I have the following setting inside my PnP Modern search result:- Here is the code:- <a href="{{slot item @root.slots.PreviewUrl}}" data-interception="off" target="_blank" style="color: {{@root.theme.semanticColors.link}}"> {{slot item @root.slots.Destination}} </a> Currently the link will open in a new tab. so can i force the link to open in a popup window ? instead of a new tab? Thanks214Views0likes0CommentsUnable to make columns in new web part
I'm creating a new web part and using what I think to be fairly simple coding to create columns in a web part and it just doesn't work. I've tried it with "no framework" and "React" framework options and it displays the same. Each line above one another instead of next to one another, etc. The code below is from React framework. <div className="ms-Grid" dir="ltr"> <div className="ms-Grid-row"> <div className="ms-Grid-col ms-sm6 ms-md4 ms-lg2">Aaaaaaa aaaaaaaaaaaa</div> <div className="ms-Grid-col ms-sm6 ms-md8 ms-lg10">Bbbbbbb bbbbbb bbbbbbbb</div> </div> </div> What am I missing here? I'd appreciate any assistance.311Views0likes0CommentsNeed Help with Date Formatting for SharePoint Event List
Hello everyone, I have a requirement where I need to save data to a SharePoint event list using a modal form and display the data as cards on a webpage. However, I'm encountering an issue with date formatting. The dates are not displaying correctly. I have tried several approaches, including: Saving the date in UTC format and converting it to local time when displaying. Using ISO format for date storage and display. Despite these efforts, the dates are still not showing correctly. Has anyone faced a similar issue or have suggestions on how to resolve this? Thank you in advance for your help! $().SPServices( { operation: "UpdateListItems", async: false, webURL: webURL, batchCmd: "New", listName: "Events", valuepairs: [ ["Title", Title], ["EventDate", EventDate], ["EndDate", EndDate], ["Location", Location], ["Category", Category], ["Description", Description] ], completefunc: function(xData, Status) { EventId = $(xData.responseXML).SPFilterNode("z:row").attr("ows_ID"); if(EventId > 0){ GetEventData(); } } });245Views0likes0CommentsConnect to local SQL Server Tables,Stored Procedures & view, then show the result inside SPFx
I am working on a migration from SharePoint 2010 to SharePoint Online. Where inside the on-premises the customer has a configurable Web Part (Server-side of course), which allow users to do the following:- Specify a connection string to connect to SQL server on-premises. Specify the Table or Stored Procedure or View to connect with. optionally to pass a Parameter to the Database. After than the web part will show the results from the database and allow the users to filter the data which will be shown in a tabular format. Here is a screenshot of the web part setting:- Here is a screenshot of a result from one web part instance:- So can we build similar web part using SPFx? If the answer is Yes, then is there any available 3rd party SPFx web part we can benefit from? Finally , i am also open to other approaches to achieve our work other than build/using SPFx web part. Thanks in advance for any help.1.5KViews0likes2CommentsHow to set a scalable background image into my svg
Hello, I'm formating a SharePoint List and I want to set a scalable background image to my svg. Here is my code : "children": [ { "elmType": "svg", "attributes": { "viewBox": "0 0 1100 300" }, "style": { "opacity": "1", "stroke": "green" }, "children": [ { "elmType": "a", "attributes": { "href": "[$href]", "alt": "[$alt]", "target": "_blank" }, "children": [ { "elmType": "path", "attributes": { "title": "[$Title]", "d": "[$coords]" }, "style": { "fill": "red" }, "customCardProps": { "openOnEvent": "hover", "formatter": { "elmType": "div", "txtContent": "[$Title]", "style": { "padding": "10px" } }, "isBeakVisible": true } } ] } ] } ] Do I miss something? Thanks, dKayt320Views0likes0CommentsWhat exactly is a "Card" column type in a Microsoft List?
I really can use your help on this. I have decided as part of my efforts to solve a different problem to make a copy of a Microsoft List to a work platform that is not shared as a dashboard and shared area for my company. I am creating a duplicate List from another List that is the production list so that I can experiment on a duplicate one on my... Here, a screenshot is worth one hundred words: I am using an online presence where my username is part of the URL. I am doing this as a test to solve a 404 and 403 error I am getting. To duplicate a List, I have copied the production list to a local EXCEL file; made a table in that file, and used that to upload the data to a new List. The data types have all been converted to single-line text. Some of the changes to the data types of the column I am allowed to make. But for others, I believe I will have to rename and create a new column from scratch with the proper column data type. I believe I will have to do this with the mysterious "Card" data type. Can anyone help me with this? In the List that I am creating from the original, the "Card" data type appears something like this: I am sorry that I had to pixelate this pic but the point is that the column for "Card" is nothing more than a single line of text that is the name of a picture file. On the other hand, the Microsoft List that I am copying FROM has a much more complex class or object for a Card that contains a multitude of data. It looks something like this: When I click on one of the cards, I get this interesting data window on the side: There are many ways to view the data and its various formatting. I made this quick video about this. https://www.youtube.com/watch?v=RFl_mfBirTQ Please advise. How do I create a Card class. There are a couple of paths to take to create a new column but "Card" does not appear on any of these menus: Here is another menu of column types. Which one is a Card type?Solved1.7KViews1like1CommentHow to structure Site Pages - move files to folders?
I want to keep track of all the site pages i have on my site. I have created folders. But i can not find a way to move the site pages to the folders. How do i move them? Or is there a better way to structure the pages so i can keep track of them better than just in a big list?522Views0likes1CommentLoading of sharepointlist not working after filling by RestAPI
Hello everyone, We currently have the problem in several Sharepoint lists that when they are opened, the lists display an error message ("A problem has occurred: Expected property name or '}' in JSON at position 329 (line 1 column 330)") and no data is displayed in the list. The error code is always the same as here, but with different positions/ property names. Only after refreshing the list several times is the data finally displayed. Meanwhile, other users in the list can already see the results. The upstream process is that the data is entered into the list via the Rest API of Sharepoint using Python. Is this error already known?538Views1like1Comment