cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Learn all about the Community Ranking System, a fun gamification element of the PTC Community. X

How to Navigate ASP.NET webpages to Thingworx dashboards. Is it possible?

sdaram-2
2-Explorer

How to Navigate ASP.NET webpages to Thingworx dashboards. Is it possible?

I have web application which developed by using ASP.NET . I want to navigate from .NET web pages to Thingworx dashboard. is there any possibility to do that.

3 REPLIES 3
supandey
19-Tanzanite
(To:sdaram-2)

Hi Spandhana, if the question is just about navigating you could use the URL to the Mashup that contains the dashboard for navigating. Something like this http://<serverName>:8080/Thingworx/Runtime/index.html#mashup=DefaultMashupToEditGadget

Have you already tried that?

jgorsline
12-Amethyst
(To:sdaram-2)

Spandhana,

Any update on this? Was Sushant Pandey's post helpful? If so, could you click on the "correct answer" or "mark as helpful" button and let us know?

My Issue Got Resolved. I am able to Display Thingworx Mashup in Iframe Control of my Webpage.

Steps I have done

1) I have followed below step mentioned in Release notes.

Description

Required Steps

Remove all clickjacking protection

  1. a. Locate the following section of code in the web.xml and comment it out:
  2. b. <!-- use the SameOrigin version to allow your
  3. c. application to frame, but nobody else -->
  4. d. <filter-mapping>
  5. e.                                                                               <filter-name>ClickjackFilterSameOrigin</filter-name>
  6. f.                                                                               <url-pattern>/*</url-pattern>
                 </filter-mapping>

Currently i am using Thingworx 7.3

2)

<iframe id="if1" width="500" height="390" style="visibility:visible" src="http://localhost:8080/Thingworx/Mashups/PGCGraph? appKey=0f4b4662-7d09-46c3-a766-bbbcfa73ad99&x-thingworx-session=true"></iframe>

Mashup URL I am giving like this

http://localhost:8080/Thingworx/Mashups/PGCGraph? appKey=0f4b4662-7d09-46c3-a766-bbbcfa73ad99&x-thingworx-session=true

here PGCGraph is Mashup Name.

I have Created User (Example:User123) and I Have created Appkey( 0f4b4662-7d09-46c3-a766-bbbcfa73ad99) and assigned created user (User123 to appkey.)

3)For Mashup i have assigned user in Design Time and Run time Permission.

With above steps i am able to get my mashup in iframe.

Thanks

Spandhana Daram

Announcements


Top Tags