I have an Abbyy flexicapture for invoices project and I need to export unrecognized pages before the verification phase knowing that I am newby.
You can use an "Unknown Page" document definition and load a flexilayout with no header or footer. You can then export the document etc.
Related
I'm using PHP code and DFP API version v201911.
I create report queries in the Ad Manager UI, and retrieve them with the ReportService.getSavedQueriesByStatement method, but i received the error:
Fatal error: Uncaught exception 'UnexpectedValueException' with message 'The saved query is not compatible with this API version.'
If i delete filter option: DFP Ad Units (Top Level) from the saved query (in the picture) and run file PHP, i received a good result.
Please let's me know what wrong?
Thanks for your support!
enter image description here
I had the same issue when i was trying to use a saved query with key-values filtering and then i ran into this
in other words, a lot of the options in the UI are not supported via saved queries but google are not clear about what is allowed.
I hope that saves you some time:)
I have been using Python to explore smartsheet api in order to retrieve information for Power BI and/or user management.
Some of the reports I will like to retrieve are the ones from Account Administration tab. For example the report from "Download User List (csv)" or "Download Sheet Access Report (csv)".
Is there a report id for these, or a direct link?
The API documentation has all the details and code examples you may need.
First, list the reports the user has access to, to find the name of the report you're looking for.
response = ss_client.Reports.list_reports(include_all=True)
reports = response.data
Then once you've identified the corresponding report, use the report's id to then request a csv export.
ss_client.Reports.get_report_as_csv(
3882962191181700, # report_id
download_folder_path
)
I am using jasper server enterprise version 7.0. Multiple users login to the server I can get the user name by using parameter - LoggedInUsername. But how can i get which report is used by the Logged in user. Is there any method to do so or is there any workaround for this?
Inside a report template (JRXML), you can get its own name calling $P{JASPER_REPORT}.getName():
And this is what you see when it's published to the server (6.4.2 in my case):
As you can see from the screenshot, the report file name and report name do not necessarily have to match.
For further details, see: http://jasperreports.sourceforge.net/api/net/sf/jasperreports/engine/JRParameter.html#JASPER_REPORT
I have encountered strange behavior in SharePoint 2013SP when using REST API to retrieve information about documents located Document libraries.
Here is a description of the issue, steps to reproduce are:
In the top-level site I create a sub-site called 'collab'.
I import two documents to the Documents library in the top-level site.
I import a new document to the Documents library in the 'collab'
subsite (just one document to somehow differentiate the two libraries).
I did it on a SharePoint 2013SP1 server - freshly installed.
Now, when I query the server to find documents in the 'collab' subsite I use the following REST call:
http://localhost/collab/_api/Web/lists/getByTitle('Documents')/Items
this returns 2 documents which are located in the top-level site Document library and not just the one document from the collab sub-site. Strange.
Exactly same result I get when I run this URL:
http://localhost/_api/Web/lists/getByTitle('Documents')/Items
Why SharePoint does not honor the subsite name in the URL?
At this point I thought that perhaps I am using a wrong endpoint, so I decide to try something else:
http://localhost/collab/_api/Web/GetFolderByServerRelativeUrl('/collab/Shared%20Documents')
This to my surprise returns correct number of documents: 1
Querying the top level site also returns correct number of items: 2.
http://localhost/_api/Web/GetFolderByServerRelativeUrl('/Shared%20Documents')
So now I try to retrieve information about the contents of the Document library of the top level site and the subsite:
First the top-level site:
http://localhost/_api/Web/GetFolderByServerRelativeUrl('/Shared%20Documents')/Files
this request gives correct response, there are two items.
Lets see if I get the same for the sub-site:
http://localhost/collab/_api/Web/GetFolderByServerRelativeUrl('/collab/Shared%20Documents')/Files
Sadly, I get a response which is difficult for me to understand:
<feed xml:base="http://localhost/_api/" xmlns="http://www.w3.org/2005/Atom" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata" xmlns:georss="http://www.georss.org/georss" xmlns:gml="http://www.opengis.net/gml">
<id>8f772a2c-2d90-4324-9168-3344aedca14b</id>
<title/>
<updated>2018-01-28T11:37:22Z</updated>
<author>
<name/>
</author>
</feed>
What does this response mean?
When I try a slightly different URL:
http://localhost/collab/_api/Web/GetFolderByServerRelativeUrl('/Shared%20Documents')/Files
I get in the response details about the documents which are in the top level site, even though I have 'collab' site name in the URL. What is going on here?
Questions are:
How do I retrieve list of documents for the site and subsite Documents library in a consistent manner? What REST API endpoint should I use?
Why above REST API calls return only those documents which are in the top-level Document library site ignoring the subsite's Document library?
Thanks!
Karol
Get files from documents library in root site using the following REST URL:
http://localhost/_api/Web/GetFolderByServerRelativeUrl('Shared%20Documents')/Files
Get files from documents library in sub site("collab") using the following REST URL:
http://localhost/collab/_api/Web/GetFolderByServerRelativeUrl('Shared%20Documents')/Files
If it still not works, I suggest you update the latest CU for SharePoint 2013.
Latest Updates for SharePoint 2013
I designed the infopath form. I am writing required programming code on button clicked event. But while publishing the infopath form i am getting error; Please observe: It should allow me to select "Form Library" option so that i can do. From Microsoft it is suggested from here that i need to remove code. but everything is required in my form. I need to deploy form with code. without code it is without any value.
I have associate tryst certificate as well as my form is with full trust.
My infopath services are configured properly.
I am running sharepoint2010 in 2-tier farm.
I am using Infopath 2010 with Sharepoint 2010.
What else i need to be added...?
If i removes code then it shows me and deployed properly.
Please , give me right direction.
**Edited:**
I deployed this form as form template and activated it by central admin site. and assigned to form library as content type. but while running this form (from Document-> New Document->MyContentTypeTemplate),
i got exception:
Business logic failed due to an exception.
(User: domainname\user, Form Name: MHPMEmployeeInformationTemplateChanged9, IP: , Request: http://spwfe1:7000/_layouts/FormServer.aspx?
XsnLocation=http://spwfe1:7000/FormServerTemplates/MHPMEmployeeInformationTemplateChanged9.xsn&SaveLocation=http:
//spwfe1:7000/OfficialResumeFormLibrary&Source=http://spwfe1:7000/OfficialResumeFormLibrary/Forms/AllItems.aspx&DefaultItemOpen=1, Form ID: urn:schemas-microsoft-com:
office:infopath:MHPMEmployeeInformationTemplateChanged9:-myXSD-2011-09-06T18-40-25, Type: UnauthorizedAccessException, Exception Message: Retrieving the COM class factory for component with CLSID {000209FF-0000-0000-C000-000000000046} failed due to the following error: 80070005.) a2e8bb5f-26d2-485a-bf9c-0a333eaa71e7
Verbose Calling GlobalStorage.SetItem with index LastExceptionLogged value type UnauthorizedAccessException. a2e8bb5f-26d2-485a-bf9c-0a333eaa71e7
Medium Exception thrown from business logic event listener: System.UnauthorizedAccessException:
Retrieving the COM class factory for component with CLSID {000209FF-0000-0000-C000-000000000046} failed due to the following error: 80070005.
at EmployeeInformation_Template.DocGenerator.CreateWordDocument(Resume objResume, Object oTemplate)
at EmployeeInformation_Template.FormCode.GetInfopathData() at Microsoft.SharePoint.SPSecurity.<>c__DisplayClass4.<RunWithElevatedPrivileges>b__2()
at Microsoft.SharePoint.Utilities.SecurityContext.RunAsProcess(CodeToRunElevated secureCode)
at Microsoft.SharePoint.SPSecurity.RunWithElevatedPrivileges(WaitCallback secureCode, Object param) at
Microsoft.SharePoint.SPSecurity.RunWithElevatedPrivileges(CodeToRunElevated secureCode) at Employe... a2e8bb5f-26d2-485a-bf9c-0a333eaa71e7
Why should This? : I wondered When Microsoft is avoiding to use Interop COM Objects to use for word file automation which i used in my infopath form. Look Here
What i have to do now? do i need to go with alternatives ? or move by trying to resolve the issues ??? Please , i need right direction.
This is by design. As soon as you have code in your form, your only option is to deploy as "Administrator approved Form".
To get the form to show in your library, do the following:
Upload it in the Central Administration (General Applications
Settings -> Manage Form Templates)
activate the according Feature In the "Advanced Settings" section of
your library
allow "ContentType Management"
Add the Form as ContentType