How to retrieve D365 Area name using JavaScript - dynamics-365

It's all in the title. I'm looking for a way to programmatically retrieve the active area name to do some test
I looked in the ui and navigation items, but there seem to be no way to achieving this.
Looked into the MS Documentation as well but in vain.
If someone could please tell me what I'm missing.

Related

How to add RichText editor to a page as component in HippoCMS?

I'm creating some project using HippoCMS 10 and I need to add RichText editor as part of the page, so that customer can use it and fill something there. This editor must act exactly the same way as in Document Editor (customer can click Image button in toolbar and select image from ImagePicker dialog box).
Can't find anything about it in HippoCMS official documentation. I learned how to create custom plugins and how to integrate CKEditor into page separately, but for image picking, I need default behaviour as in Hippo.
How can I achieve this? Any help will be appreciated!
I think your question was answered on the community group. The answer there was:
"it should be quite easy to have a CKEditor in the website.
However, it doesn't really make sense to me to have site visitors able to pick CMS documents and images from the site. The picker dialogs are designed to work inside the CMS only. You should be able to create your own picker dialog that can read from a REST service that exposes the images/documents.
I don't think it will be possible to reuse the CMS picker dialog in the site."
and
"your use case is fine, when I said "it doesn't really make sense", I was really referring to the technical limitations of the pickers. You should be able to achieve what you want with a custom dialog that plugs into a REST service though. Unfortunately there is no quick solution for this that I can think of."
Just adding this for future reference.

Auto-Complete list for contact for wp8

I don't know how to get the auto complete list of contacts when the user types anything in the textbox. I am not getting any idea for this. I have researched a lot of places but could not achieve anything. I have also added an image for example. Can anyone help me with this?
I would recommend considering AutoSuggestBox control for WP8.X. https://msdn.microsoft.com/library/windows/apps/windows.ui.xaml.controls.autosuggestbox.aspx
There's a link for AutoComplete control for WP7:
Auto-Complete list for contact for wp7
And there's how to access contact data from your code:
https://msdn.microsoft.com/en-us/library/windows/apps/hh286416(v=vs.105).aspx

Google forms - Get a custom form with many pages

I spent the last two hours searching on the Internet how to solve my problem but no one seems to experience this issue.
As many of you know, we can create a form on Google Forms Tool, then get source code and apply it to our own website giving us the ability to customize it.
My problem is: My form is really big so I separated it in different pages (I inserted "page break") and it is working.
But when I go get the source code, apply to my site, and I click "continue" it goes directly to google again...
Is there any way I can solve this?
I tried embed code but then i have another problem: I can't style it with css!!
Thank you, hope you guys can help me :)

Asp.Net MVC 3 Free Text Editor with File Upload

I spent all day yesterday looking for a text editor for my Asp.Net MVC 3 application without any joy. What I am looking for is a text editor that I will use to allow a user to add a news story. Therefore, it would be nice if when using the editor the user, as well obviously adding text, could embed an image by hitting an image icon and browsing to their local drive. And also to highlight text, ie 'Further Info', and be able to link to a document which they can also upload.
I know you might think reading this that there are loads of tutorials etc on the Web that already explain that, but after a full day of researching yesterday I have not been able to find any. Either the documentation is for asp.net Web Forms, or PHP etc, but I can find hardly any info on how to implement this for MVC.
I know that the likes of CKEditor and TINYMCE are availble, but I can find no information on how to implement these to my requirements stated above.
If anyone knows of any tutorials or even any alternatives that I could use it would be very much appreciated.
This might be what you are looking for. A solution for tinymce: http://www.xdevsoftware.com/blog/post/TinyMCE-Image-Upload-Plugin-for-ASPNET.aspx

Firefox Extension - Monitor refresh and change of tab

I need to know when a user refreshs the page and when he switches to another tab.
Does anyone has a clue how to capture this in a firefox extension?
Best regards
Christian
What you seem to want is knowing when the value in the location bar changes. This requires implementing nsIWebProgressListener interface. The only method you really need is onLocationChange, rest of them should be dummies. You can find the documentation along with code examples here: https://developer.mozilla.org/en/Code_snippets/Progress_Listeners. You can also use progress listeners to monitor page loads.

Resources