We have a problem that in the email activity when multiple inline images are included, the images completely stop loading. Emails with a few images are displayed without problems, but if there are a lot of images, they do not appear in the attachment.
In addition to the missing images, I get a large number of error messages in the console for this email activity only. Here are some screenshots of the error messages.
Here is the network trace log for reference:
Our system specifications:
Dynamics 365 Online - Customer Service.
DB version: 9.2
Region: Europe
Solution for missing inline images:
We changed the default font and size which is only possible by adding a custom
"EmailRTEconfig.js". That is currently the only way to change settings of the email editor. The documentation says you only need to add the changes to the js file but that's incorrect. We had to add all settings and changed what we needed. By doing so the issue was resolved. Maybe the custom "rte config" file is not put on top but overwrites the default file completely.
Solution for missing attachments in the list:
The problem got solved by adding this flag to the end of the email activity url: "&flags=DisableFormHandlers=true". It disables the scripts (onyl for that load) which would trigger by loading the form. This flag does not disable the scripts, only for that one reload. By adding the flag you can check if the problem is triggered by any of your custom scripts. In my case the issue was coming from a custom script. All I had to do was deactivating the custom scripts, make a hard refresh and then activate them again. After that the problem was solved.
I notice that there is a new and editable EmailRTEconfig.js:
EmailRTEconfig_editable.js
Display name: msdyn_EmailRTEconfig_referenceonly.js
However, if I add this to the as a RTE Control in the Email Description column, the inline images are not shown either in received emails or (Outlook) sent emails.
Related
I am getting DOMException: "The operation is insecure." error in the console from my website (using Vue). It only happens when it's hosted on github pages but it it doesn't error when it's being run locally.
Github page url: https://cubxity.github.io/ks/#/display/2227?scopes=&displayTime=true
My browser is Firefox, build id: 20181206201918
TL;DR: This isn't a Vue issue: you cannot programmatically alter the contents of a form input through the DOM.
Input file fields are more rigorously controlled by the browser DOM codes because of decades of exploits. In this case, you are not allowed to fill in the contents of the file form automatically (programatically), the user must do it manually through the selection trigger.
This isn't a Vue thing, it is an HTML/DOM security thing to prevent scripts from triggering uploads. Someone with more knowledge can give a better answer, but I believe that is the basic issue.
Instead of trying to pre-populate the form input, I always provide a simple hyperlink to the file just below the input form to allow whatever access was intended to the existing file.
For every field (parameter) in my report, when using the PUC (Report Viewer), the PUC refresh the screen. It take quite a time and most of the reports i made have about 3-6 fields.
Searching in Pentaho Docs, i found this link that tells something about the Prompting API: http://wiki.pentaho.com/display/Serv...+Prompting+API.
But I have read all related pages and didn't find how to disable this reloading. It says that this behavour is to enable custom loadings parameters (like Country and State), but for me it's not necessary to have this kind of fields.
How could i disable this option? Note that i am not talking about auto update REPORT on selection, but auto update PARAMETER FIELDS.
Do i need to change the source code of some project or i can do that just by xml setting? I am not a developer so if there is a XML or related file it would be easyer to me.
See that my problem is not the "report reload" when i change a field, but is that the PUC refresh the screen to "reload filter configuration", as in its documentation. What i whant to do is to be able to type every parameter on the screen without having to wait for this loading, as you may know, you can not use "TAB" to fill this parameters, because of this reloads.
Thanks.
The refresh is handled by the JavaScript frontend. You can find the code in our GitHub repository and in your "pentaho-solution/system/reporting" directory.
However, the easiest way to disable the auto-submit checkbox and/or to set the auto-submit attribute on the master-report to false. This should positively prevent updates until you press the submit button.
There is no way to do that in the version i tried, pentaho dont suport disabling this feature...
Dont waste your time like me.
I have a Google Doc spreadsheet, which I created a native Form for. I copied the form code, and integrated it into my own page here.
This form was working until I gave the website owner permission to view the spreadsheet.
Since then, when we hit submit, it takes us to the native form page, and does not insert form data into the spreadsheet. (You're welcome to test the form.)
Should providing viewing permissions to the spreadsheet break my own version of the form?
Did you set permissions via docs.google.com? If so then no it should not have changed anything. I got all the way through the form to "Attending
Your response has been recorded." Is this what you are getting as well or do you have a backend error?
If it is not a backend error and I was able to get somewhere you couldt I would suggest clearing your browser chache and possibly resetting your router as sometimes they hold a cache of older versions of a website.
Did the current form of yours manage to work this before? I mean. It is shown that in the native form the questions are text boxes. While in your GUI form, it had radio buttons and check boxes, since you are calling the native post back url?
My understanding is that the AjaxFileUpload object uses an iframe to upload files. A postback occurs, but no other controls are posting back - at least that is what it looks like to me as I cannot access any other controls' data.
The purpose of the app is to allow the user to upload a file. It will then modify the contents of that file and save the results to the server. The problem is that it needs some extra information to make the modifications, and therefor needs the information that the user entered elsewhere on the page.
The only solution I have been able to come up with is to do a postback every time one of those other controls is modified, which affects the apps responsiveness. I have been looking for a couple of days for another solution.
Does anyone have any ideas? The best case solution would allow me to access all of the data I need when the AjaxFileUpload control does a postback.
you could have a ajax function that is reading changes from time to time external data, and update the information displayed, similar to email alerts, sorry for my English.
I have never wrote a firefox addon so I am wondering if this can be done. Is it possible to continually scan a webpage for certain text, and then if that text appears, capture it and save it to a file?
For example
Say a user is on amazon and adds a few items to their shopping cart.
They click checkout and fill in their details and click submit order.
When the order is processed the user is shown the text 'Order complete' and given a receipt of their purchase.
In this example I would like to keep scanning the webpage until 'Order complete' appears. Then I want to capture the html of the receipt and save it to a file.
Is this possible with a firefox addon?
From my experience as a Firefox user, this is definitely possible. As a matter of fact there are add-ons that do far more than that.
For example, Greasemonkey can actually act as a filter and change the content of a viewed webpage as specified by a user script. Zotero and AlertBox are able to selectively watch specific HTML elements for interesting information and act upon it.
It is also quite possible that there is an existing add-on that either does what you need already, or can be used as a basis for a custom add-on of your own - what you are asking for is not all that unusual...
You probably want to create your add-on with the Add-on SDK. You can then use the page-mod package to attach a content script to Amazon pages. The content script should check whether it got loaded into an order confirmation page - and send the HTML code of that page (probably document.body.innerHTML) back to the extension.
The extension then needs to write the data to a file. You need to use internal API for that, something like this:
var file = require("file");
var writer = file.open("c:\\foo\\bar.html", "w");
writer.writeAsync(data);
If you want the user to choose the file name, you can do this using chrome authority and nsIFilePicker component.