Write Custom policies in Javascript for API management in Azure
I am new to API Management in Azure.
Is it possible to write custom policy in Javascript like it is possible to write in API Management tool in APIGEE?
Hi,
It seems that it is not support in Azure API management, please vote this similar voice at:
http://feedback.azure.com/forums/34192--general-feedback/suggestions/6564897-api-management-policy
Best Regards,
Jambor
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey.
Similar Messages
-
Hi.
I'm trying to configure ADD and Api Management son I'm not so sure that is the right place where send the issue.
When I try to set the Authentication type to 'Authorization code' I'n receiving this message:
No permission to access user information is configured for 'GUID-APP' application, or it is expired or revoked
The 'GUID-APP' is the client-id of a new app I have registered especially for 'API management' (is not the app where the real API is implemented). The name of the app is: apimanagement. For this app I have configured :
Application permissions: 2
Delegate permissions:4
Which kind of permission shoud I configure to remove the issue ?
Thanks.Hi,
The issue should possibly be a replication delay in Azure AD, when the Permission Object that the application creates to access the Azure Management API (RDFE) does not replicate quickly enough to the authentication endpoint. The app currently does include
a 5 sec delay before requesting an authorization code, but this delay may not to consistent. The workaround would be to sign out of the app and then sign back in. (Quoted from below thread)
Source:
Azure AD OpenId Multitenant invalid_grant error
https://social.msdn.microsoft.com/Forums/vstudio/en-US/dd289578-5d04-4ce0-a533-0505f8a8bedd/azure-ad-openid-multitenant-invalidgrant-error?forum=WindowsAzureAD
Hope it helps!
Thanks.
Dharmesh Solanki
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected] -
Javascript won't work - JavaScript for Reader Mobile API Reference (Android)
I have created a Form with the new Adobe Acrobat Pro DC (trial version).
The Javascript code just won't work on a mobile phone.
Doc - JavaScript for Reader Mobile API Reference (Android this shows that what I want to do is supported.
But not even the simplest command will work on my phone. (I am using Adobe Acrobat DC - PDF reader for Android)
Any suggestions of what I could be doing wrong?
Best,
MennoA Doc.getField() should work.. Try small steps: Create a document with two fields (e.g. Text1 and Text2), then create a custom calculation script for Text2 that uses the following code:
event.value = this.getField("Text1").value;
Does this copy the data you enter in Text1 to Text2?
Then, add a third field ("Text3") and a button with the following MouseUp JavaScript action:
this.getField("Text3").value = this.getField("Text1").value;
Does this work? It actually works for me. To save you some work, here is a link to the test file I've used: http://khkonsulting.com/files/AUC/AndroidTest.pdf -
How to write custom messages to Data Manager package log from within SSIS?
Just wonder in BPC 7.0/7.5 MS how do you write custom messages to Data Manager package log from within SSIS? I mean I want to log output of specific custom tasks (non-BPC) in SSIS control flow to the resultant BPC package log created when running SSIS package in Data Manager. Can this be done in a Script Task or some other way? Not much documentation out there on this.
Thanks,
BrianHi Brian
In order to achieve what you want, it can get tricky in your package, ultimately It would depend on the task, for example if you had an execute SQL task, you could use a RAISEERROR command in your SQL statement and BPC would return the error message that you specified.
If you had other tasks, then it would be a bit more tricky, you would have to have custom messages based on event handlers.
Please see below links for examples :
[Custom messages for logging|http://msdn.microsoft.com/en-us/library/ms345174.aspx]
[Custom Logging Using Event Handlers |http://consultingblogs.emc.com/jamiethomson/archive/2005/06/11/SSIS_3A00_-Custom-Logging-Using-Event-Handlers.aspx]
Hope this helps
Kind Regards
Daniel -
Customer exit for Batch management
Hi experts,
I'm using customer exit for batch management for internal number assignment.
I need the Batch number as i mentioned below
DDMMYYB01
DD-Date
MM-Month
YY-Year
B-Block
01-Number
For this i need to give logic. How to give i'm not getting. This batch number creation will come at the time of GR.
Anybody help me?
NarenHi
Please use the user exit SAPLV01Z as I mentioned in your other thread, please go to SMOD to read its documentstion.
In SMOD, select the 'Documentation' and click 'Display', this will show the overview documentation.
Select the 'Componnet', then ciick the 'Display'. select each component and click 'Documentation Ctrl+F4) this will show the detailed documentation of them.
Best Regards.
Leon. -
Problem in adding Custom Provider for Work Management Service
Hello,
I'm facing an issue in adding custom provider for work management service. As you are aware, Work management service is a Provider model and we
can integrate with other systems by adding custom providers. So with that confidence, i have started writing a connector as mentioned below.
Step - 1: Added new provider xml in the below path
"C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\15\CONFIG\WorkManagementService\Providers"
Provider Name: provider.bizagitasklist
Provider XML Content:
<Provider ProviderKey="DAA52AF3-A147-4086-8C0C-82D2F83A089D" OverrideProviderKey="" Assembly="adidas.TaskProvider, Version=1.0.0.0, Culture=neutral, PublicKeyToken=5d6f3e6be60a351b" > </Provider>
Step -2: Added a class which inherits "IWmaTaskProvider" and implemented the override methods.
public class BizAgiTaskListProvider : IWmaTaskProvider
public string LocalizedProviderName
get { return "BizAgiTaskListProvider"; }
public string ProviderName
get { return "BizAgiTaskListProvider"; }
public Microsoft.Office.Server.WorkManagement.CalloutInfo GetCalloutInfo(IWmaTaskContext context, string taskExternalKey, string locationExternalKey)
return null;
public DashboardExtensionInfo GetDashboardExtensionInfo(IWmaBasicProviderContext context)
return new DashboardExtensionInfo { ClassName = "SP.UI.SharePointExtension" };
public BulkEditResult HandleBulkEdits(IWmaTaskContext context, BulkEdit updates)
return null;
public TaskEditResult HandleTaskEdit(IWmaTaskContext context, BaseAggregatorToProviderTaskUpdate taskUpdate)
return null;
public void RefreshSingleTask(IWmaTaskRefreshContext context, string externalKey)
public void RefreshTasks(IWmaTaskRefreshContext context)
//context.WriteProviderCustomData(
Step – 3: Written a class to fetch the tasks from BizAgi System which has method to provide the task data.
But I’m not able to feed those tasks in the class written in Step – 2 as I’m able to find any method which will take Tasks as Input and I’m not
sure about the format of tasks.
I’m able to debug the provider, and the breakpoint hitting in only one method and two properties.
(LocalizedProviderName, ProviderName, GetDashboardExtensionInfo).
Can you please help me to proceed further in implementing the above solution?
Best Regards
MaheshHi Mahesh,
Although the implementation of work management service application is based on the provider model, I reckon the current SP 2013 RTM does not support custom providers. Only SharePoint task lists, Project server and MS Exchange are supported for now.
Regards,
Yatin -
How to write customer exist for Keyfigure( query )
Hi gurus,
I have to write customer exist for a key figure.
Please tell me how to write it.
Thanks,
JamesPankesh,
SE24 is for defining classes .. are you sure this is for customer exits ?..
Use a formula variable filled by a customer exit... go to TCode CMOD and follow the normal procedure for defining Exits.. look up the forums for detailed steps on how to write an exit..
Arun
Hope it helps... -
No customizing data found for content management profile
Dear All,
When we configured a business role for our call center agent, we copied existing out-of-box role and assigned to user's local own data. When the CRM Web UI was called, the window popped up fine, but there was an error message:
No customizing data found for content management profile
Can anybody advise why this error comes? I checked the content management profile in our system. There are 3 profiles there but I am not sure if any of them is linked to the nav bar profile we defined. Where to define it? How to remove this error message?
Thanks in advance!
LeonHi Leon,
To start with you need to check the details of the Business Role. Goto SPRO>CRM>Business Role-->Define Business Roles
Select your Business Role and click on details, You can check if Role config key, Nav Bar profile, layout profile, Technical profile and PFCG Role ID is properly assigned.
Once you assign the above profiles to business role you then assign Position like for e.g. Sales rep and Employee to the org model in PPOSA_CRM. Then select the position and goto menu bar and click on Goto>Detailed Object>Enchanced object description. Select Business role in the Infotype name and click in create infotype. Assign your business role.
Check logging in after performing the above step. If it doesnt work assign the parameter ID - CRM_UI_FRAME and parameter value - X in the tcode SU01 for the user in CRM. Also assign SAP_ALL role just to make sure if it works.
Hope this helps.
Regards,
Chandrakant -
Customized dashboard for Expense Management
I'm planning to implement customized dashboard for expense management ..it includes displaying the how many expenses are approved or rejected and Display the workload per user/role for “Expense Management
can u please help me outHi gaurav,
Manager's Dashboard provides near-real-time performance metrics, enabling you to monitor plant operations at a glance. These user-selected metrics let you drill-down into supporting enterprise data to quickly understand manufacturing and operational activities throughout your plant. With access to key analytical data, you can then avoid or resolve problems by quickly taking corrective action.
Some of the features and benefits of dashboards are
Revenue Managementu2014provide metrics on future cash receipts and overall revenue performance
Customer Shipment Performanceu2014display fulfillment information
Manufacturing Performanceu2014get data on your manufacturing operations
Inventory Management Effectivenessu2014provide summary information on inventory turns
Supplier Performanceu2014provide summary and detailed information on supplier performance
Cash and Capital Managementu2014display cash flow data
So depending on these you can decide which content your organization wants, as your manager also what are the things he needs everyday for analysis. Also use the concept of MIS and EIS.
Hope it will help.
Reward Point if helpful.
Thanks,
Raja -
Azure API Management Usage Pattern for Enterprise - Grouping APIs
Consider the following scenario:
I have a 100 people in one org with 4 divisions
I create on Azure API Management instance
All 100 people are developing APIs and adding them to this single API management instance
Can I achieve following? If yes, how?
I want to group the APIs by those 4 division. Allow access of APIs only if it is added by people in their division. When I say allow access, basically I mean search the APIs and call the APIs.You can achieve this by using "Groups". First, you need to have a group per division. You can either manually create the groups and add users to them or if you use Azure Active Directory and enable developers to login with AAD to the portal, then
their existing group membership will also be available to use.
Once you have the group set up you need to have a product for each group. You can set the visibility settings of the product so that only members of a given group can see it. Then you can set which APIs the product contains and thus complete the mapping
of groups to APIs. -
Is there a site where they will write javascript for your pdfs that you could pay them to do it.
Hi timothyh,
Adobe doesn't offer those services, but you might try looking here: Planet PDF - The PDF User Community - Debenu.
Best,
Sara -
How to block javascript for custom sites?
Sometimes I need to disallow javascript for some sites only. I can do this in Opera. Is this posible in FireFox?
For example, I don't like the javascript at google.com when I'm searching for images because the images (thumbnails) are increasing size on mouse over. Can I disable javascript for google.com only?There is not a built-in way of doing this, but you can add that capability by using the [https://addons.mozilla.org/firefox/addon/4922/ YesScript] add-on.
-
May 2015 VTS Middleware Track - Resources for the API Management session
Some very cool resources:
Blog
article on "In-depth look into Oracle API Catalog (OAC) 12c": https://technology.amis.nl/2014/11/14/in-depth-look-oracle-api-catalog-oac-12c/
Data
sheet of Oracle API Catalog: http://www.oracle.com/technetwork/middleware/id-mgmt/downloads/oracle-api-catalog-ds-2347229.pdf?ssSourceSiteId=ocomen
Oracle
online documentation about Oracle API Catalog: https://docs.oracle.com/middleware/1213/oac/index.html
Data
sheet of Oracle API Manager: http://www.oracle.com/us/technologies/soa/oracle-api-manager-ds-2421644.pdf
Oracle
online documentation about Oracle API Manager: https://docs.oracle.com/middleware/1213/apimgr/index.html
Oracle
product page about API Management: http://www.oracle.com/us/products/middleware/soa/api-management/overview/index.htmlYou could check the note on MOS Doc ID 1114976.1 it may have what you need.
-
Adding Custom Javascript for disabling metadata field
Hi,
I have a metadata field as option list and based upon its selection i need to enable/disable 2 other metadata fields.
I'm stuck where to include the javascript for the same.Can anyone provide pointers for the same.Hi All,
I 'm able to disable the 2 metadata upon selection of the option list metadata using the following code:
<@dynamichtml std_js_bootstrap_vars@>
<$include super.std_js_bootstrap_vars$>
<$if IsLoggedIn$>
<script type="text/javascript" src="http://code.jquery.com/jquery-1.7.1.min.js"></script>
<script type="text/javascript">
$(document).ready(function(){
$('tr.idcRowClass-xlanguage td select').change(function() {
var selectedVal = $('tr.idcRowClass-xlanguage td select option:selected').val();
if(selectedVal !== "en-US"){
$('tr.idcRowClass-xConvert td select').attr('disabled','disabled');
$('table#Languages-Checkbox tr td input[type=checkbox]').attr('disabled','disabled');
</script>
<$endif$>
<@end@> -
Custom Process Task Adapter for AD OIM 11gR2
Hi,
Has anyone written a Custom Process Task Adpater for AD? We want to update bunch of attributes from a single task adapter and wondering how we can extend the OOTB ones?
- KaushikThats the thing right, we are not able to get the API or appropriate connector classes to get AD Connections and other stuff.
Consider the case where, you update the Manager's DN. How do we write an adapter using connector's api to fetch the dn?
Maybe you are looking for
-
Custom Tag and Attribute Not Found
Hi, I've been getting an error with the following code in a JSP called cardDeclined.jsp... <gwps:log level="ERROR" message="<%= request.getAttribute("errorMessage") %>" />gwps:log is a custom tag and errorMessage is a request attribute set in a servl
-
Exchange/Outlook 2007 and Oracle Calendar Collaboration
Hi Guys! I have a situation here in my incoming migration project. Is it really possible that an Oracle Calendar and Exchange/Outlook 2007 Calendar will collaborate or synchronize with each other? I only know that theres an Oracle Connector for Outlo
-
So I am looking for a good place to find quick silver plugins. What I really looking for it there a plug-in that let me type in itunes then something like "Rate" Then let me rate the current song playing, really quick. I like rating my songs but i do
-
HT1766 I need to restore backup to my new iphone but I don't know my password?
need to restore backup to my new iphone but I don't know my password?
-
Audition CS5.5 ASIO4All
I'm having trouble with CS5.5 with ASIO4All it will only register as 44.1 when the recording is 96. ASIO4All works fine with Audition 3.0 the DAC shows the correct sample rate, but does not in CS5.5. CS5.5 will only allow me to select 44.1 as the sa