Is it possible to disable "Try it" functionality on API Management Developer Portal? - azure-api-management

I'm working to customize APIM Dev Portal and I dont want allow user use 'Try it' functionality so How to disable it ?

There is no straightforward way of doing that, either create a custom widget to hid it https://learn.microsoft.com/en-us/azure/api-management/developer-portal-extend-custom-functionality#create-and-upload-custom-widget or self host the portal and customize it the way you want

Related

How do we disable Azure Api Management developer portal (both legacy and new)

I worked with a team today who wanted to disable the developer portal and the signup.
The best we could come up with was to disable the legacy developer portal by adding delegation to a static site as per https://learn.microsoft.com/en-us/azure/api-management/api-management-howto-setup-delegation
I did some testing and the new developer portal can be disabled by removing all the providers including username and password from the identities blade. This means going to the new portal returns "Developer portal has not been published yet." I think I read that the new portal would be optional somewhere.
Does anyone know a the correct way to disable the legacy and new developer portals?
From what I have found in my own research, Azure API Management does not have a way to disable either the legacy or new dev portals. There is a roadmap item for an Unpublish feature for the new dev portal at the following address:
https://github.com/Azure/api-management-developer-portal/projects/4#card-28534235
As this link will likely not last very long, here is a screenshot of the referenced roadmap item:
As an alternative to removing the identity providers, you can use the Azure APIM Management REST API to toggle the "properties.enabled" portal setting. Instructions are available at this link: https://blog.bitscry.com/2019/11/07/disabling-signup-in-the-azure-api-management-developer-portal/
Note that when this setting is changed to enabled = false, both sign up and sign in are disabled on the legacy dev portal (I don't know if the new dev portal respects this setting).
What can also be done in the legacy dev portal is to modify the Sign In and Sign Up templates to remove their respective forms, preventing anyone from being able to perform either action. Removing the relevant widgets from the respective pages in the new dev portal may also be feasible (or possibly delete the Sign In and Sign Up pages complete and remove from the Navigation list).

Missing configuration for Application File(s)

I'm new to ServiceNow and have been following the Learning Path on the Developers site. I created a Jakarta Instance and have been making my way through the tutorials. However, I have been consistently running into problems where I am missing configuration options when creating application files. I can't properly set up UI Policies, Events, Notifications, etc. because I'm missing specific options like being able to write scripts and more. I have switched to the "Advanced View" in the "Related Links" but to no avail. The account is an Administrator account and has not been modified at all since the creation of the Instance. Is there something I am missing? Other developers following this track with me currently do not have the same problems so I'm wondering if its account specific or something with configurations. I've attached my Notification file; even in Advanced View, it is missing "Send When" and "Advanced Condition" script.
An example of options not loading: Notification Application File Example
Double check that you are under the Advanced view for these sections.
These should be there for you, Send when and Advanced condition are under the When to send tab within the Advanced view.
If you don't see these under the Advanced view, you should be able to manually add the fields using the Form Designer.
Take a look at the documentation at Form design.
In short
Go to your instance and go to Settings Gear > Developer and change Application to Global
Right click the header and go to Configure > Form Design.
Verify you've selected the Advanced view
Drag the missing fields to the form.
Click Save
Change the Application back to the one you are working with

How to allow Chrome Kiosk App configuration access for administrators?

I'm building a Chrome kiosk app that will be in a public space. Users can interact with the app, but there are a variety of settings (server addresses, timeouts, etc.) that need to be set. I'm looking for a strategy on how to allow access to that administration config.
On first run - This is straightforward, but I want administrators to be able to pull it up again.
Detect if the app ran as a kiosk app or manually - This would kind of work, not sure if it's the greatest
Detect some key combination - Ctrl + Alt + Something switches over to the settings page, this feels like people could stumble on it accidentally.
Is there another approach I'm missing?
If your Chrome device(s) is managed you have a further option which is to use the Chrome App Management area within the Google Apps admin interface.
To do this you code your app to use the storage.managed API and this should allow a Configure section for your app within Chrome App Management.
I haven't tried this myself yet but this appears to be the way the Chrome Sign Builder app is configured with its schedule.
Another approach would be to have an administrator login button in a corner of the app. You can set a default password for administrators, which could then be changed in the settings dialog.
You can also think of combining suggestions you have made, first run and then a key combination, and this could bring up a password prompt as also suggested. For an example of this see the Zebradog Kiosk app which is in GitHub so you can see code of how this could be done.
I use ctrl-alt-S at boot. This allows me to login and make changes. I know you have to do a couple of reboots, but it is out of service during admin time anyway.

How can i define javascript API domain on linkedin for cordova app

Good afternoon, I am creating an application in Cordova and wanted to use linkedin, but when I run my application, it says I need to set my domain javascript API in my Application linkedin. I've tried with the domain "file: ///" but gives the same error.
Does anyone have an idea or a solution to this problem?
Best Regards
LinkedIn (or any OAuth provider) requires your Web domain for security purposes (to know the right URL for authentication callbacks, and to help prevent random sites from trying to impersonate your application).
You must supply a domain such as www.yourdomainname.com or even your external IPv4 address will work, such as 55.55.12.12.

App42 - deactivate whole database for update

Is it possible, to deactive an app (all requests will get a error answer from the app42 service) for a while (or even better, for all except one special user), update the database and after everything is valid again, reactivate the app again?
You can easily deactivate your app through dashboard.
Follow just simple steps:
Login to your AppHQ Management Console
Click on View Apps under App Manager section
Click on Disable to deactivate your app
Same you can follow when you have to activate click on enable.
Let me know if it helps.