Re: Problem with component

2020-03-04 Thread Keisuke Miyako via 4D_Tech
Hello,

I recall there was a terrible bug in v13 where a constants xlf file inside 
component resources would seriously mess things up for the host.

I think it is fixed now.

also, it might be worth checking the actual content of the file, that it is 
using UUID-based IDs, not integer enumerations for groups and trans-units, to 
avoid conflicts.

also, only constants with an ID < 15000 are supported by clairvoyance 
type-ahead, but such IDs are reserved for 4D.

On Mar 5, 2020, at 2:06, Doug Hall via 4D_Tech 
<4d_tech@lists.4d.com> wrote:

By the way, if I remove the "Foundation
Constants.xlf" file from my parent DB's Resources folder, I can't access
the Foundation Constants while developing code. I'm hoping it's simply a
duplicate file, and DOESN'T cause problems.

**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Multi-Select Dropdown Menu

2020-03-04 Thread Keisuke Miyako via 4D_Tech
how about a listbox shown on a popup form window?

hierarchical list would also work, but the listbox offers more data source 
options.

On Mar 5, 2020, at 9:28, Douglas von Roeder via 4D_Tech 
<4d_tech@lists.4d.com> wrote:

I’d like to create a UI that supports selecting multiple values without the
menu closing.

With the exception of using a web area, is there anyway to do this in 4D?

**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Multi-Select Dropdown Menu

2020-03-04 Thread Douglas von Roeder via 4D_Tech
I’d like to create a UI that supports selecting multiple values without the
menu closing.

With the exception of using a web area, is there anyway to do this in 4D?

--
Douglas von Roeder
949-910-4084
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

4D interface with Sharepoint

2020-03-04 Thread Luc Devar via 4D_Tech
I need to create an interface with Sharepoint. Right now, I am managing all the 
documents within 4D but the client
would like to move this portion to Sharepoint.  I will need to push and 
retrieved documents basically. Nothing more than that.

Anyone has done something similar or maybe someone can point me to the right 
place to start investigating on how can this be done.

Luc Devar

**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Problem with component

2020-03-04 Thread Doug Hall via 4D_Tech
Thanks for the reply. I typically build the compiled component directly
into my parent DB's folder. I don't typically mess with the component, but
I thought I remembered being able to +K on a component method and
be SHOWN the method on the Browser Home screen. I knew I wouldn't be able
to edit the method, but at least I could easily switch over to the method's
description for documentation purposes. Am I imagining this? It's been a
while since I've been able to do this. I just kept trudging on, since it's
not a deal breaker.

Since you reminded me that I could, I decided to take the time to put the
uncompiled Foundation structure into my components folder, and traced
through my problem with the Alert2 command. For some odd reason, there was
this code:

*Case of*

*:* (*Count parameters*<2)

*:* (*$2*=0)  // Stop icon

*Fnd_Dlg_SetIcon* (3)

*:* (*$2*=1)  // Warn icon

*Fnd_Dlg_SetIcon* (2)

*:* (*$2*=2)  // Note icon

*Fnd_Dlg_SetIcon* (1)

*End case*

I didn't understand it, since the second parameter is a longint which made
more sense to pass directly to Fld_Dlg_SetIcon(). I modified it to do this,
and all is right with the world. By the way, if I remove the "Foundation
Constants.xlf" file from my parent DB's Resources folder, I can't access
the Foundation Constants while developing code. I'm hoping it's simply a
duplicate file, and DOESN'T cause problems.

Thanks for kicking my brain into gear!

On Tue, Mar 3, 2020 at 3:00 PM Ben Kershaw <4d...@bonaire-diver.com> wrote:

> Doug Hall wrote:
>
> >This particular component is Foundation, but unless it's corrupted
> somehow,
> >I don't think that's relevant to my problem. While the component structure
> >itself validates with a checkmark in the Maintenance Security Center, the
> >structure index doesn't seem to work. I can move my structure index of the
> >component to another folder, reopen the component (thus rebuilding the
> >index), build the component, placing the built component into my parent
> >DB's (components) folder. Yet, when I +K on a component method
> >from the parent DB, it will always point me to some local object method
> >instead. It used to simply show me that it was a component message, but it
> >would at least point me to the right thing.
>
> >Yesterday, I realized that it's not even getting some of my constants
> >right. If I do Alert2("Some message";FND_Dlg_NoteIcon), it shows me the
> >Fnd_Dlg_WarnIcon icon, instead.
>
> Doug,
>
> Are you using a compiled component, or are you just putting the component
> structure in the host’s “Components” folder? You said “… build the
> component” so I’d assume compiled, but just making sure.
>
> Either way, you won’t be able to edit the component methods while in the
> host, even if you’re using the source structure in the Components folder.
> You can trace execution (if not using a compiled component), but you can’t
> edit or even view the code.
>
> Regarding the constants, if you’re using the source DB in the host’s
> Components folder you’ll need to include the constants file(s) from the
> component DB in the host’s “Resources” folder, as well as include the
> “.4DIndy” file from the component’s folder in the host’s “Components”
> folder. If you’re using a compiled component, you don’t need either of
> these (and I imagine including them would cause problems).
>
> Have you checked the host’s Resources folder to make sure you don’t have
> any duplicate IDs?
>
> Regards,
> Ben Kershaw
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: ALP Documentation Link?

