Learning Documentation Community Open Exchange Global Masters Certification Partner Directory Ideas Portal
Developer Community
  • Posts
    • InterSystems Official
    • Articles
    • Questions
    • Announcements
    • Discussions
    • Tags
  • Events
    • Tech Article Contest
    • Programming Contest
    • InterSystems Ideas Contest
    • Event Calendar
  • Products
    • InterSystems IRIS
    • InterSystems IRIS for Health
    • HealthShare
    • TrakCare
    • Caché
    • Ensemble
    • InterSystems Analytics (DeepSee)
    • InterSystems Text Analytics (iKnow)
  • Jobs
    • Job Opportunity
    • Job Wanted
  • Members
  • About
    • About Us
    • FAQ
    • Feedback
    • Report an Issue
    • Share an Idea
    • Code of Conduct
    • Contact Us

EN

Search by posts, members, tags
Language
EN|
ESPTJPCNFREN
New post
  • Profile page
  • Posts (246)
  • Replies (3,099)
  • Mentions (383)
  • Official certification & Credly badges (0)
  • Global Masters badges (108)
  • Followers (66)
  • Following (1)
AllAccepted answers
    go to post
Robert Cemper · Aug 17, 2023

You OTHER thought is supported by CPIPE
see Execute Server Commands from Caché / Ensemble / IRIS

0 0 https://community.intersystems.com/post/icmpping-objectscript?page=23#comment-233296
    go to post
Robert Cemper · Aug 17, 2023

Here is a working simple example to start with
https://community.intersystems.com/post/download-globals-xml-using-csp
with an OEX package

0 0 https://community.intersystems.com/post/download-globals-particular-server?page=23#comment-233286
    go to post
Robert Cemper · Aug 16, 2023

add this line to your method OnPreHTTP()

 set %response.Headers("Content-Disposition")="attachment; filename=""your-file-name.some"""
0 0 https://community.intersystems.com/post/how-download-files-server-csp-page-using-mime-data?page=23#comment-233246
    go to post
Robert Cemper · Aug 15, 2023

good point:
there are only  17 rules referring to BUGS:

In total the quality check shows 106 rules

So there is more and I personally deeply disagree with some of them

0 0 https://community.intersystems.com/post/new-rules-objectscriptquality?page=23#comment-233186
    go to post
Robert Cemper · Aug 15, 2023

Not a ready-to-use solution, but a way to take

  1. export the global by SMP or embed %system.OBJ.Export to create *.XML file
  2. download it using <a href="~file_location~" download> explanation
1 0 https://community.intersystems.com/post/download-globals-particular-server?page=23#comment-233171
    go to post
Robert Cemper · Aug 14, 2023

With JOB you start an independent process in background.
You can pass any variable you may need.
But you can't pass the connection to the CSP page with all its settings.
the connection stays with the foreground job. 

0 0 https://community.intersystems.com/post/do-vs-job-method-call?page=23#comment-233061
    go to post
Robert Cemper · Aug 12, 2023

there is a standard utility %ETN that writes such logs with the stack 
and all other $system variables into the global ERRORs
if you call it by LOG^%ETN it does a kind of snapshot
details here  take a look
 

1 0 https://community.intersystems.com/post/how-create-global-node-without-knowing-number-keys-advance?page=23#comment-233001
    go to post
Robert Cemper · Aug 12, 2023

some formatting of output was applied

0 0 https://community.intersystems.com/post/remote-global-listing-using-nativeapi-objectscript-2?page=23#comment-232981
    go to post
Robert Cemper · Aug 11, 2023
  • not usable for Docker Windows Desktop
  • KITVERSION=latest  is just wishful thinking

😒😟

0 0 https://community.intersystems.com/post/web-access-nopws-container?page=23#comment-232956
    go to post
Robert Cemper · Aug 11, 2023

Are community images from intersystemsdc/  also affected ?

  • this may relate to all templates on OEX
  • and also 430  packages on OEX using docker
0 0 https://community.intersystems.com/post/web-access-nopws-container?page=23#comment-232851
    go to post
