Custom ApiApp in LogicApp not showing outputs.
I have a very simple custom API app that I have written that I have integrated into a Logic App, the problem I have is that the Logic app is not displaying any outputs for the api app after wiring up an action.
The ApiApp itself is working fine and calling the action via the swagger UI or directly works as expected. Any idea's where I should start?
Below is the ApiApp swagger.
"swagger": "2.0",
"info": {
"version": "v1",
"title": "Test.Parser.Pos"
"host": "microsoft-apiapp7854774a99cb4c7b88ff49531a169f93.azurewebsites.net",
"schemes": [
"http"
"paths": {
"/api/RedeemedVoucher": {
"post": {
"tags": [
"RedeemedVoucher"
"operationId": "RedeemedVoucher_Post",
"consumes": [
"application/json",
"text/json",
"application/xml",
"text/xml",
"application/x-www-form-urlencoded"
"produces": [
"application/json",
"text/json",
"application/xml",
"text/xml"
"parameters": [
"name": "source",
"in": "body",
"required": true,
"schema": {
"type": "string"
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/RedeemedVoucher"
"deprecated": false
"definitions": {
"RedeemedVoucher": {
"type": "object",
"properties": {
"VoucherId": {
"format": "int32",
"type": "integer"
"WhenRedeemed": {
"format": "date-time",
"type": "string"
"Value": {
"format": "double",
"type": "number"
I'll provide my own answer:
As it currently stands Logic Apps require a "default" response to be defined in the swagger. This is not implemented by default by an API app out of the box, but can be done relatively easily by adding a Swagger OperationFilter.
That is to say in the
public void Apply(Operation operation, SchemaRegistry schemaRegistry, ApiDescription apiDescription)
method of the filter you will need to ensure that the operation.responses dictionary contains an entry keyed with 'default'.
Microsoft's provided connectors contain a reference to a "Microsoft.Azure.BizTalk.Adapters.SwaggerGenerator.dll" contains a OperationFilter that will do this for you if you don't want to write one yourself.
Final note: Having spoken to MS about this issue it is currently under review and will hopefully be resolved in a future version of LogicApps so hopefully this will all disapear.
Edit: Also see http://blogs.msdn.com/b/hosamshobak/archive/2015/03/31/logic-app-with-simple-api-app-with-inputs-and-outputs.aspx
Similar Messages
-
Custom scan box does not show scan button due to my 13" screen. Can't reach it. How do i fix? Thx.
Try increasing the resolution of your screen.
-
CUSTOM ICC PROFILES DO NOT SHOW UP IN PSCS 6 MAC OS 10.8.4 BUT ARE OK IN CS5
The only icc profiles that show up in CS 6 Mac OS 10.8.4 are the ones that are installed from the printer driver ( Epson 9900 ) Any other single or custom profiles do not show up when placed Library/Colorsync/Profiles
All profiles show up in CS 5, There has been a lot of discussion of this on many forums with no solution. I have also tried installing the profiles in the contents folder of the Epson printer in the main library folder with no luck. Please adviseMac OS 10.8.4 is still in beta. You need to be reporting this to Apple.
What happens if you move these profiles to the Adobe/Profiles folder, or the users/Library/Colorsync/Profiles folder?
There has been a lot of discussion of this on many forums with no solution.
What forums? A google search turns up nothing but this thread.
I have not seen this problem with the released versions of 10.8. -
Custom header name does not show in ALV...
Hello Experts,
I am using custom column names for my ALV display but when I display it does not show
the title I specified. For example, one of my columns which is 'AMOUNT' has a custom name
which is 'YTD AMOUNT'. But how come it still shows 'AMOUNT' in my header? I am using
cl_salv_table for my ALV. Below is my code:
TRY.
cl_salv_table=>factory(
EXPORTING
list_display = 'X'
IMPORTING
r_salv_table = lcl_table
CHANGING
t_table = gt_output ).
CATCH cx_salv_msg. "#EC NO_HANDLER
ENDTRY.
lcl_functions = lcl_table->get_functions( ).
* Set all standard ALV functions
lcl_functions->set_all( abap_true ).
lcl_columns = lcl_table->get_columns( ).
lcl_columns->set_optimize( abap_true ).
* Set display to striped pattern
lcl_display = lcl_table->get_display_settings( ).
lcl_display->set_striped_pattern( cl_salv_display_settings=>true ).
*/Set column names
TRY.
lcl_column ?= lcl_columns->get_column( 'DESCRIPT' ).
lcl_column->set_medium_text( text-h01 ).
lcl_column->set_long_text( text-h01 ).
lcl_column->set_output_length( '40' ).
CATCH cx_salv_not_found. "#EC NO_HANDLER
ENDTRY.
TRY.
lcl_column ?= lcl_columns->get_column( 'BUKRS' ).
lcl_column->set_medium_text( text-h02 ).
lcl_column->set_long_text( text-h02 ).
lcl_column->set_output_length( '12' ).
CATCH cx_salv_not_found. "#EC NO_HANDLER
ENDTRY.
TRY.
lcl_column ?= lcl_columns->get_column( 'KHINR' ).
lcl_column->set_medium_text( text-h03 ).
lcl_column->set_long_text( text-h03 ).
lcl_column->set_output_length( '17' ).
CATCH cx_salv_not_found. "#EC NO_HANDLER
ENDTRY.
TRY.
lcl_column ?= lcl_columns->get_column( 'KOSTL' ).
lcl_column->set_medium_text( text-h04 ).
lcl_column->set_long_text( text-h04 ).
lcl_column->set_output_length( '10' ).
CATCH cx_salv_not_found. "#EC NO_HANDLER
ENDTRY.
TRY.
lcl_column ?= lcl_columns->get_column( 'AUART' ).
lcl_column->set_medium_text( text-h05 ).
lcl_column->set_long_text( text-h05 ).
lcl_column->set_output_length( '04' ).
CATCH cx_salv_not_found. "#EC NO_HANDLER
ENDTRY.
TRY.
lcl_column ?= lcl_columns->get_column( 'KTEXT' ).
lcl_column->set_medium_text( text-h06 ).
lcl_column->set_long_text( text-h06 ).
lcl_column->set_output_length( '20' ).
CATCH cx_salv_not_found. "#EC NO_HANDLER
ENDTRY.
TRY.
lcl_column ?= lcl_columns->get_column( 'AUFNR' ).
lcl_column->set_medium_text( text-h07 ).
lcl_column->set_long_text( text-h07 ).
lcl_column->set_output_length( '12' ).
CATCH cx_salv_not_found. "#EC NO_HANDLER
ENDTRY.
TRY.
lcl_column ?= lcl_columns->get_column( 'ACTUAL' ).
lcl_column->set_medium_text( text-h08 ).
lcl_column->set_long_text( text-h08 ).
lcl_column->set_output_length( '10' ).
CATCH cx_salv_not_found. "#EC NO_HANDLER
ENDTRY.
TRY.
lcl_column ?= lcl_columns->get_column( 'COMMIT' ).
lcl_column->set_medium_text( text-h09 ).
lcl_column->set_long_text( text-h09 ).
lcl_column->set_output_length( '10' ).
CATCH cx_salv_not_found. "#EC NO_HANDLER
ENDTRY.
TRY.
lcl_column ?= lcl_columns->get_column( 'TOTAL' ).
lcl_column->set_medium_text( text-h10 ).
lcl_column->set_long_text( text-h10 ).
lcl_column->set_output_length( '10' ).
CATCH cx_salv_not_found. "#EC NO_HANDLER
ENDTRY.
TRY.
lcl_column ?= lcl_columns->get_column( 'BUDGET' ).
lcl_column->set_medium_text( text-h11 ).
lcl_column->set_long_text( text-h11 ).
lcl_column->set_output_length( '15' ).
CATCH cx_salv_not_found. "#EC NO_HANDLER
ENDTRY.
TRY.
lcl_column ?= lcl_columns->get_column( 'AMOUNT' ).
lcl_column->set_medium_text( text-h12 ).
lcl_column->set_long_text( text-h12 ).
lcl_column->set_output_length( '15' ).
CATCH cx_salv_not_found. "#EC NO_HANDLER
ENDTRY.
TRY.
lcl_column ?= lcl_columns->get_column( 'AGE' ).
lcl_column->set_medium_text( text-h13 ).
lcl_column->set_long_text( text-h13 ).
lcl_column->set_output_length( '15' ).
CATCH cx_salv_not_found. "#EC NO_HANDLER
ENDTRY.
*/Set aggregations
TRY.
lcl_aggregations = lcl_table->get_aggregations( ).
CATCH cx_salv_not_found. "#EC NO_HANDLER
ENDTRY.
TRY.
lcl_aggregations->add_aggregation( 'ACTUAL' ).
CATCH cx_salv_not_found cx_salv_data_error cx_salv_existing."#EC NO_HANDLER
ENDTRY.
TRY.
lcl_aggregations->add_aggregation( 'COMMIT' ).
CATCH cx_salv_not_found cx_salv_data_error cx_salv_existing."#EC NO_HANDLER
ENDTRY.
TRY.
lcl_aggregations->add_aggregation( 'TOTAL' ).
CATCH cx_salv_not_found cx_salv_data_error cx_salv_existing."#EC NO_HANDLER
ENDTRY.
TRY.
lcl_aggregations->add_aggregation( 'BUDGET' ).
CATCH cx_salv_not_found cx_salv_data_error cx_salv_existing."#EC NO_HANDLER
ENDTRY.
TRY.
lcl_aggregations->add_aggregation( 'AMOUNT' ).
CATCH cx_salv_not_found cx_salv_data_error cx_salv_existing."#EC NO_HANDLER
ENDTRY.
TRY.
lcl_aggregations->add_aggregation( 'AGE' ).
CATCH cx_salv_not_found cx_salv_data_error cx_salv_existing."#EC NO_HANDLER
ENDTRY.
*/Hide columns
TRY.
lcl_column ?= lcl_columns->get_column( 'SETNAME' ).
lcl_column->set_visible( if_salv_c_bool_sap=>false ).
CATCH cx_salv_not_found. "#EC NO_HANDLER
ENDTRY.
TRY.
lcl_column ?= lcl_columns->get_column( 'TXT' ).
lcl_column->set_visible( if_salv_c_bool_sap=>false ).
CATCH cx_salv_not_found. "#EC NO_HANDLER
ENDTRY.
TRY.
lcl_column ?= lcl_columns->get_column( 'BUDAT1' ).
lcl_column->set_visible( if_salv_c_bool_sap=>false ).
CATCH cx_salv_not_found. "#EC NO_HANDLER
ENDTRY.
TRY.
lcl_column ?= lcl_columns->get_column( 'COMMIT' ).
lcl_column->set_visible( if_salv_c_bool_sap=>false ).
CATCH cx_salv_not_found. "#EC NO_HANDLER
ENDTRY.
TRY.
lcl_column ?= lcl_columns->get_column( 'ACTUAL' ).
lcl_column->set_visible( if_salv_c_bool_sap=>false ).
CATCH cx_salv_not_found. "#EC NO_HANDLER
ENDTRY.
TRY.
lcl_column ?= lcl_columns->get_column( 'BUDAT2' ).
lcl_column->set_visible( if_salv_c_bool_sap=>false ).
CATCH cx_salv_not_found. "#EC NO_HANDLER
ENDTRY.
TRY.
lcl_column ?= lcl_columns->get_column( 'ASTNR' ).
lcl_column->set_visible( if_salv_c_bool_sap=>false ).
CATCH cx_salv_not_found. "#EC NO_HANDLER
ENDTRY.
TRY.
lcl_column ?= lcl_columns->get_column( 'AVAIL' ).
lcl_column->set_visible( if_salv_c_bool_sap=>false ).
CATCH cx_salv_not_found. "#EC NO_HANDLER
ENDTRY.
TRY.
lcl_column ?= lcl_columns->get_column( 'CTRDIV' ).
lcl_column->set_visible( if_salv_c_bool_sap=>false ).
CATCH cx_salv_not_found. "#EC NO_HANDLER
ENDTRY.
TRY.
lcl_column ?= lcl_columns->get_column( 'CTRORD' ).
lcl_column->set_visible( if_salv_c_bool_sap=>false ).
CATCH cx_salv_not_found. "#EC NO_HANDLER
ENDTRY.
lcl_events2 = lcl_table->get_event( ).
CREATE OBJECT lcl_handle_events.
SET HANDLER lcl_handle_events->on_link_click FOR lcl_events2.
SET HANDLER lcl_handle_events->on_top_of_page FOR lcl_events2.
lcl_display_settings = lcl_table->get_display_settings( ).
lcl_table->display( ).
Also, my top of page only display if use LIST display but when I use GRID, it does not show.Thanks anyways...
-
Custom Ribbon tab does not show in generic list
Hi.
I'm deploying the following definiton on a generic list, but the new custom tab does not show up. Anyone that can see what I have done wrong?
Thanks!
<Elements xmlns=”http://schemas.microsoft.com/sharepoint/“>
<CustomAction
Id=”Ribbon.MyTab”
Title=”Adds a new Ribbon tab to Generic List”
RegistrationType=”List”
RegistrationId=”100″
Location=”CommandUI.Ribbon.ListView”
>
<CommandUIExtension>
<CommandUIDefinitions>
<CommandUIDefinition
Location=”Ribbon.Tabs._children”>
<Tab Id=”Ribbon.MyTab” Sequence=”110″ Description=”" Title=”My Tab Name”>
<Scaling Id=”Ribbon.MyTab.Scaling”>
<MaxSize
Id=”Ribbon.MyTab.Scaling.MyGroup.MaxSize”
Sequence=”15″
GroupId=”Ribbon.MyTab.MyGroup”
Size=”LargeMedium”/>
</Scaling>
<Groups Id=”Ribbon.MyTab.Groups”>
<Group
Id=”Ribbon.MyTab.MyGroup”
Sequence=”15″
Description=”"
Title=”My Group Name”
Template=”Ribbon.Templates.MyTab.MyGroup.CustomTemplate”>
<Controls Id=”Ribbon.MyTab.MyGroup.Controls”>
<Button
Id=”Ribbon.MyTab.MyGroup.Button”
Alt=”Ribbon.MyTab.MyGroup.Button”
Command=”Ribbon.MyTab.MyGroup.Button_CMD”
Image16by16=”/_layouts/images/siteIcon.png”
Image32by32=”/_layouts/images/siteIcon.png”
LabelText=”Button”
Sequence=”10″
TemplateAlias=”o1″
ToolTipTitle=”Button”
ToolTipDescription=”Shows a dialog” />
</Controls>
</Group>
</Groups>
</Tab>
</CommandUIDefinition>
<CommandUIDefinition
Location=”Ribbon.Templates._children”>
<GroupTemplate Id=”Ribbon.Templates.MyTab.MyGroup.CustomTemplate”>
<Layout Title=”LargeMedium”>
<OverflowSection Type=”OneRow” TemplateAlias=”o1″ DisplayMode=”Large”/>
<OverflowSection Type=”ThreeRow” TemplateAlias=”o2″ DisplayMode=”Medium”/>
</Layout>
</GroupTemplate>
</CommandUIDefinition>
</CommandUIDefinitions>
<CommandUIHandlers>
<CommandUIHandler
Command=”Ribbon.MyTab.MyGroup.Button_CMD”
CommandAction=”javascript: alert('Hello World');” />
</CommandUIHandlers>
</CommandUIExtension>
</CustomAction>
</Elements>Hello,
I was able to use your custom ribbon tab XML just fine. The only thing is, the copy you provided had a bunch of illegal characters embedded in it (like reverse quotes?), I'm not sure if they're showing up in your version of the XML or not. Anyway,
after replacing those with straight quotes and fixing some other misc formatting, it worked fine. I created an empty SharePoint project and added an empty element, then added your XML to the Element.xml file. In SP, I created a new custom
list and the "My Tab Name" tab appeared with a button that displayed "Hello World" when I clicked it. So, I recommend checking the formatting of your XML. Just look for red squiggles in the editor and fix them.
Regards,
- Kemp Brown [MSFT] -
Custom Inserted HTTP Header not showing up in Iplanet Logs
ALL:
I have some iPlanet Enterprise/6.0 web servers sitting behind a LoadBalancer. The LoadBalancer is setup in an 'one-armed mode', and takes a client HTTP request passes it onto the server, but during this process, changes the client source IP to that of local static IP that the LoadBalancer has. Due to our setup we cannot change this.
By changing the client source IP to a local address, we have lost any useful user session tracking that was done by source IP.
To get around this, I have the LoadBalancer inserting an HTTP header with the client real source IP. Reading the NSAPI Programmer's Guide (Table 7-1 "http://docs.sun.com/source/816-5686-10/07_magnu.htm"), there is an option "%Req->headers.headername%" that can be used with 'flex-int' to log any header value.
My output from snoop looks as follows:
HTTP: ----- HyperText Transfer Protocol -----
HTTP:
HTTP: GET /plugin.do HTTP/1.1
HTTP: OrigClientAddr:10.5.4.28
HTTP: Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, application/x-shockwave-flash, */*
HTTP: Accept-Language: en-us
HTTP: Accept-Encoding: gzip, deflate
HTTP: User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)
HTTP:
I have set the value to "%Req->headers.OrigClientAddr%" and it still does not show up in the log file. Any clues?
Works fine in Apache with:
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{OrigClientAddr}i\" \"%{User-Agent}i\"" headerinsert
CustomLog logs/access_log headerinsertAlways nice to find resolution to one's own question.
Fix was to change the header value to all lower case.
From:
"%Req->headers.OrigClientAddr%"
To:
"%Req->headers.origclientaddr%" -
Hi!
The following procedure does not show the output.
{create or replace procedure GET_USER
(username_in IN VARCHAR2, password_in IN VARCHAR2, first_name OUT VARCHAR2, last_name OUT VARCHAR2)
is
begin
declare cursor c_user(i_username IN users.username%TYPE, i_password IN users.password%TYPE) is
select first_name, last_name
from users
where username_in = i_username
and password_in = i_password;
i_username users.username%TYPE;
i_password users.password%TYPE;
l_first_name users.first_name%TYPE;
l_last_name users.last_name%TYPE;
begin
if c_user%isopen then
close c_user;
end if;
open c_user(i_username, i_password);
fetch c_user into l_first_name, l_last_name;
close c_user;
first_name := l_first_name;
last_name := l_last_name;
end;
end GET_USER;}
Output showing only:
First_name =
Last_name =
Thanks for any help!First of all, you've nested an anonymous block inside your procedure - there is no need to do this.
Second, you don't need to check if the cursor is already open before you open it; it will never be.
So, your code could be rewritten:
create or replace procedure GET_USER (username_in IN VARCHAR2,
password_in IN VARCHAR2,
first_name OUT VARCHAR2,
last_name OUT VARCHAR2)
is
cursor c_user(i_username IN users.username%TYPE,
i_password IN users.password%TYPE)
is
select first_name, last_name
from users
where username_in = i_username
and password_in = i_password;
l_first_name users.first_name%TYPE;
l_last_name users.last_name%TYPE;
begin
open c_user(username_in, password_in);
fetch c_user into l_first_name, l_last_name;
close c_user;
first_name := l_first_name;
last_name := l_last_name;
end GET_USER;
/My guess is that nothing is being returned by your cursor for the specified parameters. Test it out by doing:
create or replace procedure GET_USER (username_in IN VARCHAR2,
password_in IN VARCHAR2,
first_name OUT VARCHAR2,
last_name OUT VARCHAR2)
is
cursor c_user(i_username IN users.username%TYPE,
i_password IN users.password%TYPE)
is
select first_name, last_name
from users
where username_in = i_username
and password_in = i_password;
l_first_name users.first_name%TYPE;
l_last_name users.last_name%TYPE;
begin
open c_user(username_in, password_in);
fetch c_user into l_first_name, l_last_name;
if c_cursor%notfound then
raise no_data_found;
end if;
close c_user;
first_name := l_first_name;
last_name := l_last_name;
end GET_USER;
/That way, if you get a No Data Found error, you'll know there were no matching rows.
Edited by: Boneist on 09-Jul-2009 12:26
Amended as the cursor wasn't being called with the procedure parameters and it should have been.
This is more likely to have been the cause of the error than no matching row in the cursor! -
ECC Customer Ship to party not showing in BP relationship in CRM
Hello Experts,
The sold-to party 1111 and ship-to 100 are downloaded to CRM 6.0 from ECC 6.0
We have maintained this SHIP to PARTY - 100 for a sold-to party 1111 in ECC in the partner function tab in XD02. In this case BDoC got generatedin CRM, it is showing GREEN also, but still the ship-to 100 is not showing in the RELATIONSHIP button of BP - 1111 in CRM.
Please advice what will be the reason? Any note, web blog , any specific settings to be checked?
RegardsHi
Yes, the BDoC type is BUPA_REL and it shows fully processed (showing in GREEN) in CRM system.
But still the relationship (ship-to party) is not shown in RELATIONSHIP for BP in CRM.
Any pointers? -
JPanel custom tooltips in JTree not showing
Hi,
I use a custom TreeCellRenderer in a JTree like
MyTreeCellRenderer extends JPanel implements TreeCellRenderer
The panel contains two JLabels, each with a different tooltip. Although I register the tree, the panel and the two labels with the tootipmanager, no tooltips are showing up. Any idea?
Thanks,
UlrichI'll provide my own answer:
As it currently stands Logic Apps require a "default" response to be defined in the swagger. This is not implemented by default by an API app out of the box, but can be done relatively easily by adding a Swagger OperationFilter.
That is to say in the
public void Apply(Operation operation, SchemaRegistry schemaRegistry, ApiDescription apiDescription)
method of the filter you will need to ensure that the operation.responses dictionary contains an entry keyed with 'default'.
Microsoft's provided connectors contain a reference to a "Microsoft.Azure.BizTalk.Adapters.SwaggerGenerator.dll" contains a OperationFilter that will do this for you if you don't want to write one yourself.
Final note: Having spoken to MS about this issue it is currently under review and will hopefully be resolved in a future version of LogicApps so hopefully this will all disapear.
Edit: Also see http://blogs.msdn.com/b/hosamshobak/archive/2015/03/31/logic-app-with-simple-api-app-with-inputs-and-outputs.aspx -
Custom particle problem, transparency not showing in generated particles?
Using After Effects CS5 and Trapcode Particular:
I want to use a custom particle for the generated particles.
So I have imported a .gif image of a pollen grain, which have a transparent backround.
The transparency does not automagically show after the import, but I have found (via web) that I can
select the imported gif in After Effects and do the following:
Effects>Keying>Color Key and then use the eye dropper to key out the color I want to be transparent?
Then the imported image show transparency where it should (more or less), but the generated particles still show the white background instead of the newly added transparency... how do I make it so the transparency in the imported image, is visible in the generated particles?
I also probably want to get some better 3D look to the particles, so I'm considering buying a 3D model of a pollen grain.
What 3D fileformats are supported out of the box to be used with AE and Trapcode Particular and is there something in particular I should
aware of when buying such files?
how do I make it so the transparency in the imported image, is visible in the generated particles?
Pre-compose the keyed layer.
What 3D fileformats are supported out of the box to be used with AE and Trapcode Particular
There are none. Neither AE nor Particular support 3D geometry.
Mylenium -
Custom ribbon button does not show for a Tasks list
I created a simple app using Visual Studio 2012 to add a custom ribbon button for a tasks list. After deploying the app to the SharePoint online, the button does not appear on the ribbon. The exact same button gets displayed properly
when added to the ribbon for a custom list. The elements file with the location of the button gets generated, so I can't imagine it would be wrong, but just in case, this is what I have:
<CustomAction Location="CommandUI.Ribbon"....
<CommandUIDefinition Location="Ribbon.ListItem.Actions.Controls._children">...
Any help is greatly appreciated.
One more thing, if I add this button using SharePoint Designer 2013, the button does not get displayed either. I have a feeling it might be problem with the Tasks list?
ThanksHi Danny,
The button needs to be displayed only for one specific list. And as I mentioned, the elements file for the ribbon button was generated by VS, here is the content:
<Elements xmlns="http://schemas.microsoft.com/sharepoint/">
<CustomAction Id="02aa4c3b-bb73-4dfa-989c-d63a9591dcee.RibbonCustomAction" RegistrationType="List" RegistrationId="{$ListId:Lists/Projects;}" Location="CommandUI.Ribbon" Sequence="10001" Title="Create Project Site">
<CommandUIExtension>
<CommandUIDefinitions>
<CommandUIDefinition Location="Ribbon.ListItem.Actions.Controls._children">
<Button Id="Ribbon.ListItem.Actions.RibbonCustomActionButton" Alt="Create Project Site" Sequence="100" Command="Invoke_RibbonCustomActionButtonRequest" LabelText="Create Project Site" TemplateAlias="o1" Image32by32="_layouts/15/images/placeholder32x32.png" Image16by16="_layouts/15/images/placeholder16x16.png" />
</CommandUIDefinition>
</CommandUIDefinitions>
<CommandUIHandlers>
<CommandUIHandler Command="Invoke_RibbonCustomActionButtonRequest" CommandAction="~remoteAppUrl/Pages/Default.aspx?{StandardTokens}&SPListItemId={ItemId}&SPListId={ListId}"/>
</CommandUIHandlers>
</CommandUIExtension >
</CustomAction>
</Elements>
If the same button is added for a custom (not a Tasks) list, the button shows up fine.
Thanks -
Customer Account Statement Does not show SAP document number
Hello,
I want to have the SAP-document number on a customer-statement printed with report RFKORD11. I changed the used form now multiple times without success. If I enter the BSID-BELNR as an output parameter the system always gives me BSID-XBLNR what makes no sense to me!
If I look into the table the field is maintained correctly and I really have no idea why the system is always taking the XBLNR-content. If it output XBLNR I am getting the XBLNR-content but not the other way round...
Maybe it is a stupid problem but I have no idea why it works that way and I need the SAP-document number printed on the customer-statement. The other table RF140 does not offer me the document-number as a field.
Thanks in advance for all hints and solutions!
Regards,
SteffenHello Steffen,
It seems to be that the field XBLNR is blank.
This behaviour is of SAP standard design. It is the standard logic hard coded into the relevant program itself, see include RFKORI16 in SE38 for customer open items:
IF BSID-XBLNR IS INITIAL.
MOVE BSID-BELNR TO RF140-BELEGNUM.
ELSE.
MOVE BSID-XBLNR TO RF140-BELEGNUM.
ENDIF.
If you look at the description of the field RF140-BELEGNUM structure using transaction SE11 it is clearly mentioned that "Ref.Document Number, if available, otherwise Document Number".
The only other option you would have would be to consider a modification of the standard.
I hope it helped you
Best Regards,
Vanessa. -
X2-4 and X3-2: start /SP/console -f not showing output
Hi all
I've successfully installed a couple of X3-2 and X2-4 servers at a customer site. I used the ILOM web interface to access the console whilst on site.
Now that I am not on site I need to use the ILOM cli method. The reason for this is because the bandwidth is too low to allow efficient use of the web interface.
I attempted to start the console session by typing: start /SP/console -f
I get the following output:
-> start /SP/console -f
Are you sure you want to start /SP/console (y/n)? y
Serial console started. To stop, type ESC (
No output is displayed after that until I stop/exit. I need to be able to work on the OS to make network changes so I cannot do it via ssh to the OS.
The OS version is:
Oracle Solaris 10 8/11 s10x_u10wos_17b X86
Assistance with this would be highly appreciated.
Regards
Dean
Edited by: 851956 on 23-Nov-2012 04:49Hi.
/SP/console can work only at text mode, but when solaris start on x86 systems use graphics mode for output.
So you can use only WEB interface for redirections.
On support.oracle.com doc: ID 1325578.1 describe step by step procedure for
"Sun x64 Servers: How to change OS console login to output through ILOM's start /SP/console"
It just need run command "eeprom console=ttya" and reboot you system.
But after this you can't use general keyboard and monitor as console. Only /SP/console.
Regards. -
Hello Geeks,
I found this ps script online this is reading sql server information from registered keys but its not displaying anything as output can someone please help me how to find its output
Any help highly appreciated !!
try {add-type -AssemblyName "Microsoft.SqlServer.SqlWmiManagement, Version=10.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91" -EA Stop}
catch {add-type -AssemblyName "Microsoft.SqlServer.SqlWmiManagement"}
<#
.SYNOPSIS
Gets SQL Server WMI information.
.DESCRIPTION
The Get-SqlWmi function gets port, instance and service account wmi information for all SQL instances on a computer.
.EXAMPLE
Get-SqlWmi "Z002"
This command gets information for computername Z002.
.NOTES
Version History
v1.0 - Chad Miller - Initial release
#>
function Get-SqlWmi
[CmdletBinding()]
param(
[Parameter(Mandatory=$true,ValueFromPipeline=$true,ValueFromPipelineByPropertyName=$true)]
[ValidateNotNullorEmpty()]
[string[]]$ComputerName
#Microsoft.SqlServer.Management.Smo.Wmi.ManagedComputer only works on SQL 2005 and higher. If we fail to gather info at least output
#null values and computername for 2000 servers in catch block
BEGIN {}
PROCESS {
foreach ($computer in $computername) {
try {
$wmi = new-object "Microsoft.SqlServer.Management.Smo.Wmi.ManagedComputer" $Computer -ErrorAction 'Stop'
$ht = @{}
$wmi.Services| where {$_.Type -eq 'SqlServer'} | foreach {$instance = $_.PathName -replace '".+"\s{1}-s',""; $ht.Add($instance,$_.ServiceAccount)}
$wmi.ServerInstances | foreach {
new-object psobject -property @{
ComputerName=$Computer;
Port=$_.ServerProtocols["Tcp"].IPAddresses["IPAll"].IPAddressProperties["TcpPort"].Value;
AccountName=$ht[$_.Name];
Instance=$_.Name }
catch {
#SQL Server 2000 Does not support the WMI.ManagedComputer class. Try and use SQL-DMO
try {
$dmoServer = New-Object -comobject "SQLDMO.SQLServer"
$dmoServer.loginsecure = $true
$instances = $dmoServer.ListInstalledInstances($computer) | foreach {($_) }
$dmoServer = $null
#Clustered server will list server1\instance1 and server2\instance2
#Filter so just server1 is listed
$instances | where { $_ -like "$computer*"} |
foreach {
$dmoServer = New-Object -comobject "SQLDMO.SQLServer"
$dmoServer.loginsecure = $true
$dmoServer.connect($_)
new-object psobject -property @{
ComputerName=$Computer;
Port=$dmoServer.registry.tcpport;
AccountName=$dmoServer.StartupAccount;
Instance = $dmoServer.ServiceName -replace 'MSSQL\$',''
$dmoServer.close()
$dmoServer = $null
catch {
new-object psobject -property @{ComputerName=$Computer;Port=$null;AccountName=$null;Instance=$null}
END {}
} #Get-SqlWmi
Get-SqlWmi "Servername" >> c:\support\test.txtFirst thing to do is import the SQL PS module
Import-Module "SQLPS" -DisableNameChecking
Then run the file, this is the output (it's not very much)
PS SQLSERVER:\> S:\Get-SqlWmi.ps1
Port Instance ComputerName AccountName
1433 MSSQLSERVER SQL1 NT Service\MSSQLSERVER
This is what it really looks like: -
Xcode - Not Showing Output / Printing To Screen
I created a hello world project & it wont show any output at the bottom of the window and I even can't stop running it (although it didn't show any output). Please help me to solve.
I uninstalled & reinstalled it however the error still persists
As you can see in the screenshot, it says the program is running and i just can't get any output from the debugger area. What's more, I can't stop it by pressing the stop button.These are the two screens I followed to create the project
I have created new projects, cleaned projects. I have reinstalled Xcode twice & I have even installed Xcode 4.6 & the problem still exists. I used the same Xcode 4.6 dmg file to install it on a friends computer & output can be created on his.
I currently have OS X Mavericks installed. I didnt use Xcode before I had Mavericks so I dont know if the problem existed before I installed Mavericks. Do you think this is creating the bug?
Maybe you are looking for
-
Can no longer playing my own podcasts with QuickTime on Mac.
When checking my latest Garage Band podcast, I got ? in Q with message to download latest QuickTime. I did that but still get ? in Q. I can play my podcasts on PC with QuickTime in Windows XP, but not on my Mac. My 2GHz Macbook is new and has no addi
-
How to align text in boolean pushbutton
Okay, this is about as simple a question as one can post on here and MAN do I feel stupid asking this...but, here goes! I have a boolean pushbutton and I want to move the button text towards the left. My problem is I'm having a heck of a time grabb
-
Need to truly download music (not stream) from iCloud
So from everything I have observed since updating to ios6, and I have read, you can stream your songs from iCloud to your ios6 device, and they then appear to be "downloaded" from that point, but if I want to truly download an album or artist, say be
-
Getting problem with the FM IDOC_WRITE_AND_START_INBOUND
Hi , I have scenarios like, I am downloading the Idoc into the local file from one system and uploading into the different system. After upload, I am posting the Idoc witht he subject FM. I am creating the Inbound Idoc with the FM IDOC_WRITE_AND_STAR
-
DPS HTML to activate multi state object
Is there a way to have an HTML asset placed in a DPS folio, to activate a specific state of a multi state object?