SharePoint Online Developer
9 TopicsHaving problems with image type column in sharepoint
The SharePoint list doesn't store images (in image type column) in sites assets folder and uploads them with this prefix Reserved_ImageAttachment_[]_fileName. Does anyone know why is this happening? Is there some setting that not correct? As seen in the image, when I upload an image to image type column, the attachment column shows the page clip logo. And when no image is uploaded, the attachment field is blank. My images column type is Image/Thumbnail9.3KViews1like17CommentsHow to Upload file and the metadata of the document library properties using spfx react
I have create the spfx react webpart to to upload the the files and the metatdata of the document library but when i post the columns using the sphttprequest i have facing the issue of error 500 and throw a messeage To add an item to a document library, use SPFileCollection.Add() . please help me to resolve the iisue or any other solution to upload a document and create metadata of document library. Image sequence : Create the document Library Api response Webpart Structure Upload buttons function write in the code console error any other solution to perform CRUD Operation perform on document Library suggest meSolved6.1KViews0likes2CommentsRelinking All Infopath Forms in Library after Migrating to SPONLINE
We recently completed migrating one of our site to Online, which consist of several form library with over 10k records utilizing Infopath forms. After completion, i tried to open those documents, found out that it's still pointing to old site URL, and only opens with desktop infopath tool. Troubleshooting that i have done so far: 1)Updated Data connection to a new Site URL. 2) Made sure that open with browser feature is enabled at library setting . 3) Tired adding new record, edit it and didn't have any issues with a new record. 4) Tried running Repair.ASPX ( RELINK feature) within Form library and were able to relink 3k out of 7 k records. and have doing it for over 10 times now. 5) and now i am trying to relink every single records. And dont think its worth investing that time for relinking 7 k records individually. any help will be highly appreciated. Thanks Ian3.1KViews0likes0CommentsRetrieve Image using guid
Hi, I have a guid of an image file. how to retrieve images using its specific guid? sample image url:- http://MyServer/_layouts/15/getpreview.ashx?guidSite=8e0360b37ef542b38b624fb4cdanjfe1&guidWeb=0aab6b2a437c4217bnjd555020453451&guidFile=d805b7b1dabf49a4bfe0f42e68ffhj131 Existing code: fileName = HttpUtility.ParseQueryString(myuri.Query).Get("guidFile"); using (ClientContext clientContext = new ClientContext("http://MyServer/sites/MySiteCollection")) { List targetList = clientcontext.Web.Lists.GetByTitle("Image Bank"); ListItem oItem = targetList.GetItemById(fileName); File targetFile = oItem.File; clientcontext.Load(targetFile); clientcontext.ExecuteQuery(); } I have also tried By passing the asset_url in GetFileByServerRelativeUrl(asset_url). By passing using CamlQuery. Please provide solution for console application .Kindly assist.1.5KViews0likes0CommentsRemote Event Receiver Item Added Event not firing after adding item using PowerApps
I have created Remote Event Receiver Item Added and Item Updated Event. It is working absolutely fine when I add/update list item manually. But I am trying to add list item using PowerApps, it is not firing event receiver. Do you have any idea about this type of issue .1.3KViews0likes0CommentsSharePoint remote event receivers no longer triggering
I've been working on a simple SharePoint invoice management app for a client using Remote Event Receivers. Everything was working fine on both my development and their demo site until suddenly the event receivers stopped triggering on both sites at the start of April. Event Receivers have been added to the custom list using the PNP.Powershell command Add-PnPEventReceiver. And I've confirmed they were added successfully and still exist in both sites. The demo site is using an Azure web app to host the custom code while my dev site is connecting direct to Visual studio on mu machine via ngrok. The demo site has been unchanged since it's initial deployment while the dev site has been deleted and completely recreated several times, both are still showing the same issue. I have checked i can connect to both the Azure and ngrok urls and can see my traffic in the logs. However when i do something in SharePoint that should trigger one of the even receivers I see nothing at all so looks like the Event receiver is never being triggered or at least is failing before sending the post request to my code. I tried logging a call with Microsoft support who after several days of wasting my time advised my that they are a break fix service and I needed developer support (apparently something stopping working without anything changing isn't break fix???) I've been going round in circles for the past month trying to figure out how to resolve this problem and am completely out of ideas on how to proceed. The info I need is probably in the ULS logs but I have no way to access them and Microsoft don't seem particularly eager to help. Anyone else been stuck in this situation or saw this problem before.1.2KViews0likes0CommentsSharepoint CDN Compatibility with Custom Domain Names in Azure Tenant
Hi, I was reading the document for Office 365 CDN: https://docs.microsoft.com/en-us/office365/enterprise/use-office-365-cdn-with-spo And it states: •The Office 365 CDN does not currently support tenants configured with custom or "vanity" domains. If you have added a domain to any component in your Office 365 tenant using the instructions in the topic Add a domain to Office 365, the Office 365 CDN will return errors when you try to access content from the CDN. I was wondering if other CDN options share this limitation. If not, which is the best one to use if we want to maintain our custom domain names? Thanks741Views0likes1CommentSharePoint Designer 2013 Site Workflows in SharePoint Online Site
I have try to edit my existing sharepoint 2013 site workflows, but i'm getting below error. Error: "Failed to load the workflow definition for the workflow" I have try reinstall my designer and clear the cache, but it's not working. Kindly anyone please suggest the solution for this issue.723Views0likes0CommentsSharePoint online migration from on-prem
I would like to know about migrating our on-premises SharePoint 2019 infrastructure to SharePoint Online. My primary inquiry revolves around the compatibility of SharePoint Online with customized C# batch jobs(C# projects like dll and exe). Is it possible to deploy custom batch jobs in any commercial cloud such as AWS or Azure? or Does anyone have any suggestion for custom batch job deployment and how can to trigger that?684Views0likes1Comment