Robert Cemper · Aug 10, 2023

example moved here Remote Global Listing using NativeAPI for ObjectScript #1
 

0 0 https://community.intersystems.com/post/download-globals-particular-server?page=23#comment-232766
    go to post
Robert Cemper · Aug 10, 2023

my personal congratulations to the Winners !  👍

0 0 https://community.intersystems.com/post/meet-global-masters-winners-july-2023?page=23#comment-232646
    go to post
Robert Cemper · Aug 9, 2023

According to class  Class Contatos.Amiguinho you presented
Class Contatos.Empresa should look similar to this to work:

Class Contatos.Empresa Extends %Persistent
{
Relationship Nomedaempresa As 
    Contatos.Amiguinho [ Cardinality = many, Inverse = Trabalho ];

Property Nome As %String;

Storage Default
}
0 0 https://community.intersystems.com/post/what-correct-way-file-id-relationship?page=23#comment-232601
    go to post
Robert Cemper · Aug 9, 2023

It also needs an ID and a Relationship.

0 0 https://community.intersystems.com/post/what-correct-way-file-id-relationship?page=23#comment-232596
    go to post
Robert Cemper · Aug 9, 2023

you may run an export ^%G like on the remote server and then copy somehow the result

0 0 https://community.intersystems.com/post/download-globals-particular-server?page=23#comment-232441
    go to post
Robert Cemper · Aug 9, 2023

It's an orgy of IsDefined ($DATA) and GetNext( $ORDER) as equivalent of $QUERY is not implemented 

0 0 https://community.intersystems.com/post/download-globals-particular-server?page=23#comment-232431
    go to post
Robert Cemper · Aug 9, 2023

sorry, Insert() is only for the "MANY" side of the Relationship

0 0 https://community.intersystems.com/post/what-correct-way-file-id-relationship?page=23#comment-232411
    go to post
Robert Cemper · Aug 9, 2023

You just can insert existing IDs.
So you have to check first:

set emp=##class(Contatos.Empresa).%OpenId(IDt)
if $isObject(emp) Do objcontato.Trabalho.Insert(emp)

0 0 https://community.intersystems.com/post/what-correct-way-file-id-relationship?page=23#comment-232381
    go to post
Robert Cemper · Aug 9, 2023

Relationship is an Object concept that has no direct equivalent in SQL to handle it
The "MANY" end is basically just a piece of code ( RelationshipObject) to handle it.

By SQL you just can set it indirectly from the "ONE" end as you found yourself.
This is a real Property / Column that has a distinct value that you can touch and set
 

0 0 https://community.intersystems.com/post/how-file-sql-cardinalitymany?page=23#comment-232376
    go to post
Robert Cemper · Aug 9, 2023

Instead of Set  
Set objcontato.Trabalho=##class(Contatos.Empresa).%OpenId(IDt)  
you need to use method Insert()
Do objcontato.Trabalho.Insert(##class(Contatos.Empresa).%OpenId(IDt))  

See Docs

0 0 https://community.intersystems.com/post/what-correct-way-file-id-relationship?page=23#comment-232361
  • first
  • ‹ previous
  • …
  • 22
  • 23
  • 24
  • 25
  • 26
  • …
  • next ›
  • last
Robert Cemper
@Robert.Cemper1003
~~ retired but not tired ~~
MOD
Follow
Open Exchange profile

User statistics

Posts
246
Replies
3.1K
Likes
4K
Applications
81
Badges
108
Followers
66
People reached
127.8K
Accepted answers
1.1K
  • Privacy & Terms
  • Guarantee
  • Section 508
  • Contest Terms
  • Cookies Settings
© 2025 InterSystems Corporation, Cambridge, MA. All rights reserved.

Log in or sign up

Log in or create a new account to continue

Log inSign up

Log in or sign up

Log in or create a new account to continue

Log inSign up

Log in or sign up

Log in or create a new account to continue

Log inSign up

Log in or sign up

Log in or create a new account to continue

Log inSign up