Using Web API and MVC to connect to CRM and ADFS
Hi,
I'm struggling trying to find best point start for a migration project.
I have a web forms application that connects to CRM 2011 (Azure VM, Windows Server 2008 R2) using ADFS 2.1 (Azure VM, Windows Server 2012) for CRUD operations.
An external developer has build the front end in AngularJS, so we have decided to migrate the project to MVC framework for the integration simplicity over web forms.
Can you confirm if this is right?
1. Should I use Web API as I'll be querying CRM?
2. Should I have an MVC project as I need to authenticate against ADFS 2.1?
3. If one answer of the above questions is NO, can I develop just an MVC or Web API project to achieve what I want?
This forum supports setup of the .NET Framework itself.
For best help with your MVC questions, I suggest you post here:
http://forums.asp.net/1146.aspx/1?MVC
Similar Messages
-
Problem with creating a new Siebel account using Web Service and ADF
Problem solved.
Edited by: noah.fang on Mar 15, 2011 3:45 PM<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by phil housley ([email protected]):
<HR></BLOCKQUOTE>
sorry this is first time I tried to reply on this group
The USER is SYSTEM and there is no real password when first installed. However you do need to type something in the password field . This can be anything if you have not added a password.
Phil
null -
Problem when using WEB.SHOW_DOCUMENT and passing in lexical parameter
Hi,
I got a blank page with error "An error has occured while trying to use this document" when I tried to use web.show_document and passing a lexical parameter to 10g report on 10gAS. The URL in the web.show_document is:
http://<srvname>:<portnum>/reports/rwservlet?server=repserver90&report=myrpt.rdf&destype=Cache&desformat=pdf&userid=<usr>/<pw>@<db>&where_clause=where%20product_type%20in%20('REPORT')
If I change the desformat to htmlcss, it is fine to display the report. But doesn't work with desformat=pdf. The pdf file has been generated in the cache. Why can't it display on the screen.
Also I tried to use double quote the value for where_clause. The pdf report showed up. But it ignored the where clause.
Experts please help.
YingI use lexical parameters and they work fine, but I use a parameter list. The code is contained in a form that is called by all forms that wish to run a report. This way you only need the logic for printing in a single form. If you want the form, email me at [email protected]
-
Hide Label step icon using Testand API and LabVIEW
Hi,
can anyone tell me how it is possible to hide the icon of a label step using Testand API and LabVIEW?
In the Teststand Sequence Editor, on the Label Edit Tab there is a Checkbox called "Hide Icon". Is there something similar in the API?
Thanks
Solved!
Go to Solution.Yes you can, you will have to set the IconName property of the step to "ni_blank.ico"
-
I have started getting the dreaded drop down box wanting my password this keeps repeating itself, I have spent hours on the phone, apple support keep blaming bt internet who have checked my connections and they are ok I am running version 10.7.4 can get web mail and mail on my I pod is fine any help would be much appreciated but in simple to understand terms thanks.
What application are you in when this happens?
-
Use Web API url for loading an external image in a report
Hi there,
I am trying to host an image in a report, which is coming out of a Web API. I am able access the image through a URL in a browser:
https://companytest.com/api/TestFormImage?id=10358&EntityId=6719&imgMetadataName=TestDiagram
Can anyone please help me how to include this in a report ? I have tried to include this as an external image with the URL embedded as a string like:
=string.Format("https://companytest.com/api/TestFormImage?id=10358&EntityId=6719&imgMetadataName=TestDiagram")
NOTE: the output of the Web API is an image of MIME type PNG.
Thanks in advance!
Regards, LaksTo add an external image
In report design view, on the Insert tab, click Image.
On the design surface, click and then drag a box to the desired size of the image.
On the General tab of the Image Properties dialog box, type a name in the
Name text box or accept the default.
(Optional) In the Tooltip text box, type text to display when the user hovers over the image in a report rendered for HTML.
In Select the image source, select External.
For an image on a report server in native mode, type a relative path to the image in the
Use this image box—for example, ../images/image1.jpg.
For an image on a report server in SharePoint integrated mode, or any other Web site, type a full URL to the image in the
Use this image box—for example, http://<SharePointservername>/<site>/Documents/images/image1.jpg.
For more information, see Specifying Paths to External Items (Report Builder and SSRS).
(Optional) Click Size, Visibility, Action, or
Border to set additional properties for the image report item.
Click OK.
Andy Tauber
Data Architect
The Vancouver Clinic
Website | LinkedIn
This posting is provided "AS IS" with no warranties, and confers no rights. Please remember to click
"Mark as Answer" and "Vote as Helpful" on posts that help you. This can be beneficial to other community members reading the thread. -
To generate PDF using BI APIs and loadjava utility
Hi All,
I am trying to generate PDF using BI APIs(FOProcessor etc).
I have generated XML data through the PL/SQl procedure and storing it in a file. This file is loacted in database tier.
The APIs is used through a simple java program which is application tier. To test the process, I had to manually provide the XML file to the java class in order to generate PDF and it does generate.
Now the issue is I need to load the java class to the database so that everything gets automated(loadjava utlility).
when i try to do it, it give no class found error.
Do I need to load the referenced classes in the java file , that is, FOProcessor,RTFProcessor,FOUtility,jdbc.driver.OracleDriver as well?
If the above is not possible, is it possible to reference a file in database tier from application tier so that i can use the XML file as input the java class in application tier.
thanks,
SrikThe only reason I am responding to this post is because the poster sent me a request through the forum message system asking for my help.
Although I did populate PDFs with FDF data generated by web forms a year or so ago, I have since abandoned that kind of solution. It was a big headache. I found it far more stable and flexible to use html, php and css to populate forms that are almost as nice looking as PDFs.
So my advice is, if you can possibly avoid going the FDF/PDF route, you will be better off. -
SSL error using Neutron API and CLI directly on controller nodes
VIO 1.0 + NSX + vSphere 6.0
I am trying to execute the following segment of code:
139 credentials = get_credentials()
140 neutron = client.Client('2.0',
141 username=credentials['username'],
142 password=credentials['password'],
143 auth_url=credentials['auth_url'],
144 tenant_name=credentials['tenant_name'],
145 endpoint_url=credentials['url'],
146 token=credentials['token'],
147 insecure=True)
148 response = neutron.list_ports()
When I run the Python script, it errors out with the following:
Traceback (most recent call last):
File "getMACAddr.py", line 148, in <module>
response = neutron.list_ports()
File "/usr/lib/python2.7/dist-packages/neutronclient/v2_0/client.py", line 111, in with_params
ret = self.function(instance, *args, **kwargs)
File "/usr/lib/python2.7/dist-packages/neutronclient/v2_0/client.py", line 306, in list_ports
**_params)
File "/usr/lib/python2.7/dist-packages/neutronclient/v2_0/client.py", line 1250, in list
for r in self._pagination(collection, path, **params):
File "/usr/lib/python2.7/dist-packages/neutronclient/v2_0/client.py", line 1263, in _pagination
res = self.get(path, params=params)
File "/usr/lib/python2.7/dist-packages/neutronclient/v2_0/client.py", line 1236, in get
headers=headers, params=params)
File "/usr/lib/python2.7/dist-packages/neutronclient/v2_0/client.py", line 1221, in retry_request
headers=headers, params=params)
File "/usr/lib/python2.7/dist-packages/neutronclient/v2_0/client.py", line 1156, in do_request
resp, replybody = self.httpclient.do_request(action, method, body=body)
File "/usr/lib/python2.7/dist-packages/neutronclient/client.py", line 192, in do_request
**kwargs)
File "/usr/lib/python2.7/dist-packages/neutronclient/client.py", line 148, in _cs_request
raise exceptions.SslCertificateValidationError(reason=e)
neutronclient.common.exceptions.SslCertificateValidationError: SSL certificate validation has failed: [Errno 1] _ssl.c:510: error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol
The /var/log/neutron/server.log file has the following corresponding entry for when the script tries to make the connection:
2015-04-11 07:17:31.941 2096 INFO neutron.wsgi [-] (2096) accepted ('10.27.16.164', 34495)
When I run the CLI from the same controller node, I get the error with or without the —insecure flag:
root@controller02:/tmp# neutron port-list
SSL certificate validation has failed: [Errno 1] _ssl.c:510: error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol
root@controller02:/tmp# neutron --insecure port-list
SSL certificate validation has failed: [Errno 1] _ssl.c:510: error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol
If I run the neutron CLI command from my local Macbook Pro, it works just fine. That leads me to believe it is a communication error when the controller node tries to talk to itself. I have tried setting the OS_AUTH_URL and OS_URL to both the localhost IP and the 10-network IP address -- both result in the same error.
Any ideas?
ChrisHello Chris,
Thanks for checking out VMware Integrated OpenStack and for sharing your concern.
By default, VMware Integrated OpenStack uses a self-signed certificate, which will require the use of the OS_CACERT environment variable in your openrc file and when using the API.
The better way to resolve this is to use a CA-signed certificate. Fortunately, VMware Integrated OpenStack makes the CSR generation and signed certificate import process very easy.
If this is production, of course, use a trusted Root CA. If this is a Dev Lab, you can generate your own Root CA certificate and use it for testing.
I wrote up a quick blog post on how to do this.
Let us know if you have any further questions.
Regards,
Trevor -
Using DI API, getting error when connecting to database:
The server is 2003. The sqlserver is 2005.
We have a button that calles the DIapi function Connect(). He gets the following error: [Microsoft][ODBC SQL Server Driver][SQL Server]Conversion failed when converting the nvarchar value 'N' to data type int.
We then tried to connect into another database in SAP we got the following error:
1).[Microsoft][ODBC SQL Server Driver][SQL Server]Conversion failed when converting the nvarchar value 'UDOXX_Contract to data type int.
There is a user-defined object called 'UDOXX_Contract', but our Add-On does not use any user-defined data object, so that must be from another add-on. I really dont know anything about these user-defined objects. Anyone have any idea what can be causing this problem, or what i can look at concerning this?
thanks
BillHi Bill,
I am not sure why it is giving you the error messages and I have never seen these errors before. What you can possibly try is to see what SQL statements it is trying to execute. You can accomplish this with the SQL Profiler.
Are you sure you're connecting correctly? Please post your code for the connection here.
Hope it helps,
Adele -
Yes, new web-developer all-in-one tools are total mess.
I didn't find the answer to this question either https://support.mozilla.org/en-US/questions/955612 but downgrade to Firefox 19.
But nor in Nightly, nor in Aurora, nor in Firefox Beta, nor in Firefox 20.0 I can use simultaneously web-console (where I test some style changing javascript code) and element inspector (where I instantly observe a reaction to my code). The only option I see is to switch every three seconds between them. How can I fix this except downgrading?You can consider to use the DOM Inspector extension instead of the built-in Inspector.
*DOM Inspector: https://addons.mozilla.org/firefox/addon/dom-inspector-6622/ -
API to generate password using Siteminder API and the password policy
Is there any API in siteminder to generate a password using the Password policies defined ?
Hello Jim,
The way you are going about your coding sounds correct. Per your second question, MAX installs when you update the computer drivers. To do this go to ni.com/drivers, search for DAQmx, and then download the most current version of DAQmx that is compatible with your computers. By installing a newer version of DAQmx MAX will automatically be updated.
Regards,
Marcus
Marcus M.
PXI Product Support Engineer
National Instruments -
Cant get email but can when I use web mail and then sync
I casn send but cannot receive mail on my mac. However if I go to webmail with my ISP and then sync i can receive mail. What could cause this?
Check your incoming server entries. Your outgoing server seems to be working.
-
Tried posting this on the Mapviewer board, but that group is d-e-a-d.....
I'm trying to build an ADF application using JDeveloper around the Oracle Maps API.
I don't have a lot of experience with either, so this is probably an easy one.
Does anyone have an example of using a panelStretchLayout with the div that contains the map? I've been fighting for several hours trying to get a map that auto stretches when the user expands the browser window. I tried putting the div that contains the map in a panelGroupLayout, but I can't seem to get the map to resize when the browser resizes. I've read the rules about when a panelGroupLayout is strechable, and when it isn't.
Is there a best practices for this? Seems like anyone building an ADF app around the Maps API would need this.
As always, thanks for the helpHi !
I came accross this tutorial in Oracle website.
http://www.oracle.com/technology/obe/obe11jdev/11/dvt/gant_chart_pivot_table.htm
In my case I could not make the adding a map part work and got geoencoder connection error but maybe I am missing a point which you may solve.
Hope it may help. -
Web services and ADF 11g- get Result from backing bean
I'm executing an action from backing bean (call Web service that returns complex data types)
BindingContainer bindings = getBindings();
OperationBinding operationBinding = bindings.getOperationBinding("unesiPonudu");
Object result = operationBinding.execute();
result is instance of oracle.adf.model.adapter.dataformat.XMLHandler$DataCollection but DataCollection is not accessible.
How to get results from method?
Tnx,
AndrejaHi,
there should be a result iterator in the Executables section which cotnains the result. If not, create it from the WS result entry in the DC palette. Once this iterator gets updated, you get the data from this iterator as it would be the case of a table accesses the WS
Frank -
Hi all,
I'm facing serious problems after the migration from jdev 11.1.1.0 version to new release 11.1.1.1.0, as i published with a sample at
Problems with create new record o in JDev 11 R1
is this a big bug in the ide? Should i return to previous version?
Thanks in advance
EnriqueHi,
my best recommendation is to work with customer supports in this testcase.
Frank
Maybe you are looking for
-
HT3180 Apple tv does not work since software update
Proceeded wtih software update and now there is a blank screen and apple tv also does not work from ipad mirroring
-
This problem has only appeared in the past few days before that I had nio problems with itunes. Firstly I discovered that I could only open Itunes once after reboot - thereafter it would not reopen until I reboot again. I have spent considerable h
-
Why is the connectionUri different in WSManConnectionInfo object for exchange and windows?
For exchange the connection uri used is : 'http://machineName/powershell' The WSManConnectionInfo object is created in the following way: WSManConnectionInfo connectionInfo = new WSManConnectionInfo(new Uri("http://machineName/powershell"), "http:/
-
Hi All, I have a date char in my cube named activity date (ZACTDT). i need to pick up all items with activity date equal to the report run date. how to achieve this in bex. any suggestions would be great.
-
How do I stop the organizer in Photoshop Elements 9 from closing?
I purchased Adobe Photoshop and Premeire Elements 9 two years ago. The organizer would never stay open long enough for me to do anything with it. I figured it was just my computer which had been having issues. I installed it on my new computer thi