Skip to main content


 

Symptoms


Sharepoint file upload issue
 

Diagnoses


When you try to upload a file to a folder within a sharepoint document library this works most of the time but the scenario here this does not work as expected.

The sharepoint URL itself is stored within a field in SQL along with the folder, and the filename is also stored within the database as XML.
In this case a the folder structure is created by using a web service, this works the same way as the URL and folder itself is stored in the database.
The value being provided is coming from an expression as the path is built up with variables that concatenate.

With this results in an error:

Server was unable to Process request ----andgt There is no File with URL??
Is there a way to get around this ?

 

Resolution

You can try getting around this by encoding the URL within a datalabel, This does only work on Form level and at View level. The datalabel within the concatenate is replaced with the expression that retrieves a number.

The datalabel is then used as a input property, with this the upload of the file to the sharepoint folder should work again if retested.




 
Be the first to reply!

Reply