# SUBCISPAGE2

**URL:** <https://techcommunity.softwareag.com/t/subcispage2/100873>\
**Category:** Forum\
**Tags:** Adabas-Natural, Natural, NaturalONE, NaturalONE-Full-Edition\
**Created:** [July 2, 2012, 9:57pm UTC](https://techcommunity.softwareag.com/t/subcispage2/100873 "2012-07-02T21:57:48Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Marisel](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/marisel/32/449_2.png) [@Marisel](https://techcommunity.softwareag.com/u/Marisel)\
**Post date:** [July 2, 2012, 9:57pm UTC](https://techcommunity.softwareag.com/t/subcispage2/100873/1 "2012-07-02T21:57:48Z")

</div>

I want to show in a subpage a page that I had created, but it doesn’t have a URL defined.

The page was created and I wrote the page link as follow  
PAGE:=‘[http://localhost:8080/cisnatural/servlet/StartCISPage?PAGEURL=/cisnatural/NatLogon.html&xciParameters.natserver=172.16.24.27&xciParameters.natport=61275&xciParameters.natsession=Local&xciParameters.natuser=NDV&xciParameters.nattimeout=0](http://localhost:8080/cisnatural/servlet/StartCISPage?PAGEURL=/cisnatural/NatLogon.html&xciParameters.natserver=172.16.24.27&xciParameters.natport=61275&xciParameters.natsession=Local&xciParameters.natuser=NDV&xciParameters.nattimeout=0)’

I could show in subpage a existing page on the internet writing the URL, but I want to show a page layout created in Natural ONE

Is it possible?

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/techcommunity/original/3X/c/d/cd19967bb605d28a72d77eb83a1cae22f3df2eb8.svg) [@system](https://techcommunity.softwareag.com/u/system)\
**Post date:** [July 2, 2012, 11:01pm UTC](https://techcommunity.softwareag.com/t/subcispage2/100873/2 "2012-07-02T23:01:21Z")

</div>

Unless your session named “Local” kicks off a page you will have to tell it which one,  
for example, from the documentation of SUBCISPAGE2:

```auto
/cisnatural/NatLogon.html&xciParameters.natsession=Local&xciParameters.natparamext=stack%3D%28LOGON+SYSEXNJX%3BCTRSBI-P%29
```

xciParameters.natparmext starts a Natural program which then issues a PROCESS PAGE

---

<div class="post-metadata">

**Author:** ![Marisel](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/marisel/32/449_2.png) [@Marisel](https://techcommunity.softwareag.com/u/Marisel)\
**Post date:** [July 2, 2012, 11:21pm UTC](https://techcommunity.softwareag.com/t/subcispage2/100873/3 "2012-07-02T23:21:10Z")

</div>

How I can know the name of my session?  
I’m new in this, I obtained the route executing the program I want to show, and copy the url showed on the browser, and pasted it in the program that contained the SUBCISPAGE2

My page is showing as follow:  
[img]

DEFINE DATA LOCAL  
1 XPAGE1 (A) DYNAMIC  
1 XPAGE2 (A) DYNAMIC  
1 XPAGEPRO  
2 CHANGEINDEX (I4)  
2 PAGE (A) DYNAMIC  
2 PAGEID (A) DYNAMIC  
END-DEFINE

PAGE:=‘/cisnatural/NatLogon.html&xciParameters.natserver=172.16.24.27&xciParameters.natport=61275&xciParameters.natsession=Local&xciParameters.natuser=NDV&xciParameters.nattimeout=0’  
XPAGE2:=‘http:\www.mopt.go.cr’  
PROCESS PAGE USING “PRINCIPA”  
\*  
DECIDE ON FIRST \*PAGE-EVENT  
VALUE U’nat:page.end’ …

 ![image1.JPG](https://global.discourse-cdn.com/techcommunity/original/2X/8/8ee243f9895f16916ada3fd0ce8cedac3cb3adfd.jpeg)

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/techcommunity/original/3X/c/d/cd19967bb605d28a72d77eb83a1cae22f3df2eb8.svg) [@system](https://techcommunity.softwareag.com/u/system)\
**Post date:** [July 2, 2012, 11:32pm UTC](https://techcommunity.softwareag.com/t/subcispage2/100873/4 "2012-07-02T23:32:16Z")

</div>

Ok, I see what your problem is 😉

The “session” is less obvious when developing Ajax components in NaturalONE rather than Natural for Ajax directly,  
hopefully [this dscription in the NaturalONE documentation](http://techcommunity.softwareag.com/ecosystem/documentation/naturalONE/natONE825/core/njx/multi-executenwo.htm) gives you the missing bit of information.

---

<div class="post-metadata">

**Author:** ![Marisel](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/marisel/32/449_2.png) [@Marisel](https://techcommunity.softwareag.com/u/Marisel)\
**Post date:** [July 2, 2012, 11:36pm UTC](https://techcommunity.softwareag.com/t/subcispage2/100873/5 "2012-07-02T23:36:36Z")

</div>

Thank’s, I will ckeck it out.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/techcommunity/original/3X/c/d/cd19967bb605d28a72d77eb83a1cae22f3df2eb8.svg) [@system](https://techcommunity.softwareag.com/u/system)\
**Post date:** [April 2, 2021, 3:02pm UTC](https://techcommunity.softwareag.com/t/subcispage2/100873/6 "2021-04-02T15:02:07Z")

</div>


