CS Packages broken when exporting script in elaborate folder structure

Hi Guys, i have a pretty expansive solution in CRM Script that i tried to export as a package, containing 86 items, where most of them are scripts, stored in a 3/4 level deep folder structure in order to keep track of each script.

 

However, when i try to import the package in another installation, many scripts and even folders gets left out, so the package import becomes incomplete, despite telling me it was successfull. So i am then going to the crm script overview screen only to find that the majority of the scripts are nowhere to be found.

The only way i am able to import the scripts into another solution is to manually edit the xml file generated by the package manager, to put each script in the same directory, either in the root directory, or if i feel really adventorous in the same single level folder. Then after the import, i will then have to manually create the folder structure and tediously move each script one at a time into the correct folder in order to maintain the overview i had from the other installation.

This is extremely annoying when dealing with big solutions in CRM Script.

 

Is this recognised as a bug??

 

Thanks

RE: CS Packages broken when exporting script in elaborate folder structure

Hi Dennis,

Could you please provide me with an example package which fails to allow for some debugging? If you do not wish to share with everyone, you can send it to me by email.

Av: Michel Krohn-Dale 21. jun 2021

RE: CS Packages broken when exporting script in elaborate folder structure

Hi Michel, here's a version of the package without code, the behaviour is similar - i'm not quite sure how i can attach files, but here's the xml for the package:

<?xml version="1.0" encoding="UTF-8"?>
<ejpackage> 
<name>
DoWEB Mockup Package
</name>
<packageversion>
1.0
</packageversion>
<ejversion>
9.2.0
</ejversion>
<locked>
0
</locked>
<description>

</description>
<installscript>
#setLanguageLevel 3;
</installscript>
<item index="1" domain="1" refname="" >
<description>QS: main CSS For QuoteDocument</description>
<longDescription></longDescription>
<includeid>QuoteSolution-css-QuoteDocument</includeid>
<folder>DoWEB/QuoteSolution/Views/CSS/</folder>
<body>
  #setLanguageLevel 3;
   </body>
</item>
<item index="2" domain="1" refname="" >
<description>QS: Main JS for QuoteDocument</description>
<longDescription></longDescription>
<includeid>QuoteSolution-js-QuoteDocument</includeid>
<folder>DoWEB/QuoteSolution/Views/JS/</folder>
<body> 
  #setLanguageLevel 3;
</body>
</item>
<item index="3" domain="1" refname="" >
<description>QS: Generate QuoteDocument</description>
<longDescription></longDescription>
<includeid>QuoteSolution-view-QuoteDocument</includeid>
<folder>DoWEB/QuoteSolution/Views/</folder>
<body> 
#setLanguageLevel 3;  
</body>
</item>
<item index="4" domain="1" refname="" >
<description>QS: QuoteDocument Editor</description>
<longDescription>Wrapper for viewing billofmatierial in superoffice</longDescription>
<includeid>QuoteSolution-view-QuoteDocumentEditor</includeid>
<folder>DoWEB/QuoteSolution/Views/</folder>
<body>
#setLanguageLevel 3; 
</body>
</item>
<item index="5" domain="1" refname="" >
<description>QS: Main JS for Editor</description>
<longDescription></longDescription>
<includeid>QuoteSolution-js-QuoteDocumentEditor</includeid>
<folder>DoWEB/QuoteSolution/Views/JS/</folder>
<body> 
  #setLanguageLevel 3;
 </body>
</item>
<item index="6" domain="1" refname="" >
<description>QS: Main CSS for editor</description>
<longDescription></longDescription>
<includeid>QuoteSolution-css-QuoteDocumentEditor</includeid>
<folder>DoWEB/QuoteSolution/Views/CSS/</folder>
<body> 
  #setLanguageLevel 3;
   </body>
</item>
<item index="7" domain="1" refname="" >
<description>QS: Main class for the Quote+ Solution</description>
<longDescription> * The enhanced Quote module&#x0a; * Build by DoWEB ApS 2021 (Dennis Mortensgaard )</longDescription>
<includeid>QuoteSolution-cls-QuoteSolution</includeid>
<folder>DoWEB/QuoteSolution/</folder>
<body>#setLanguageLevel 3; 
</body>
</item>
<item index="8" domain="1" refname="" >
<description>QS: Ajax Dispatcher</description>
<longDescription> * Main AJAX dispatcher for the frontend. Responsible for cummunicating with the class on behalf of the frontend&#x0a; * Build by DoWEB ApS 2021 (Dennis Mortensgaard )</longDescription>
<includeid>QuoteSolution-ajax-dispatcher</includeid>
<folder>DoWEB/QuoteSolution/Ajax/</folder>
<body>
#setLanguageLevel 3; 

