Salesforce

Overwrite Current (Magic xpa 3.x)

« Go Back

Information

 
Created ByKnowledge Migration User
Approval Process StatusPublished
Objective
Description

Overwrite Current (Magic xpa 3.x)

When you select the Overwrite Entry option, the overwritten entry content is lost and replaced by the overwriting entry. The relative links of the original entry are preserved.

Magic xpa's method for overwriting an entry is:

  1. Park on the target entry (the one that you want to overwrite).

  2. Select the Edit menu > Entries > Overwrite Entry option or press Ctrl+Shift+O. Note: The keyboard combination in the Expression Editor is Ctrl+Shift+W (Since version: 3.0).

  3. In the Overwrite Current dialog box, specify the source entry. You can zoom (F5) from the By Entry field to get a list of the elements in the repository and retrieve the wanted entry from it.

    The source entry will be copied (and replace) the content of the current entry that you are parked on.

Magic xpa lets you determine how the internal sequence numbers (ISNs) should be calculated for an overwritten table entry as displayed.

The data source object in the Data repository differs from other objects in that its internal elements, columns and indexes, can be referenced from other objects in the project. When overwriting a data source entry with another data source entry, by default, the column and index internal references are kept according to the existing references of the overwritten data source following their sequential order.

The Advanced button in the Overwrite Data Source dialog box shows advanced options to finely tune the overwrite procedure.

When you click the Advanced button, the following fields appear:

Keep references of – You can select either Overwritten Data Source or Overwriting Data Source.

Matched columns and indexes by – The options for this parameter affect how ISNs are set. The options are:

  • Sequential Order – The column and index ISNs are assigned according to the ISNs in the overwritten data source. For example, column 1 in the result data source will have the ISN of column 1 in the overwritten data source. If there are more columns in the overwriting data source, the additional columns will get new ISNs according to the highest ISN in the overwritten data source.
  • Description – Each column/index (from the overwriting data source) will be searched for in the overwritten data source according to its description.
    If it exists, it will get the same ISN as the overwritten column/index.
    If more than one column/index exists with the same description in the overwritten data source, it will get the ISN of the first.
    If more than one column/index exists with the same description in the overwriting data source, the second will get a new ISN according to the highest ISN from the overwritten data source.
    If the column’s/index’s description does not exist in the overwritten data source, the column/index will get a new ISN according to the highest ISN in the overwritten data source.

Related Topics

Reference
Attachment 
Attachment