So I have a form that uses infopath services via sharepoint, and after multiple attempts at attempting to fix a rendering problem (tables appear WAY too wide to be readable), I think I have found the problem : date controls.
It seems date controls within Infopath 2007 screw with rendering somehow. To test, I made 2 variations of a VERY simple form - one with a date control, one with a text control - and placed them inside a table.
When emailed, the one with the date control rendered incorrectly.
My question is - has anyone experienced this before? If you have time, test it out. I think it is a bug or something, but not exactly sure.
I am using Infopath 2007, Sharepoint 2007, and Outlook 2007.
Updated Sept 19, 2008
Yes, web form capability is checked.
Web compatible date controls? I think so - everything looks perfect in the browser... only the email messes up.
and yes you are correct. My mistake this is Sharepoint 2007. I fixed it above.
If anyone has the time, try it out - it's very frustrating to have to use text boxes for dates. Especially with the 'talent' we have here. lol
Do you have web form compatability checked in all the necessary places? Are you using the web compatible date controls? Are you sure you are using SharePoint 2003, I thought Form Services was a 2007 update.
Could be the same issue I had(or maybe not)...InfoPath cache's the form on the client(seems to check for the form’s unique URN in the cache) which means that if you attempt to click on the email “Edit this task…” the new form is not downloaded, instead the InfoPath form from the cache is displayed.
Run the following on your cmd window to verify this...and post your findings here
"C:\Program Files\Microsoft Office\Office12\INFOPATH.EXE" /cache clearall
Related
Appreciate your help.
I have old lotus notes database. Even having manager access it cannot open in designer.
So, took archive of the database was able to open in designer. Now when I am trying to open code of agents, scripts, formula, etc in current lotus notes version 8.5.3.
It throws error "the design element is hidden and cannot be edited".
Please could you guide on how to view code.
You have a database with hidden design here. Unless you find the template, that it was created from, there is no way to "unhide" the design as it is only stored "Compiled" in this case.
It it possible to get back "some" of the information using a HEX- Editor on the nsf file, but this will not bring you further than you already are with your backup: You can open in designer but not see any formula (in forms or views)...
When updating a database from a template you can choose to "Hide formulas and LotusScript" and this will result in what you see.
Some vendors already hide the design of their templates to protect their intellectual property. In that case you will not find an "open" template and cannot get the code back.
I am migrating MOSS 2007 site to sharepoint 2010 without UI upgrade. In MOSS 2007, to search a specific keyword from the document uploaded on site we use to use "http://sharepointsearchserv.codeplex.com/" tool. The result use to be in xml format. And I would fetch the filename of the document from the xml,Now that I am migrating it to 2010 I require a new tool. Hence I came across this: http://fastforsharepoint.codeplex.com/. But this tool can search only till 10000 records. For next 10000 records it produces below error.
<ResponsePacket xmlns="urn:Microsoft.Search.Response">
<Response domain="">
<Status>ERROR_SERVER</Status>
<DebugErrorMessage>System.ServiceModel.FaultException`1[System.ServiceModel.ExceptionDetail]</DebugErrorMessage>
</Response>
</ResponsePacket>"
My query is. Is there any alternate tool which I can use?
I suspect the problem is not with the tool itself, but with the search service.
Check the USL logs to find the cause of the error.
I referred http://www.silver-it.com/node/97 link to solve the issue. But speaking about the tool. When I say "save result" it stops working. And when I click on "save all results" it just saves the code. I want to save the result as xml file. How do i do that?
I have a system with an Excel spreadsheet template file which is used for invoicing. I would like the user to be able to click a button on an Xpage, which will then open the spreadsheet and enter the latest invoicing data in Excel. I don't mind if Excel is either the application on their machine or on the server, but my preference would be the application locally on their machine.
I've looked into Xagents, as I feel this is probably the answer. I know they can be used to create Excel but I have not been able to locate any mention of opening an Excel file, and entering data into specific cells.
Is this possible?
EDIT: you can use Apache POI for editing and creating Microsoft Office documents. This is a java project which gives you a handle to office documents and this can be used using java.
A good starting point can be the blog of Christian Guedemann from webgate:
http://guedebyte.wordpress.com/2012/09/17/documents-and-spreadsheets-with-xpages-building-the-kernel-part-ii/
(end of edit)
The only way I KNOW and tried to write data from Notes to Excel is exporting the data to an HTML page and setting the Content Type accordingly (e. g. as described here (there are a lot more resources available for taht):
http://www.dominoguru.com/pages/developer2010_xpagexlsexport.html
I am not sure if this is of help but it seems that this project can help you:
http://www.openntf.org/internal/home.nsf/project.xsp?action=openDocument&name=ZK%20Spreadsheet%20for%20XPages
As far as I can see this project can load Excel files from XPages - and then it should also be possible to edit the files.
Besides that the only solution I can think of is a Notes Agent that is called from the XPage. This agent can then run in background and do all the excel stuff. After running, the XPage can show a link to the Excel file. Actually this is the solution I would consider to implement - but maybe others step in with better answers here.
You don't want to introduce a dependency on Excel in your application -- wouldn't work with an iPad front-end. Rather have a look at the ZK Spreadsheet, it will fulfill your needs.
However if you have to have Excel, then you need a roundtrip solution: load the Excel from an URL (probably generated by an XAgent (?) and save it back. The saving back part is the tricky one. Normal HTTP doesn't allow that. What you need there is a webDAV capable server. Watch out for a project on OpenNTF soon (just clearing IBM legal) that provides webDAV.
However the ZK Spreadsheet looks much better for your needs.
I have a sample database at the following URL --> http://www.nnsu.com/nnsusite.nsf/%24%24OpenDominoDocument.xsp?documentId=B65507CB2DE15B3286257986005F061D&action=openDocument
Download the APCC.nsf. This will allow you to create/read a new EXCEL spreadsheet and then stream the resulting file to the requesting browser. There is not need to have EXCEL or office installed on the Server.
THe examples create a new workbook, but you can also store a "template" on the server or in a notes document and use it as a starting point and then save it to a document or stream it to the requesting browser.
With Apache POI you can read/write to a spreadsheet using data from the notes document the process is initiated from.
Our company recently upgraded from Sharepoint 2007 to 2010 and with the upgrade it managed to break a filter on one of our sites.
The site is mostly just a dressed up document library with a custom view and has a date filter (by year, month). After the upgrade it randomly generates an error of "Unable to display this Web Part. To troubleshoot the problem, open this Web page in a Microsoft SharePoint Foundation-compatible HTML editor such as Microsoft SharePoint Designer. If the problem persists, contact your Web server administrator." along with a correleation ID. The logs generated on the sharepoint server state "Failed to render field Created_x0020_Date, use default value instead".
The problem does not appear to be with the query or with the returned results until it actually tries to display the web part. Somehow the created date is not getting set? The strange thing is it works intermittently. The web part loads correctly maybe 5% of the time.
Any ideas what could have changed from 2007 to 2010?
Was the "Created_x0020_Date" column a calculated column? Was it modified in any way (such as the current date XSL hack)?
I've seen that sporadic error before and for my problem it was a time-out issue with a poor performing web part pulling from 3 different lists. We increased list throttling, and caching but it didn't help. But if it's just a standard view of the library with no custom XSL in it, then it isn't a code performance issue.
Can't you just create a new created column and copy the old data into the new column using Datasheet view in the browser?
We faced this same error both in a SharePoint 2010 and a SharePoint 2013 enviroment,
when executing an old report.
The cause was the farm XsltTransformTimeOut parameter.
We increased its value (default is 1 second) to 20 (our report lasted 10 seconds to run) and it got ok!
$farm = Get-SPFarm
$farm.XsltTransformTimeOut = 20
$farm.Update()
Hope it helps!
There whatsoever no difference between the Created Date column in SharePoint 2010 and SharePoint 2007.
The differences between the two are mainly new columns. After doing some digging I found this.
You can see the complete reference of the fields here
SharePoint 2010 Document Library Column Reference
SharePoint 2007 Document Library Column Reference
SharePoint 2007 2010 Document Library Column Difference
Now, since we know pretty much nothing of your setup and how this is built we are left to chance a bit. But assuming that guessing a bit is alright I'd say you are either missing the data in the 'Created Date' field which is possible since the field isn't required (check the documents I've linked to). Did you verify that all documents got this value set?
This field (Created Date) use the TimeCreated property to check when the document was created. So if this column isn't filled with data that usually should mean that your documents hasn't been transfered to your new installation but the reference to the document is still there.
http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.spfile.timecreated.aspx
Thats a bit of a chance but thats what I'd start somewhere around that.
Good luck.
I need to be able to download a file out of SharePoint (to send externally) that has the version number in the file name.
Is there any way to do this without custom code? If not, how would I code this?
File in SharePoint -> Specifications.doc
Downloaded file -> Specifications V99.doc
I use SharePoint 2007, but I am also interested in a 2010 solution.
Don't think it's possible out of the box. As for manual implementation I see two ways:
1) If you can use some external application (or, for example, webpart or page) to do that, just get sharepoint file as binary stream and save it with the name you want.
2) If you need it to look like standard downloading, add a new custom button to document context menu (Ribbon in SP2010) and again do whatever you want with that document when user clicks the button.
This is about as close as I think we can come at this time:
http://spversionindocs.codeplex.com/
It allows you to have a version number field in your document that is automatically updated with the version number from sharepoint.