Skip to content

Conversation

@thomas0087
Copy link

@thomas0087 thomas0087 commented Aug 15, 2016

The Dynamics server we are interacting with has some custom methods that don't conform to the same format as the execute_request method uses. This PR adds the ability to exclude the action name from the request tag.

The specs seem to be failing because psavtest.crm.powerobjects.net doesn't resolve.

@thomas0087 thomas0087 force-pushed the execute-simple-action-tag branch 2 times, most recently from a0b5b91 to 4acfa64 Compare August 15, 2016 04:42
@jheth
Copy link
Contributor

jheth commented Sep 22, 2016

Thanks @thomas0087 . I'll check out the test issue and get back to you. Can you give me some details on the Dynamics server? What version? Is it hosted or on-premise?

@thomas0087
Copy link
Author

Hi @jheth, It's an on-premise hosted server, here are the version details crm version details

@jheth
Copy link
Contributor

jheth commented Nov 5, 2016

@thomas0087 Can you re-base to see if the build issue is resolved?

ns_alias = 'a'
end

action_tag = (include_action ? %Q{<request i:type="#{ns_alias}:#{action}Request" xmlns:a="http://schemas.microsoft.com/xrm/2011/Contracts" xmlns:b="http://schemas.microsoft.com/crm/2011/Contracts">} : '<request xmlns:a="http://schemas.microsoft.com/xrm/2011/Contracts">')
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you make this a regular if/else, the line length runs off the page.

@thomas0087 thomas0087 force-pushed the execute-simple-action-tag branch from 4acfa64 to 57d4325 Compare November 6, 2016 22:28
@thomas0087
Copy link
Author

Hi @jheth, I've split the if statement and the specs are all green after the rebase 😀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants