ASP.NET MVC Indexing user selected portion of Docx - asp.net

I have a project, in which I want to allow users to select part of a work document(either a page or page range) and then link that selection to a certain piece of information.
For Instance:
Say a user wanted to add a heading called 'European history' and they wanted to reference a part of a document 'History' which contains all world history. How could I allow the user to select a page/page range where European history can be found so that the next time the click the reference link, it would direct them to said page/range in the document.
(For all intensive purposes the document will be Docx format).
I am currently using .NET Core 6.0 MVC application.
Thanks in advance!!

Related

How to integrate Recombee with ASP.NET

How do I integrate recombee with ASP.NET to display results in a list or grid view, as well as connect a book crossing dataset to it?
Recombee provides a .NET SDK (https://github.com/recombee/net-api-client).
The github page contains an example how to upload items catalog (your dataset) via it to Recombee. It also shows how the recommendations are requested.
Recombee API returns by default ids of the recommended items, but if you specify parameter returnProperties=true in the recommendation requests, it will also return properties of the items, which you can use for filling your list/grid view.
Another source of information is the Getting Started section of the Recombee docs.

AEM Forms. Meaning of Document of Records

I am learning AEM forms. I have come across the term DoR(document of records) in multiple places, but don't understand what it really means and how it is connected to AEM forms.
If someone could explain with an example, it would help a lot.
In super simple terms:
- AEM Forms (html based) allows the end-user to complete & fill out forms.
- The DOR which AEM Forms (aka Livecycle in the background) can also generate a PDF representation of the AEM Form (html).
Typical Example scenario:
- User wants to sign up for health insurance.
- User fills in New Health Application Form online (AEM HTML Form) on the health insurance's website.
- User submits the form.
- The AEM forms server recieves the submission and does the following:
a) submits data to back-end health insurance system.
b) generates a DOR and saves it to an ECM (eg: sharepoint).
c) generates and send out an email to the user with the DOR attached to an email.
From AEM official documents at: https://helpx.adobe.com/aem-forms/6-2/generate-document-of-record-for-non-xfa-based-adaptive-forms.html
After submitting a form, your customers generally want to keep a record, in print or in document format, of the information they have filled in the form for their future reference. This is referred to as a Document of Record (DoR).
As explained by other, DoR is the data capture in a PDF or PDF/A form for the submitted data by a user and captured in AEM forms system.
Think of it as a hard copy version (PDF) of the form (HTML) that can be saved (on a file system or a printed copy) for record keeping purposes. Hence document of record (DOR)
Document of record refers to a document created for record keeping purposes. From http://www.businessdictionary.com/definition/record.html:
Document that memorializes and provides objective evidence of activities performed, events occurred, results achieved, or statements made. Records are created/received by an organization in routine transaction of its business or in pursuance of its legal obligations. A record may consist of two or more documents.
In AEM Forms, a document of record means a document that is not used only for data capture, it is used for record keeping, and therefore is preserved for long periods of time (in most cases, this means a PDF or PDF/A document).

adjusting relivance of index service web search

I run a website that is using windows indexing service to create a catalog for the search page. I return the top 30 results.
I was asked by a user why a certain page was not returned. The phrase searched was "Papal Blessing Form". That is the exact title of a link that points to a PDF form. I tried having the search return all the matches and the page was not returned. I did however get most every page that had the words "form", "Blessing" & "Papal" on them. I even rebuilt the catalog thinking the page was new and not yet indexed.
How do I modify the index settings so better results are returned?
Mike
I have written a blog post about the Indexing Service which addresses your question and some other points.
Specifically to answer your question:
-Cannot adjust page ranking.
The ranking system is closed and no API or boosting mechanism exists.
-Indexing PDF documents requires the Adobe IFilter (another link in the chain).
My claim that you cannot adjust weight is based in part and supported by this post by George Cheng: http://objectmix.com/inetserver/291307-how-exactly-does-indexing-service-determine-rank.html

Track user's action

In our company I have to extend the functionality of existing Drupal 7 website. Here are the requirements:
The business needs to inform all staff members, on different topics using uploaded to the Drupal site documents. (I already implemented this requirement.)
The business needs to know, which staff members have read a document and which still have not.
They need a report like this:
Document 1 25/50 (25 from 50 staff members still didn't read the file)
Document 2 50/50 (all staff members did read the file), etc.
In order to fulfill the second business requirement, I need a module which can track specific user's activity (in my case click on a link to download a file, which means the file is read). The module(s) have to be able to create a report like the one above.
(All staff members have a drupal account with a specific role.)
Is there any drupal module I can use or maybe a part of it. Or the requirements are too 'custom' and I have to create my own module.
I created almost exactly the feature you need. I would be glad to help you in the process.
I developed indeed a full custom module. And I could tell you that you will need different things:
A custom table in your DB to store the data
A custom entity called "track" or "action" that will be stored in the DB
Implementing the right hooks to create a track when you want to keep a track of a user's action
A custom page or block to display the tracks you stored in your DB with a custom query and appropriated permissions
To achieve all that, I suggest you to take a look at these pieces of documentation:
https://api.drupal.org/api/drupal/modules!system!system.api.php/function/hook_schema/7
https://www.drupal.org/node/878784
https://api.drupal.org/api/drupal/includes!module.inc/group/hooks/7
https://www.drupal.org/node/1343708
http://befused.com/drupal/page-programatically
https://api.drupal.org/api/drupal/modules!system!system.api.php/function/hook_permission/7
Hope it will help.

DPF portfolio with fillable dependable pdf forms

I have pdf portfolio with some fillable pdf forms in it. This portfolio is generated via LiveCycle services.
All of these pdf forms have equivalent fields. For example: portfolio consists of pdfX, pdfY, pfdZ. And every pdf have fillable field "userName".
And it is not convenient for a user to put the same data to every pdf form.
User wants to put data only to the first one pdf. So, other pdf forms must be filled with data automatically.
And, there is one restriction: user can't send portfilio back to the server, so all automated changes must be done on the client side.
So, is there any way to solve such task?
If there is, please describe some algorithm\strategy of how this can be done.
Thank you.
You seem to be looking for a way to programmatically access or change the content of a portfolio element from another portfolio element. This requires the first element to be aware of the other element.
This is what I found on The PDF Developer Junkie Blog when I investigated in the possibilites of scripting portfolios. Take a look at the last paragraph. Maybe it'll point you in the right direction.
Dennis Smith | April 07, 2010 3:13 PM |
I hope you can help me. I have two pdf files combined into 1 portfolio. File 1 has a field “name” and File 2 has a field “lastname”. When someone enters a value into the field “name” in File 1, I want File 2 to contain the same value in the field “lastname”. This would be for files that are distributed to the public, so I really can’t change the security levels of the user’s computers. Right now I am combining File 1 and File 2 into a larger File 3 and just handling all of this with javascript.
getField(“lastname”).value=getField(“name”).value;
Joel Geraci | April 07, 2010 3:28 PM |
Thanks for the comment: Unfortunately, that’s not possible without adding a folder level JavaScript that can add a menu item to synchronize the fields or by disabling the navigator (Flash UI) of the Portfolio.
If you disabled the navigator, you could add a button to the “Cover Sheet” that synchronized the fields.
The main issue is that items in a Portfolio cannot communicate directly with their peers and don’t know anything about their parent. The root PDF (cover sheet) does know about it’s children which is why a button placed there will be able to synch the fields.

Resources