Home > X++ stuffs > Multiple XPO Import Version – 3

Multiple XPO Import Version – 3



Hey Guys,

I have added a small Add-in feature to the existing tool which will create a Project for all the imported elements. Each import will have a following namespace (ImportProject) followed by underscore and a random number appended to the namespace. The Time stamp is also added in html log to know at what time the elements were imported.



The Project name can be modified based on your requirement. To achieve the following please mofidy the code in the below part

public void createProject(TreeNodePath         _path,
                          identifiername       _projectName 
= strfmt("%1%2_%3", "@SYS105127", "@SYS36368", new Random().nextInt()),
ProjectSharedPrivate _type
= ProjectSharedPrivate::ProjShared)

Please let me know your suggestion if any so that i can/modify more to this XPO import tool 🙂

Download Link: http://cid-264a0056cbcbb1d3.office.live.com/embedicon.aspx/.Public/SharedProject_MultipleXPOImport_WorkingStill_v3.xpo

Advertisements
Categories: X++ stuffs
  1. June 22, 2011 at 5:46 pm

    As always,INFORMATIVE & USEFUL… keep posting such entries..

  1. No trackbacks yet.

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: