Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Help required: Creating Generic Structure Tree view for SP12 environment (similar to VM-sample-app designed for SP14) #5

Open
sachinbijadi opened this issue Nov 5, 2018 · 6 comments
Assignees
Labels
Type: Question I want to know more about this project.

Comments

@sachinbijadi
Copy link

Is it possible to add a new relationship type with the 'generic item structure' view for the sample application in Innovator 11sp12 like the one provided in the application for SP14? I assume this is quite similar to the BOM structure view using the Multilevel BOM relationship used in the part item type. Would it be possible for someone to guide/ provide sample code, on how to set this up, as this is a really useful feature to see the whole configured superbom structure, instead of having to click through and open each level of the hierarchy

@sachinbijadi
Copy link
Author

image
how can this be created in the app in SP12? Any help would be greatly greatly appreciated! Thanks!

@cgillis-aras
Copy link
Contributor

It looks like that relationship tab uses a custom form to generate the tree of the Generic Item Structure, but you could achieve something very similar using the standard Query Builder and Tree Grid View functionality in 11.0 SP12.

@sachinbijadi
Copy link
Author

Can the code behind that form (as written for the SP14 version) be shared here? Since I am not really a coder, that could be useful reference for me

@cgillis-aras
Copy link
Contributor

You can find the Form in the TOC under Administration > Forms and searching for cs_sample_GenericItemFamilyTree. There is an HTML field as well as several Form Events that are responsible for building the view you see in the relationship tab. You could try using the methods and HTML as-is in your SP12 instance, though it hasn't been tested.

@sachinbijadi
Copy link
Author

@cgillis-aras - that form does not exist in the SP12 version. Would it be possible, if you have access to the form in an SP14 instance, share the html code? (Also is there a video somewhere on the forum that shows what those form events are, etc.? Any guidance in that regard would be super useful)
image

@EliJDonahue EliJDonahue added the Type: Question I want to know more about this project. label Mar 23, 2019
@cgillis-aras
Copy link
Contributor

Hi @sachinbijadi, I'm not sure if this form was available back in November, but you can now find it on the master branch of this repository here.

You can try merging that Form and it's dependencies into your SP12 import package. This project is an app built by our development team to show off the Configurator Service APIs, and my guess would be that this functionality is not version-dependent and was created as there was more development time for the later versions of this app.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Question I want to know more about this project.
Projects
None yet
Development

No branches or pull requests

3 participants