2020-03-04 Thread Philippe Ganter via 4D_Tech
Hi Tom and Douglas,

The AreaList Pro version 9.9.5 documentation link has been fixed on 
www.e-node.net/alp

Direct link:
https://www.e-node.net/en/ftp/AreaListPro/9.9.5_Previous_Version/AreaListPro_Manual.pdf

The link for v10 wikidoc is:
https://alp-docs.e-node.net

Thank you for reporting!

Best regards,
-- 
Phil



> On 3 Mar 2020, at 21:18, Tom Benedict via 4D_Tech <4d_tech@lists.4d.com> 
> wrote:
> 
> Thanks Doug!
>> https://www.e-node.net/en/P1/AreaList-Pro.html 
>> 
>> About half way down the page is the header “Documentation” and which has
>> links to documentation for ALP V10 in the form of wiki entries, as well as a 
>> link
>> to the PDF docs which cover up to version 9.9.x, and there’s also a link to 
>> release notes for the current version. 
> 
> Yeah, I saw/see those pages. I dug around in the wiki for a while, but it 
> seems to only include “New” or “Modified” commands. I was just looking for a 
> listing of commands and their descriptions. The link to the ALP 9 docs takes 
> me to a “this folder doesn’t exist!” page. I sleuthed my way through that URL 
> and found a link to 
> https://www.e-node.net/ftp/AreaListPro/AreaListPro_v10_Manual_URL.webloc, but 
> that just loops me back to the original “documentation” page. The pages 
> appear to be in need of some attention.
> 
> I downloaded both the ALP64 10.3.zip and ALP 10.3.zip files and neither 
> included documentation that I could find. 
> 
> Another developer sent me the v9 docs PDF just now so I’ve got everything I 
> need.
> 
>> The most common error values that I’ve seen are 3 (invalid area reference) 
> 
> That was it! It turned out that the code was generic and assumed a valid ALP 
> area reference existed, which in one form didn’t.
> 
> As you can probably tell, ALP is not a tool I have much experience with. It’s 
> used extensively in the app I’m now supporting, so I need to get to a certain 
> level of skill with it. 
> 
> Thanks again!
> 
> Tom
> 
>> On Mar 3, 2020, at 11:26, Douglas von Roeder  wrote:
>> 
>> Tom:
>> 
>> The main page for ALP is here:
>> https://www.e-node.net/en/P1/AreaList-Pro.html 
>> 
>> 
>> About half way down the page is the header “Documentation” and which has 
>> links to documentation for ALP V10 in the form of wiki entries, as well as a 
>> link to the PDF docs which cover up to version 9.9.x, and there’s also a 
>> link to release notes for the current version. 
>> 
>> Error codes for AL_AddColumn? If you “find for" “AL_AddColumn”, there’s a 
>> link to “Result Code” in the paragraph following the first highlighted 
>> instance of that command. Clicking on that link takes you to page 277 which 
>> lists the 13 values that can be returned by the command.
>> 
>> The most common error values that I’ve seen are 3 (invalid area reference) 
>> or, when using arrays, a code of 9 which means that the arrays that you 
>> passed differ in size. 0 is your friend. 
>> 
>> Feel free to contact me off line if you don’t want to post the issue here on 
>> the NUG or you can contact tech support via the eNode forum. Advantages to 
>> using the eNode forum - the folks at eNode are very helpful and you might 
>> find that the issue that’s got you stumped has already been discussed.   
>> 
>> --
>> Douglas von Roeder
>> 949-910-4084
>> 
>> 
>> On Tue, Mar 3, 2020 at 4:28 AM Tom Benedict via 4D_Tech 
>> <4d_tech@lists.4d.com > wrote:
>> Not sure why I can’t find it right now, but I’m looking for a URL that will 
>> take me to AreaListPro documentation. I’m having trouble navigating the 
>> eNode website and keep running into dead ends.
>> 
>> If anyone can send me a link I’d appreciate it. Right now I don’t think it 
>> matters what version. I’m just looking for an explanation of the error codes 
>> returned by the AL_AddColumn command.
>> 
>> Thanks,
>> 
>> Tom Benedict






























**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Here's a great Mac App for testing and consuming REST services

2020-03-04 Thread Jody Bevan via 4D_Tech
Thanks Dave Nasralla and Keisuke Miyako for these recommendations. 

Jody Beva

> On Mar 4, 2020, at 12:37 AM, Dave Nasralla via 4D_Tech <4d_tech@lists.4d.com> 
> wrote:
> 
>  JSON Editor 

**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**