this question seems simple but I can't find anything on the web. In my application I have a button and just want to call de standard Calendar application from my button. I don't want to add events or stuff like that. I just can't find an OpenUrl or there is another way to call the Calendar app?
There is no URL scheme define for Calendar. You can however allow users to use the standard EventKitUI to create, edit, and display events.
There is also UICalendar to display events:
https://github.com/Clancey/UICalendar
Related
Is there anyway that I can make Chrome Extension's window stick in window even while clicking outside of its resolution?
I'm trying to make it Sticky on the window for one simple google login so that I don't need to go back again to click extension to open it.
By using tabs API you could retrieve windowId of the window you want to focus on. You could do it only if needed e.g. by using query method from that API. You could pass url for example.
If you created a window that you want to be still focused then you have its id already in the hand.
After that, you could use window API update method in order to draw attention or focus. Take a look at updateInfo params - focus and drawAttention.
The same could be done by using tabs API. You could pass tabId and the URL you want to redirect someone.
Now in order to make it work you have a couple of options:
You can use setInterval which would be used to check if the tabId and windowId you want are active and focus the window/tab you want in another case.
Because in the MV3 extensions using setInterval is not recommended you could use alarms. Please take a look at AlarmCreateInfo, when param should help you instead of triggering the alarm periodically.
You could also use event listeners from both windows and tabs API to listen on tab / window focus change. Then you will be able block the change (from user perspective) by methods I described before.
You should play with all approaches and pick on that suits you, because all of them have some drawback. But don't want to make that comment very long.
I need to pass parameter from a web application that is opened inside a USD Session to CRM Case Screen that is also opened inside same USD Session.
Is there any possibility to do that? I know how to pass from CRM to web.. But I do not have rights to modify the web application. So how can I pass the values from web to crm?
I just need to put the value from web inside Unified Service Desk Data parameters from there I can have the values inside my CRM page.
Please let me know..
Create a new action call where the action is RunXrmCommand. The Hosted Control should be the page that is hosting your CRM Case screen. In the "Data" section of the action call, you can simply inject your USD context variable right into the javascript. The data section might look something like this for example:
function UpdateCaseFields() {
Xrm.Page.getAttribute("nwn_name").setValue("[[$Context.CaseName]+]");
}
If you are trying to go the other way, you have to fire an event from the javascript. This tutorial provides a good outline of it: https://neilparkhurst.com/2017/04/07/usd-execute-actions-from-javascript/
We currently have a requirement where an end user can perform a signature capture inside the SO Invoice screen.
End user would click a button or execute an action from the Actions Menu. A touch screen graphical editor would come up allowing the user to use their finger or any hardware supported to create a signature image. Upon clicking Accept, the image would be stored against the document Files attachment.
We are looking for something possibly already developed, or if necessary, a control we might be able to spawn that could then write the image attachment back.
Please advise.
If I'm not mistaken, at this point the functionality to create user signatures and attach the signature image file to an Acumatica ERP form that supports file attachments is exclusively available only in Acumatica mobile applications. I wish there were an Aspx control inside the framework, which could be used as is for that purpose, but unfortunately, there is not any to my knowledge.
An alternative approach is to create a custom PXSmartPanel embedding a custom HTML webpage (via the InnerPageUrl property). The custom HTML page can be used only to capture the signature and attach it to the current record inside Acumatica.
Since RuslanDev noted the mobile application for this, I'll share the MSDL code from the new T400 class on Customization of the Mobile Application. I don't think this is what you were asking, but I'm adding as an answer to preserve formatting for those that may be looking for how to do this in Mobile.
To add to the mobile application on 2018 R2, use the new Mobile Applications section of the Customization Project. Simply add the - add recordAction "SignReport" - section as shown below.
update screen SO301000 {
update container "OrderSummary" {
add recordAction "SignReport" {
behavior = SignReport
displayName = "Sign"
}
}
}
I am working on an Outlook mail app, which will be available to user on web only (not of outlook desktop).
A file need to be uploaded from app to azure via custom control in compose form of App, meanwhile the file is uploaded to Azure user should not be able to close the mail. If they try to do so, a warning should be given to them.
Adding to #Slava's answer, I would suggest using addAsync API for notification messages. You can add a notification of type progress indicator until your task is complete and replace it with a notification of type informational message.
Click here for reference
Unfortunately Office.js API does not have the feature you are inquiring. You will not be able to disallow user interaction, as such closing the compose window or closing your add-in. As the API doesn't have "OnSend" or "OnClose" events you will not be able to display any warning either. If this is the new feature you would like to add you may try to send request via Office Developers User Voice.
As the work around you should clearly indicate for the users that they need to wait and do not interup operation. You should display activity indicator, indeed. And finally you should be prepare user still interupt the operation in the middle and work properly with the error occur.
Hope this helps.
We would like to let a user with mobile device (Notebook/Tablet/Smartphone) add an event to his Calendar by just hitting a button/link/url from our MOBILE WEBSITE.
How can we provide this? (We read that this is not possible with an Stock Android Google calendar).
the button should point to a icalendar file describing the event (see rfc5545) when downloaded the client will then add the event to the local calendar.