</body>
</item>
<item index="9" domain="1" refname="" >
<description>QS: JS PDFFunctions</description>
<longDescription></longDescription>
<includeid>QuoteSolution-js-QuoteDocumentPublic-PDFFunctions</includeid>
<folder>DoWEB/QuoteSolution/Views/JS/</folder>
<body> 
  #setLanguageLevel 3;
</body>
</item>
<item index="10" domain="1" refname="" >
<description>QS: JS Editor Events</description>
<longDescription></longDescription>
<includeid>QuoteSolution-js-QuoteDocumentEditor-Events</includeid>
<folder>DoWEB/QuoteSolution/Views/JS/Editor/</folder>
<body> 
  #setLanguageLevel 3;
</body>
</item>
<item index="11" domain="1" refname="" >
<description>QS: JS Editor Options</description>
<longDescription></longDescription>
<includeid>QuoteSolution-js-QuoteDocumentEditor-Options</includeid>
<folder>DoWEB/QuoteSolution/Views/JS/Editor/</folder>
<body> 
  #setLanguageLevel 3; 
</body>
</item>
<item index="12" domain="1" refname="" >
<description>QS: Quote Portal</description>
<longDescription></longDescription>
<includeid>QuoteSolution-view-QuoteDocumentPublic</includeid>
<folder>DoWEB/QuoteSolution/Views/</folder>
<body> 
#setLanguageLevel 3; 
</body>
</item>
<item index="13" domain="1" refname="" >
<description>QS: CSS for Quote Portal</description>
<longDescription></longDescription>
<includeid>QuoteSolution-css-QuoteDocumentPublic</includeid>
<folder>DoWEB/QuoteSolution/Views/CSS/</folder>
<body> 
  #setLanguageLevel 3;
 </body>
</item>
<item index="14" domain="1" refname="" >
<description>QS: Main JS for Quote Portal</description>
<longDescription></longDescription>
<includeid>QuoteSolution-js-QuoteDocumentPublic</includeid>
<folder>DoWEB/QuoteSolution/Views/JS/</folder>
<body> 
  #setLanguageLevel 3; 
</body>
</item>
<item index="15" domain="1" refname="" >
<description>QS: Ajax Document Fetcher</description>
<longDescription> * Document fetcher for the frontend portal of the solution. Will generate a cover letter pdf if it has not already been created. and fetch the rest of the attachments too.&#x0a; * Build by DoWEB ApS 2021 (Dennis Mortensgaard )</longDescription>
<includeid>QuoteSolution-ajax-DocumentFetcher</includeid>
<folder>DoWEB/QuoteSolution/Ajax/</folder>
<body>

