TOC View .aspx integration

rated by 0 users
This post has 5 Replies | 4 Followers

Top 500 Contributor
Posts 3
Points 60
muthu Posted: Thu, Jul 9 2009 10:39 AM

I have developed application in .Net framework3.5  for integration with Aras Have followed this procedure.

"Create myWebpage.aspx with appropriate text boxes and a button and put into

C:/Aras/Innovator/Client/Solutions  folder.

Options:

1. Use TOC View feature.

Go to Administration\ItemTypes in TOC, create new ItemType(name=ArasTest).

 

Give TOC Access for World. Go to TOC View tab of the form, pick World identity,

set start_page like  "../Solutions/myWebpage.aspx". Save the ItemType.

 

Now you click ToDisplayInTOC in Main Tree (TOC) and see you html instead of standard items grid frame."

 

This is the problem i am getting

 



I have followed those steps,you can see the screen shots of my progress .

 

Can you give solution for this problem....

 

Thanks in advance.

With regards,

Muthu G

Bay State India

 

Top 10 Contributor
Posts 178
Points 1,240
SamsAn replied on Fri, Jul 10 2009 1:08 AM

At the third picture you setup "..\Solutions\ArasTest.aspx", but should be ../Solutions/ArasTest.aspx


SamsAn.
Original Mind Any Level Innovator Solutions Free-Lancer, http://sites.google.com/site/caraacc

  • | Post Points: 5
Top 500 Contributor
Posts 3
Points 60
muthu replied on Fri, Jul 10 2009 2:48 AM

Have Changed path but now am getting this error..

 

Can you help for me.

--

With Regards,

Muthu G

Top 10 Contributor
Posts 154
Points 5,705

Muthu,

The path that you specify on the itemType TOC View tab,  is relative to the     ../client/scripts   folder.      I would try 2 tests to build some confidence in the URL and the TOC view    (1)   use   http://www.google.com     as the TOV View URL and see if Google is displayed in the window   then  (2) use an absolute URL to your page.      Once you have seen that both of these work,  then you need work on getting the correct relsative URL for your page (this will make your solution portable to other servers).

I have one similar HTML page that I have stored in     /client/customer/scripts.    the  URL on the TOC view is then:   ../customer/scripts/sales_manager.html    i.e.   up one folder, then down into Customer.  

I think your URL  would begin with     ../Solutions/           meaning up one folder above Scripts (the default location) and then down into Solutions.

Peter

Peter Schroer Aras Corp pschroer@aras.com
  • | Post Points: 35
Not Ranked
Posts 1
Points 5
muthug replied on Tue, Jul 14 2009 7:25 AM

Thank you for immediate response.

 

With Regards,

Muthu

BayState Infotech

  • | Post Points: 5
Not Ranked
Posts 1
Points 5

Peter,

I have created a custom page associated on TOC View from my Item Type and the page is working fine, however I can get objects from Aras database only using Java Script. I would like to know how can I get objects using C#.

My page has the following at the beginning::

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<!-- (c) Copyright by Aras Corporation, 2008-2011. -->

<%@ Page Language="C#" Debug="true" %>
<%@ Import Namespace="Aras.Server.Core" %>
<%@ Import Namespace="Aras.IOM" %>
<%@ Import Namespace="System" %>

//the following line fails.....

Innovator myInnovator = this.getInnovator();

  • | Post Points: 5
Page 1 of 1 (6 items) | RSS