Views:

Transcript:

0:00 [Music]
0:04 and our sample here we've got a section
0:07 here section 1 civil 1 which contains 3
0:10 pages section wonderful 1 section 1
0:13 level 2 and section 1 level 3 we're
0:17 going to use the North52 data package
0:19 err to quickly replicate this site
0:21 structure we come across to our dynamics
0:24 environment and we're in the settings
0:26 solutions area before we create a new
0:28 data package our best practice is that
0:30 you create a solution to house the data
0:33 package components we're gonna give this
0:35 a display name of copy site structure
0:38 we're going to choose default publisher
0:40 and just give it a version of one once
0:44 that's been created we can then navigate
0:46 to settings North52 B PA North52 data
0:52 package and create a new data package
0:55 we're going to create this new data
0:57 package with the same name as our
0:59 solution so when this comes up I'm just
1:01 going to replace the default text with
1:04 copy side structure and then we are
1:06 going to associate our solution that
1:08 created earlier copy side structure with
1:10 this data package before we can add data
1:13 to the data package we need to save the
1:16 record we come across to our Explorer
1:20 tab to add data we find the webpage
1:24 entity and then locate the webpage
1:28 records that we want to replicate in
1:33 this case these they contain the word
1:35 level and we can see who we've got the
1:37 root page here and the language page as
1:39 well I'm just going to check all those
1:41 rickles there and add them to our data
1:44 package once that's done I am going to
1:49 add some further data and then this is
1:54 the form of web links so we want to
1:57 replicate the section 1 level 1 link and
2:00 again I just select that and add that to
2:03 my my data package
2:09 the package and then we need to make a
2:12 few changes to this data before we can
2:15 replicate it first one is that we want
2:17 to change the the names of all these web
2:23 pages and give them a new name so what
2:25 we can do is we can use the search and
2:27 replace and we can say we want to find
2:30 section 1 and replace that with section
2:35 2 so I'm just going to replace all of
2:39 those and we can see that our web link
2:41 has also been replaced the other thing
2:44 that we need to do with guard 2 finally
2:47 replacing is the partial URL that also
2:52 needs to be updated so again we can just
2:54 use our search and replace in this case
2:57 I'm just going to use section - 1 and
3:02 replace that section - - I'm going to
3:06 replace them all and come back here the
3:12 other thing that we need to do before we
3:14 can replicate the data is update the
3:17 Goodes just going to save those changes
3:18 that were just made to create new
3:22 records we obviously can't use the same
3:24 IDs so what we can do here is highlight
3:30 those and then use our goods for
3:32 functionality from the command menu we
3:34 can see all those goods have now been
3:35 changed we also need to do this on the
3:38 web link page and just again highlight
3:42 that keyword and use the GUI switcher
3:46 and then we're ready to replicate our
3:49 site structure one more step though
3:52 because we're dealing with web pages we
3:55 need to disable plugins that may be
3:57 associated with that entity and we do
4:01 this by using some functionality that
4:03 you can add to your data package from
4:05 the snippets menu here called data
4:08 package set up processes and when we
4:10 click on that it adds two new sheets and
4:13 some configuration options so the first
4:15 sheet is the deactivate and this is
4:17 basically the commands to deactivate
4:19 plugins and processes and then we also
4:21 have another one here
4:23 to activate those plugins that we
4:25 disabled in that first sheet we then
4:28 need to come to our global calculation
4:30 sheet here and find the plugin entities
4:32 to disable CSV field and add the
4:37 entities that we want here in this case
4:40 it's going to be our webpage so we can
4:43 go to our data model here and look for
4:46 web page and add that and perhaps there
4:50 might be a plug-in on our web link as
4:55 well so we can just add that this needs
4:58 to be a CSV so I just need to put a
5:00 comma in between those two here and
5:03 that's done we've also got processes to
5:06 disable CSV here with there is no
5:08 processes to are disabled in this
5:10 example so we'll just leave that as it
5:13 stands once we click Save we should be
5:17 ready to go to execute a data package we
5:21 come up to our execute flyout and click
5:24 the execute button wait a few seconds
5:28 for all that to create all those pages
5:31 in the background and if there's no
5:33 errors we should just get a message here
5:35 saying formula result and some JSON and
5:38 that's there has now been done so if we
5:41 come back to our website I'm gonna clear
5:45 the cache just so that we can make sure
5:48 we can see those new pages and once
5:51 that's been done and we navigate to our
5:53 website again we should see those
5:57 changes that have been made under the
6:04 sections section sitting here we should
6:06 have two section one level two and in
6:10 here we should have section two level
6:12 one page section two level two page and
6:16 our section two level three page so
6:19 there it is that's how easy it is to
6:21 replicate our site structure using North
6:23 52 s data package
6:27 further information please see our
6:28 website North52 calm or our Support
6:31 Portal support North52 calm