This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

DEVELOPERS FORUM - TOC View .aspx integration

muthu - Thursday, July 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  fol der.

Options:

1. Use TOC View feature.

Go to AdministrationItemTypes 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

 



SamsAn - Friday, July 10, 2009 1:08 AM:

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


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



muthu - Friday, July 10, 2009 2:48 AM:

Have Changed path but now am getting this error..

 

Can you help for me.

--

With Regards,

Muthu G



PeterSchroer - Friday, July 10, 2009 8:23 AM:

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



muthug - Tuesday, July 14, 2009 7:25 AM:

Thank you for immediate response.

 

With Regards,

Muthu

BayState Infotech



edmoreira - Wednesday, February 1, 2012 1:36 PM:

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();