Is there any API method in Forge/Bim360 for filtering (pdf) documents/files by text content (full text search)? - autodesk-bim360

I currently developing a BIM360 integration and wonder if it is possible to filter requested files (PDFs actually) by text content. Had thoroughly went through BIM360/Forge API Specs but found nothing about filtering by content.

Related

is it possible to view a question with a browser before importing it to Moodle?

I have created a XML file using R-exams out of just a single exercise to be imported to Moodle. I would like to view it before uploading it in the Moodle question bank. I tried to open it with Firefox and I can see some code but not the output and a message appear saying that the XML file does not seem to have a style sheet associated to it. Is there a way to find this style sheet and to see how the question comes out just using a browser like Firefox or Chrome?
To emulate how the R/exams exercises are converted to HTML by exams2moodle() and how Moodle displays mathematical content, it's best to use
exams2html(..., converter = "pandoc-mathjax")
In recent versions of R/exams the resulting HTML file then automatically loads the MathJax Javascript that enables correct rendering of mathematical content in all modern browsers (including Google Chrome). See also http://www.R-exams.org/tutorials/math/ for some general advice about math in HTML.
To the best of my knowledge there is no tool that would quickly display Moodle XML files in such a way that you can easily assess them.

How to upload files and attachments to the sobject record using REST API?

Salesforce has two different UIs and in accordance with it, it has the possibility to store attached files differently.
Two files were uploaded via the classic UI and they are marked as 'attachments'. Other files were uploaded through the new UI and they are marked as 'files'.
I want to upload all of these files using REST API. I cannot find the proper documentation. Can somebody help me with this?
That's not 100% true. In SF Classic UI you were able to upload Files too. It's "just" about knowing the right API name of the table and you'll find lots of examples online.
Attachment and Document objects have exactly same API names, you can view their definitions in SOAP API definition or in REST API explorer (there was something which you can still see in screenshot in here, seems to be down now, maybe they're moving it to another area in documentation...)
The Files (incl. "Chatter Files") are stored in ContentDocument and ContentVersion object. The name is unexpected because long time ago SF purchased another company's product and it was called "Salesforce Content". In beginning it was bit of mess, now it's better integrated into whole platform but still some things lurk like File folders can be called Libraries sometimes in documentation but actual API name is ContentWorkspace. The entity relationship diagram can help a bit: https://developer.salesforce.com/docs/atlas.en-us.api.meta/api/sforce_api_erd_content.htm
ContentDocument is a header to which many places in SF link (imagine file wasting space on disk only once but being cross-linked from multiple records). It can have at least 1 version and if you need to update the document - you'd upload new version but all links in org wouldn't change, they'd still link to header.
So, how to use it?
REST API guide: https://developer.salesforce.com/docs/atlas.en-us.api_rest.meta/api_rest/dome_sobject_insert_update_blob.htm
or maybe Chatter API guide (you tagged it with chatter so chances are you already use it): https://developer.salesforce.com/docs/atlas.en-us.chatterapi.meta/chatterapi/connect_resources_files.htm
some of my answers here might help (shameless plug). They're about upload and reading data too and one is even about data loader... but you might experiment with exporting files first, get familiar with structure before you load?
https://stackoverflow.com/a/48668673/313628
https://stackoverflow.com/a/56268939/313628
https://stackoverflow.com/a/60284736/313628

asp.net web application to convert pdf to word

Is there any clear and proper process to convert a pdf file into a word file with all formatting and images in asp.net web application?
The best way to do that is by using the OCR. It will recognize the text and the images in the PDF file, and then you can save it on a DOC file. I know a third party toolkit named leadtools that should help you doing your requirements, since it support the ASP.NET environment. You can check their Online OCR Demo
Also, you can check their website for more information, or contact their support team.
PDF is a presentational format where all the content is placed by absolute positions. There are no paragraphs and other structured elements (unless it is a Tagged PDF). Technically, you can output every word character by character in any order, but visually it would look like a normal text. Thus, to make a proper conversion to word it is required to do content recognition or some kind of OCR (e.g. ABBYY FineReader)
There are some paid components on the market that allow to do text extraction and some do converting pages to images (obviously, this is not a desired approach for converting into word).

CMS with Word import or paste

I am working on a project where we are taking a bunch of documents authored using MS Word and placing them online. Currently they are being published as PDF documents in order to maintain the formatting.
We are evaluating Content Management Systems (CMS), however, there is a bit of reluctance among the content publishers to use the CMS built in WYSYWIG editor. I can understand why, they are nowhere near as good as Word!
Some CMS have decent 'paste from Word' functions, but the one I have found that handles images as well is this Wordpress pluging.
My question is - are there any Content Management Systems that have been built with Word integration in mind? Something that makes it as easy as possible to publish Word documents as HTML.
So far from what I have seen, Microsoft Sharepoint had the best integration with the MS Office. I think most of them use Sharepoint as a intranet portal, but it could be also hosted as a public facing website. But compared to other CMS, it can be little pricey. But it has tons of features apart from content management.
Sharepoint Demo
Public Facing Sharepoint Websites
Microsoft Word does publish documents as HTML.
File > Save As > Web Page (Filtered)
Office.com - Save a document as a webpage
ahmednuaman/gdrive-cms-php uses Google Drive as a pseudo back-end to store and edit pages (Documents).
The self-hosted PHP and MySQL CMS requests text/HTML-exports of to display as web pages.
It also simplifies authentication and group permissions (if the editors are already Google/Drive users).

Design of a multilingual site using episerver CMS

How we one design an episerver site with multilaguage support using resource files?
There's no problem using resource files in EPiServer, except for localizing the UI.
Any particular reason why the standard approach of XML language files don't fit your solution?