#setLanguageLevel 3;
</body>
</item>
<item index="16" domain="1" refname="" >
<description>QS: Trigger after Quote Save</description>
<longDescription></longDescription>
<includeid>QuoteSolution-trg-AfterQuoteSave</includeid>
<folder>DoWEB/QuoteSolution/Triggers/</folder>
<body>#setLanguageLevel 3;
</body>
</item>
<item index="17" domain="1" refname="" >
<description>QS: Trigger after Document save</description>
<longDescription></longDescription>
<includeid>QuoteSolution-trg-AfterDocumentSave</includeid>
<folder>DoWEB/QuoteSolution/Triggers/</folder>
<body>#setLanguageLevel 3;
</body>
</item>
<item index="18" domain="1" refname="" >
<description>QS: Events for public quote portal</description>
<longDescription></longDescription>
<includeid>QuoteSolution-js-QuoteDocumentPublic-Events</includeid>
<folder>DoWEB/QuoteSolution/Views/JS/</folder>
<body>#setLanguageLevel 3;
</body>
</item>
<item index="21" domain="1" refname="" >
<description>QS: Main Language Include</description>
<longDescription></longDescription>
<includeid>QuoteSolution-lang-main</includeid>
<folder>DoWEB/QuoteSolution/Languages/</folder>
<body>#setLanguageLevel 3;
</body>
</item>
<item index="22" domain="1" refname="" >
<description>QS: English translation</description>
<longDescription></longDescription>
<includeid>QuoteSolution-lang-enUS</includeid>
<folder>DoWEB/QuoteSolution/Languages/</folder>
<body>#setLanguageLevel 3;
</body>
</item>
<item index="24" domain="1" refname="" >
<description>QS: French translation</description>
<longDescription></longDescription>
<includeid>QuoteSolution-lang-frFR</includeid>
<folder>DoWEB/QuoteSolution/Languages/</folder>
<body>#setLanguageLevel 3;
</body>
</item>
<item index="25" domain="1" refname="" >
<description>QS: German translation</description>
<longDescription></longDescription>
<includeid>QuoteSolution-lang-deDE</includeid>
<folder>DoWEB/QuoteSolution/Languages/</folder>
<body>#setLanguageLevel 3;
</body>
</item>
<item index="27" domain="1" refname="" >
<description>QS: Spanish Translation</description>
<longDescription></longDescription>
<includeid>QuoteSolution-lang-esES</includeid>
<folder>DoWEB/QuoteSolution/Languages/</folder>
<body>#setLanguageLevel 3;
</body>
</item>
<item index="28" domain="1" refname="" >
<description>QS: Italian translation</description>
<longDescription></longDescription>
<includeid>QuoteSolution-lang-itIT</includeid>
<folder>DoWEB/QuoteSolution/Languages/</folder>
<body>#setLanguageLevel 3;
</body>
</item>
<item index="29" domain="1" refname="" >
<description>Webhook for updating customer language</description>
<longDescription></longDescription>
<includeid>df-webhook-customerLanguage</includeid>
<folder>Danfoss Fire Safety/Triggers/</folder>
<body>#setLanguageLevel 3;
</body>
</item>
<item index="30" domain="1" refname="" >
<description>QS: Link redirect</description>
<longDescription></longDescription>
<includeid>QuoteSolution-view-RedirectLink</includeid>
<folder>DoWEB/QuoteSolution/Views/</folder>
<body>#setLanguageLevel 3;
</body>
</item>
<item index="31" domain="1" refname="" >
<description>QS: SQL Script for Inventory</description>
<longDescription>This Script contains the SQL used for getting the Inventory status of an item. &#x0a;&#x0a;This script specifically target Microsoft Navision</longDescription>
<includeid>QuoteSolution-other-InventorySQL</includeid>
<folder>DoWEB/QuoteSolution/Other/SQL/</folder>
<body>#setLanguageLevel 3;
</body>
</item>
<item index="32" domain="1" refname="" >
<description>QS: Import Details from NAV</description>
<longDescription></longDescription>
<includeid>QuoteSolution-job-ImportDetails</includeid>
<folder>DoWEB/QuoteSolution/Other/Jobs/</folder>
<body>#setLanguageLevel 3;
</body>
</item>
<item index="33" domain="1" refname="" >
<description>Job til at holde sprog ajour</description>
<longDescription></longDescription>
<includeid>sprog</includeid>
<folder>Jobs/</folder>
<body>#setLanguageLevel 3;
</body>
</item>
<item index="34" domain="6" refname="" >
<name>QS: Quote group</name>
<description></description>
<tablename>y_quote_group</tablename>
<flags>0</flags>
<sortorder>y_quote_group.id asc</sortorder>
<searchheader></searchheader>
<viewentryheader></viewentryheader>
<newentryheader></newentryheader>
<editentryheader></editentryheader>
<folder>DoWEB ApS/Quoting/</folder>
</item>
<item index="35" domain="6" refname="" >
<name>QS: Quote Group relation</name>
<description></description>
<tablename>y_quote_group_rel</tablename>
<flags>0</flags>
<sortorder>y_quote_group_rel.id asc</sortorder>
<searchheader></searchheader>
<viewentryheader></viewentryheader>
<newentryheader></newentryheader>
<editentryheader></editentryheader>
<folder>DoWEB ApS/Quoting/</folder>
</item>
<item index="36" domain="6" refname="" >
<name>QS: Quote defaults</name>
<description></description>
<tablename>y_quote_defaults</tablename>
<flags>0</flags>
<sortorder>y_quote_defaults.id asc</sortorder>
<searchheader></searchheader>
<viewentryheader></viewentryheader>
<newentryheader></newentryheader>
<editentryheader></editentryheader>
<folder>DoWEB ApS/Quoting/</folder>
</item>
<item index="37" domain="6" refname="" >
<name>QS: Quote Document Attachments</name>
<description></description>
<tablename>y_quote_documents</tablename>
<flags>0</flags>
<sortorder>y_quote_documents.id asc</sortorder>
<searchheader></searchheader>
<viewentryheader></viewentryheader>
<newentryheader></newentryheader>
<editentryheader></editentryheader>
<folder>DoWEB ApS/Quoting/</folder>
</item>
<item index="38" domain="6" refname="" >
<name>QS: Link tracking</name>
<description></description>
<tablename>y_quote_link_track</tablename>
<flags>0</flags>
<sortorder>y_quote_link_track.id asc</sortorder>
<searchheader></searchheader>
<viewentryheader></viewentryheader>
<newentryheader></newentryheader>
<editentryheader></editentryheader>
<folder>DoWEB ApS/Quoting/</folder>
</item>
<item index="39" domain="6" refname="" >
<name>QS: Tracking entry</name>
<description></description>
<tablename>y_quote_track_entry</tablename>
<flags>0</flags>
<sortorder>y_quote_track_entry.id asc</sortorder>
<searchheader>Clicks</searchheader>
<viewentryheader></viewentryheader>
<newentryheader></newentryheader>
<editentryheader></editentryheader>
<folder>DoWEB ApS/Quoting/</folder>
</item>
<item index="40" domain="6" refname="" >
<name>QS: Customer details</name>
<description>Contains information about preferred payment and shipping method, from ERP</description>
<tablename>y_quote_cust_details</tablename>
<flags>0</flags>
<sortorder>y_quote_cust_details.id asc</sortorder>
<searchheader></searchheader>
<viewentryheader></viewentryheader>
<newentryheader></newentryheader>
<editentryheader></editentryheader>
<folder>DoWEB ApS/Quoting/</folder>
</item>
<item index="41" domain="7" refname="" >
<name>Sale</name>
<description></description>
<fieldname>x_sale</fieldname>
<defaultvalue></defaultvalue>
<domain>16</domain>
<extratable>y_quote_group</extratable>
<flags>41984</flags>
<orderpos>1</orderpos>
<params>maxRelations=&#x0a;targetLabel=&#x0a;defaultNow=0&#x0a;defaultActiveUser=0&#x0a;searchOperator=beginsWith&#x0a;</params>
<targetextratable></targetextratable>
<type>27</type>
<role></role>
</item>
<item index="42" domain="7" refname="" >
<name>Alternative ID</name>
<description></description>
<fieldname>x_alternative_id</fieldname>
<defaultvalue></defaultvalue>
<domain>16</domain>
<extratable>y_quote_group</extratable>
<flags>40960</flags>
<orderpos>2</orderpos>
<params>defaultNow=0&#x0a;defaultActiveUser=0&#x0a;</params>
<targetextratable></targetextratable>
<type>1</type>
<role></role>
</item>
<item index="43" domain="7" refname="" >
<name>Title</name>
<description></description>
<fieldname>x_title</fieldname>
<defaultvalue></defaultvalue>
<domain>16</domain>
<extratable>y_quote_group</extratable>
<flags>40960</flags>
<orderpos>3</orderpos>
<params>defaultNow=0&#x0a;defaultActiveUser=0&#x0a;searchOperator=beginsWith&#x0a;</params>
<targetextratable></targetextratable>
<type>10</type>
<role></role>
</item>
<item index="44" domain="7" refname="" >
<name>Description</name>
<description></description>
<fieldname>x_description</fieldname>
<defaultvalue></defaultvalue>
<domain>16</domain>
<extratable>y_quote_group</extratable>
<flags>41088</flags>
<orderpos>4</orderpos>
<params>defaultNow=0&#x0a;defaultActiveUser=0&#x0a;useTextarea=0&#x0a;height=3&#x0a;searchOperator=beginsWith&#x0a;</params>
<targetextratable></targetextratable>
<type>2</type>
<role></role>
</item>
<item index="45" domain="7" refname="" >
<name>Quote group</name>
<description></description>
<fieldname>x_quote_group</fieldname>
<defaultvalue></defaultvalue>
<domain>16</domain>
<extratable>y_quote_group_rel</extratable>
<flags>41984</flags>
<orderpos>1</orderpos>
<params>maxRelations=&#x0a;targetLabel=Items&#x0a;useDropDown=0&#x0a;onlyLeafNode=0&#x0a;defaultNow=0&#x0a;defaultActiveUser=0&#x0a;searchOperator=beginsWith&#x0a;</params>
<targetextratable>y_quote_group</targetextratable>
<type>20</type>
<role></role>
</item>
<item index="46" domain="7" refname="" >
<name>Line id</name>
<description></description>
<fieldname>x_line_id</fieldname>
<defaultvalue></defaultvalue>
<domain>16</domain>
<extratable>y_quote_group_rel</extratable>
<flags>40960</flags>
<orderpos>2</orderpos>
<params>defaultNow=0&#x0a;defaultActiveUser=0&#x0a;</params>
<targetextratable></targetextratable>
<type>1</type>
<role></role>
</item>
<item index="47" domain="7" refname="" >
<name>Group Rank</name>
<description></description>
<fieldname>x_rank</fieldname>
<defaultvalue></defaultvalue>
<domain>16</domain>
<extratable>y_quote_group</extratable>
<flags>40960</flags>
<orderpos>5</orderpos>
<params>defaultNow=0&#x0a;defaultActiveUser=0&#x0a;</params>
<targetextratable></targetextratable>
<type>1</type>
<role></role>
</item>
<item index="48" domain="7" refname="" >
<name>Friendly Name</name>
<description></description>
<fieldname>x_friendly_name</fieldname>
<defaultvalue></defaultvalue>
<domain>16</domain>
<extratable>y_quote_group</extratable>
<flags>40960</flags>
<orderpos>6</orderpos>
<params>defaultNow=0&#x0a;defaultActiveUser=0&#x0a;searchOperator=beginsWith&#x0a;</params>
<targetextratable></targetextratable>
<type>10</type>
<role></role>
</item>
<item index="49" domain="7" refname="" >
<name>Sale</name>
<description></description>
<fieldname>x_sale</fieldname>
<defaultvalue></defaultvalue>
<domain>16</domain>
<extratable>y_quote_defaults</extratable>
<flags>41984</flags>
<orderpos>1</orderpos>
<params>maxRelations=&#x0a;targetLabel=&#x0a;defaultNow=0&#x0a;defaultActiveUser=0&#x0a;searchOperator=beginsWith&#x0a;</params>
<targetextratable></targetextratable>
<type>27</type>
<role></role>
</item>
<item index="50" domain="7" refname="" >
<name>Heading</name>
<description></description>
<fieldname>x_header</fieldname>
<defaultvalue></defaultvalue>
<domain>16</domain>
<extratable>y_quote_defaults</extratable>
<flags>40960</flags>
<orderpos>2</orderpos>
<params>defaultNow=0&#x0a;defaultActiveUser=0&#x0a;searchOperator=beginsWith&#x0a;</params>
<targetextratable></targetextratable>
<type>10</type>
<role></role>
</item>
<item index="51" domain="7" refname="" >
<name>Description</name>
<description></description>
<fieldname>x_description</fieldname>
<defaultvalue></defaultvalue>
<domain>16</domain>
<extratable>y_quote_defaults</extratable>
<flags>41088</flags>
<orderpos>3</orderpos>
<params>defaultNow=0&#x0a;defaultActiveUser=0&#x0a;useTextarea=0&#x0a;height=3&#x0a;searchOperator=beginsWith&#x0a;</params>
<targetextratable></targetextratable>
<type>2</type>
<role></role>
</item>
<item index="52" domain="7" refname="" >
<name>Rank</name>
<description></description>
<fieldname>x_rank</fieldname>
<defaultvalue></defaultvalue>
<domain>16</domain>
<extratable>y_quote_group_rel</extratable>
<flags>40960</flags>
<orderpos>3</orderpos>
<params>defaultNow=0&#x0a;defaultActiveUser=0&#x0a;</params>
<targetextratable></targetextratable>
<type>1</type>
<role></role>
</item>
<item index="53" domain="7" refname="" >
<name>Footer</name>
<description></description>
<fieldname>x_footer</fieldname>
<defaultvalue></defaultvalue>
<domain>16</domain>
<extratable>y_quote_group</extratable>
<flags>41088</flags>
<orderpos>7</orderpos>
<params>defaultNow=0&#x0a;defaultActiveUser=0&#x0a;useTextarea=0&#x0a;height=3&#x0a;searchOperator=beginsWith&#x0a;</params>
<targetextratable></targetextratable>
<type>2</type>
<role></role>
</item>
<item index="54" domain="7" refname="" >
<name>footer</name>
<description></description>
<fieldname>x_footer</fieldname>
<defaultvalue></defaultvalue>
<domain>16</domain>
<extratable>y_quote_defaults</extratable>
<flags>40960</flags>
<orderpos>4</orderpos>
<params>defaultNow=0&#x0a;defaultActiveUser=0&#x0a;useTextarea=0&#x0a;height=3&#x0a;searchOperator=beginsWith&#x0a;</params>
<targetextratable></targetextratable>
<type>2</type>
<role></role>
</item>
<item index="55" domain="7" refname="" >
<name>Shipping Product Key</name>
<description></description>
<fieldname>x_shipping_key</fieldname>
<defaultvalue>43200</defaultvalue>
<domain>16</domain>
<extratable>y_quote_defaults</extratable>
<flags>45056</flags>
<orderpos>5</orderpos>
<params>defaultNow=0&#x0a;defaultActiveUser=0&#x0a;searchOperator=beginsWith&#x0a;</params>
<targetextratable></targetextratable>
<type>10</type>
<role></role>
</item>
<item index="56" domain="7" refname="" >
<name>Our ref</name>
<description></description>
<fieldname>x_our_ref</fieldname>
<defaultvalue></defaultvalue>
<domain>16</domain>
<extratable>y_quote_defaults</extratable>
<flags>40960</flags>
<orderpos>6</orderpos>
<params>defaultNow=0&#x0a;defaultActiveUser=0&#x0a;searchOperator=beginsWith&#x0a;</params>
<targetextratable></targetextratable>
<type>10</type>
<role></role>
</item>
<item index="57" domain="7" refname="" >
<name>Your ref</name>
<description></description>
<fieldname>x_your_ref</fieldname>
<defaultvalue></defaultvalue>
<domain>16</domain>
<extratable>y_quote_defaults</extratable>
<flags>40960</flags>
<orderpos>7</orderpos>
<params>defaultNow=0&#x0a;defaultActiveUser=0&#x0a;searchOperator=beginsWith&#x0a;</params>
<targetextratable></targetextratable>
<type>10</type>
<role></role>
</item>
<item index="58" domain="7" refname="" >
<name>Display VAT</name>
<description></description>
<fieldname>x_display_vat</fieldname>
<defaultvalue>0</defaultvalue>
<domain>16</domain>
<extratable>y_quote_defaults</extratable>
<flags>40960</flags>
<orderpos>8</orderpos>
<params>defaultNow=0&#x0a;defaultActiveUser=0&#x0a;</params>
<targetextratable></targetextratable>
<type>6</type>
<role></role>
</item>
<item index="59" domain="7" refname="" >
<name>Include Country of Origin</name>
<description></description>
<fieldname>x_include_coo</fieldname>
<defaultvalue>0</defaultvalue>
<domain>16</domain>
<extratable>y_quote_defaults</extratable>
<flags>40960</flags>
<orderpos>9</orderpos>
<params>defaultNow=0&#x0a;defaultActiveUser=0&#x0a;</params>
<targetextratable></targetextratable>
<type>6</type>
<role></role>
</item>
<item index="60" domain="7" refname="" >
<name>Display shipping address</name>
<description></description>
<fieldname>x_display_shipping</fieldname>
<defaultvalue>0</defaultvalue>
<domain>16</domain>
<extratable>y_quote_group</extratable>
<flags>40960</flags>
<orderpos>8</orderpos>
<params>defaultNow=0&#x0a;defaultActiveUser=0&#x0a;</params>
<targetextratable></targetextratable>
<type>6</type>
<role></role>
</item>
<item index="61" domain="7" refname="" >
<name>Display Shipping</name>
<description></description>
<fieldname>x_display_shipping</fieldname>
<defaultvalue>0</defaultvalue>
<domain>16</domain>
<extratable>y_quote_defaults</extratable>
<flags>40960</flags>
<orderpos>10</orderpos>
<params>defaultNow=0&#x0a;defaultActiveUser=0&#x0a;</params>
<targetextratable></targetextratable>
<type>6</type>
<role></role>
</item>
<item index="62" domain="7" refname="" >
<name>Template id</name>
<description></description>
<fieldname>x_template_id</fieldname>
<defaultvalue>45</defaultvalue>
<domain>16</domain>
<extratable>y_quote_group</extratable>
<flags>45056</flags>
<orderpos>9</orderpos>
<params>defaultNow=0&#x0a;defaultActiveUser=0&#x0a;</params>
<targetextratable></targetextratable>
<type>1</type>
<role></role>
</item>
<item index="63" domain="7" refname="" >
<name>Template id</name>
<description></description>
<fieldname>x_template_id</fieldname>
<defaultvalue>45</defaultvalue>
<domain>16</domain>
<extratable>y_quote_defaults</extratable>
<flags>45056</flags>
<orderpos>11</orderpos>
<params>defaultNow=0&#x0a;defaultActiveUser=0&#x0a;</params>
<targetextratable></targetextratable>
<type>1</type>
<role></role>
</item>
<item index="64" domain="7" refname="" >
<name>Quote default</name>
<description></description>
<fieldname>x_quote_defaults</fieldname>
<defaultvalue></defaultvalue>
<domain>16</domain>
<extratable>y_quote_documents</extratable>
<flags>173056</flags>
<orderpos>1</orderpos>
<params>maxRelations=&#x0a;targetLabel=Files&#x0a;useDropDown=0&#x0a;onlyLeafNode=0&#x0a;defaultNow=0&#x0a;defaultActiveUser=0&#x0a;searchOperator=beginsWith&#x0a;</params>
<targetextratable>y_quote_defaults</targetextratable>
<type>20</type>
<role></role>
</item>
<item index="65" domain="7" refname="" >
<name>Quote Alternative</name>
<description></description>
<fieldname>x_alternative_id</fieldname>
<defaultvalue></defaultvalue>
<domain>16</domain>
<extratable>y_quote_defaults</extratable>
<flags>565248</flags>
<orderpos>12</orderpos>
<params>defaultNow=0&#x0a;defaultActiveUser=0&#x0a;</params>
<targetextratable></targetextratable>
<type>1</type>
<role></role>
</item>
<item index="66" domain="7" refname="" >
<name>Copied from old Version</name>
<description></description>
<fieldname>x_copied</fieldname>
<defaultvalue>0</defaultvalue>
<domain>16</domain>
<extratable>y_quote_defaults</extratable>
<flags>40960</flags>
<orderpos>13</orderpos>
<params>defaultNow=0&#x0a;defaultActiveUser=0&#x0a;</params>
<targetextratable></targetextratable>
<type>6</type>
<role></role>
</item>
<item index="67" domain="7" refname="" >
<name>Sale</name>
<description></description>
<fieldname>x_sale</fieldname>
<defaultvalue></defaultvalue>
<domain>16</domain>
<extratable>y_quote_link_track</extratable>
<flags>41984</flags>
<orderpos>1</orderpos>
<params>maxRelations=&#x0a;targetLabel=&#x0a;defaultNow=0&#x0a;defaultActiveUser=0&#x0a;searchOperator=beginsWith&#x0a;</params>
<targetextratable></targetextratable>
<type>27</type>
<role></role>
</item>
<item index="68" domain="7" refname="" >
<name>Receiver</name>
<description></description>
<fieldname>x_contact</fieldname>
<defaultvalue></defaultvalue>
<domain>16</domain>
<extratable>y_quote_link_track</extratable>
<flags>41984</flags>
<orderpos>2</orderpos>
<params>maxRelations=&#x0a;targetLabel=Receiver&#x0a;defaultNow=0&#x0a;defaultActiveUser=0&#x0a;searchOperator=beginsWith&#x0a;</params>
<targetextratable></targetextratable>
<type>16</type>
<role></role>
</item>
<item index="69" domain="7" refname="" >
<name>link</name>
<description></description>
<fieldname>x_link</fieldname>
<defaultvalue></defaultvalue>
<domain>16</domain>
<extratable>y_quote_link_track</extratable>
<flags>40960</flags>
<orderpos>3</orderpos>
<params>defaultNow=0&#x0a;defaultActiveUser=0&#x0a;useTextarea=0&#x0a;height=3&#x0a;searchOperator=beginsWith&#x0a;</params>
<targetextratable></targetextratable>
<type>2</type>
<role></role>
</item>
<item index="70" domain="7" refname="" >
<name>Link</name>
<description></description>
<fieldname>x_link</fieldname>
<defaultvalue></defaultvalue>
<domain>16</domain>
<extratable>y_quote_track_entry</extratable>
<flags>41984</flags>
<orderpos>1</orderpos>
<params>maxRelations=&#x0a;targetLabel=Interactions&#x0a;useDropDown=0&#x0a;onlyLeafNode=0&#x0a;defaultNow=0&#x0a;defaultActiveUser=0&#x0a;searchOperator=beginsWith&#x0a;</params>
<targetextratable>y_quote_link_track</targetextratable>
<type>20</type>
<role></role>
</item>
<item index="71" domain="7" refname="" >
<name>Date and time for click</name>
<description></description>
<fieldname>x_datetime</fieldname>
<defaultvalue></defaultvalue>
<domain>16</domain>
<extratable>y_quote_track_entry</extratable>
<flags>57344</flags>
<orderpos>2</orderpos>
<params>defaultNow=1&#x0a;defaultActiveUser=0&#x0a;</params>
<targetextratable></targetextratable>
<type>4</type>
<role></role>
</item>
<item index="72" domain="7" refname="" >
<name>Unique key</name>
<description></description>
<fieldname>x_unique_key</fieldname>
<defaultvalue></defaultvalue>
<domain>16</domain>
<extratable>y_quote_link_track</extratable>
<flags>40960</flags>
<orderpos>4</orderpos>
<params>defaultNow=0&#x0a;defaultActiveUser=0&#x0a;searchOperator=beginsWith&#x0a;</params>
<targetextratable></targetextratable>
<type>10</type>
<role></role>
</item>
<item index="73" domain="7" refname="" >
<name>Sent</name>
<description></description>
<fieldname>x_sent</fieldname>
<defaultvalue></defaultvalue>
<domain>16</domain>
<extratable>y_quote_link_track</extratable>
<flags>40960</flags>
<orderpos>5</orderpos>
<params>defaultNow=1&#x0a;defaultActiveUser=0&#x0a;</params>
<targetextratable></targetextratable>
<type>4</type>
<role></role>
</item>
<item index="74" domain="7" refname="" >
<name>Version</name>
<description></description>
<fieldname>x_version</fieldname>
<defaultvalue></defaultvalue>
<domain>16</domain>
<extratable>y_quote_link_track</extratable>
<flags>40960</flags>
<orderpos>6</orderpos>
<params>defaultNow=0&#x0a;defaultActiveUser=0&#x0a;</params>
<targetextratable></targetextratable>
<type>1</type>
<role></role>
</item>
<item index="75" domain="7" refname="" >
<name>Company</name>
<description></description>
<fieldname>x_contact</fieldname>
<defaultvalue></defaultvalue>
<domain>16</domain>
<extratable>y_quote_cust_details</extratable>
<flags>41984</flags>
<orderpos>1</orderpos>
<params>maxRelations=&#x0a;targetLabel=NAV Details&#x0a;defaultNow=0&#x0a;defaultActiveUser=0&#x0a;searchOperator=beginsWith&#x0a;</params>
<targetextratable></targetextratable>
<type>17</type>
<role></role>
</item>
<item index="76" domain="7" refname="" >
<name>Payment terms</name>
<description></description>
<fieldname>x_payment_terms</fieldname>
<defaultvalue></defaultvalue>
<domain>16</domain>
<extratable>y_quote_cust_details</extratable>
<flags>40960</flags>
<orderpos>2</orderpos>
<params>defaultNow=0&#x0a;defaultActiveUser=0&#x0a;searchOperator=beginsWith&#x0a;</params>
<targetextratable></targetextratable>
<type>10</type>
<role></role>
</item>
<item index="77" domain="7" refname="" >
<name>Shipping Terms</name>
<description></description>
<fieldname>x_shipping_terms</fieldname>
<defaultvalue></defaultvalue>
<domain>16</domain>
<extratable>y_quote_cust_details</extratable>
<flags>40960</flags>
<orderpos>3</orderpos>
<params>defaultNow=0&#x0a;defaultActiveUser=0&#x0a;searchOperator=beginsWith&#x0a;</params>
<targetextratable></targetextratable>
<type>10</type>
<role></role>
</item>
<item index="78" domain="7" refname="" >
<name>ERP Key</name>
<description></description>
<fieldname>x_erp_key</fieldname>
<defaultvalue></defaultvalue>
<domain>16</domain>
<extratable>y_quote_cust_details</extratable>
<flags>40960</flags>
<orderpos>4</orderpos>
<params>defaultNow=0&#x0a;defaultActiveUser=0&#x0a;</params>
<targetextratable></targetextratable>
<type>1</type>
<role></role>
</item>
<item index="79" domain="5" refname="" >
<ejscriptincludeid>QuoteSolution-job-ImportDetails</ejscriptincludeid>
<frequency>2</frequency>
<asap>0</asap>
<disabled>0</disabled>
<name>QS: Import details from NAV</name>
<minuteinterval></minuteinterval>
<weekdays>0</weekdays>
<months>0</months>
<minofhour>0</minofhour>
<dayofmonth>1</dayofmonth>
<timeofday></timeofday>
<onceat></onceat>
<lockttl>15</lockttl>
<retryinterval>15</retryinterval>
</item>
<item index="80" domain="5" refname="" >
<ejscriptincludeid>sprog</ejscriptincludeid>
<frequency>3</frequency>
<asap>0</asap>
<disabled>0</disabled>
<name>Job til at holde sprog ajour</name>
<minuteinterval></minuteinterval>
<weekdays>62</weekdays>
<months>0</months>
<minofhour></minofhour>
<dayofmonth>1</dayofmonth>
<timeofday>1900-01-01 03:00:00.000</timeofday>
<onceat></onceat>
<lockttl>15</lockttl>
<retryinterval>15</retryinterval>
</item>
</ejpackage>
Av: Dennis Mortensgaard 22. jun 2021

RE: CS Packages broken when exporting script in elaborate folder structure

Hi,

For me it looks like it is imported correctly;

Av: Michel Krohn-Dale 22. jun 2021

RE: CS Packages broken when exporting script in elaborate folder structure

It happens to be different which one of the folders that gets left out. Here's how the original structure looks, and how it looks after i imported it into my SOD just now:

As you can see, i'm missing Ajax, and Views from the root folder (and the subdirs in those), and also the jobs folder in Other.

Av: Dennis Mortensgaard 22. jun 2021

RE: CS Packages broken when exporting script in elaborate folder structure

Hi,

For some reason I am not able to reproduce this in my environments. For me it creates the exact structure every time. Suggest you log this as a bug and provide a package for debugging.

Av: Michel Krohn-Dale 28. jun 2021