New Ranks & Badges For The Community!
Notice something different? The ranks and associated badges have gone "Star Fleet". See what they all mean HERE
Absent Member.
Absent Member.
8863 views

How do you find the corresponding Script name from Blueprint script tsc?

Jump to solution
Hi all,
I have difficultles in finding my script name from the Exported Blueprint script
e.g. scripte9140fe3-4725-4e41-8a40-2fceb5292eb.tsc

and getting the ID..........dd Script name which is in the SBM

How can i find the corresponding script name from the exported script filename?

Thanks,
Derek
Tags (3)
0 Likes
1 Solution

Accepted Solutions
Highlighted
Absent Member.
Absent Member.
Derek,
I'm assuming you're talking about the unzipped .msd or .mss file when you're referring to the .tsc files? There should be a file called definition.xml that if you open that in notepad and search for the .tsc file name will show you the corresponding script name in a section called scriptlist.

View solution in original post

0 Likes
2 Replies
Highlighted
Absent Member.
Absent Member.
Derek,
I'm assuming you're talking about the unzipped .msd or .mss file when you're referring to the .tsc files? There should be a file called definition.xml that if you open that in notepad and search for the .tsc file name will show you the corresponding script name in a section called scriptlist.

View solution in original post

0 Likes
Highlighted
Fleet Admiral
Fleet Admiral
SQL:

-- List AppScripts

Select
tsc.ts_Id As [Id] ,
Cast(tsc.ts_Name as VarChar(32)) As [Name] ,
tsc.ts_AuthorId As [AuthorId] ,
Cast(
Case
WHen tsc.ts_AuthorId > 0 Then (Select usr.ts_Name From ts_Users usr Where tsc.ts_AuthorId=usr.ts_Id)
Else ''
End as VarChar(48)
) as [Author] ,
-- I think SBM now stores all Scripts as Blobs
-- Cast(IsNull(tsc.ts_MacroStr,'') as VarChar(32)) As [MacroStr] ,
-- Cast(IsNull(tsc.ts_Filename,'') as VarChar(32)) As [Filename] ,
tsc.ts_BlobId As [BlobId] ,
Cast(tsc.ts_UUID as VarChar(38)) As [UUID] ,
tsc.ts_SolutionId As [SolutionId] ,
Cast(
Case
WHen tsc.ts_SolutionId > 0 Then (Select sol.ts_Name From ts_Solutions sol Where tsc.ts_SolutionId=sol.ts_Id)
WHen tsc.ts_SolutionId = 0 Then '[Global]'
Else ''
End as VarChar(32)
) as [Solution Name]
From
ts_Macros tsc
Order By
[Solution Name] , [Name]
;
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.