Imported page type objects not available

Jon Tibbetts asked on February 24, 2015 16:04

So I was able to import some page types just fine. And I made sure that the page type is accessible to the parent and the parent is accessible to the child page type. Tried clearing the cache, restarting the application. No luck. Am I missing something?.

Correct Answer

Bryan Soltis answered on February 24, 2015 16:25

Page Types can be limited to a specific site / scope. Is it possible your non-displaying types aren't assigned to the site?

  • Bryan
0 votesVote for this answer Unmark Correct answer

Recent Answers


Jon Tibbetts answered on February 24, 2015 16:54

Yup that fixed that issue... thanks bryan. But I did run into another issue

TreeNode.DataClassInfo, The 'cms.onlineuser' class name is not a page type.

But did not see this issue in my dev enviroment. Do you know where this page type is located. I don't see in the page type list.

0 votesVote for this answer Mark as a Correct answer

Brenden Kehren answered on February 24, 2015 17:00

Jon,

I'd compare your dev and live environment page types. Also, are you importing into a different version than your dev site?

0 votesVote for this answer Mark as a Correct answer

Jon Tibbetts answered on February 24, 2015 19:41

Page all seem to be the same. The dev vs live enviroments are both 8.1.6

Here is the full stack trace

Image Text

0 votesVote for this answer Mark as a Correct answer

Jon Tibbetts answered on February 24, 2015 19:59

My issue is I had a hardcoded link to a page type based on an id, when I imported the new page type it gave it a different id. I will change the code so it looks up the id based on page type class name then pass that.

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.