Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • 07:05
  • Nov 28 01:44
    hkendall starred cmv/cmv-app
  • Nov 26 16:55
  • Nov 25 22:37
    tmcgee closed #929
  • Nov 25 20:05
    tmcgee milestoned #929
  • Nov 25 19:36
    tmcgee labeled #929
  • Nov 25 19:36
    tmcgee review_requested #929
  • Nov 25 19:36
    tmcgee review_requested #929
  • Nov 25 19:36
    tmcgee opened #929
  • Nov 22 23:15
    tmcgee closed #928
  • Nov 22 23:15
    tmcgee milestoned #928
  • Nov 22 18:25
    greenkeeper[bot] labeled #928
  • Nov 22 18:25
    greenkeeper[bot] opened #928
  • Nov 18 03:40
    jumpinjackie starred cmv/cmv-app
  • Nov 16 22:57
    tmcgee closed #927
  • Nov 16 22:57
    tmcgee milestoned #927
  • Nov 16 12:31
    greenkeeper[bot] labeled #927
  • Nov 16 12:31
    greenkeeper[bot] opened #927
  • Nov 07 22:50
  • Oct 29 10:37
César Augusto
@carrbrpoa
image.png
1 drag to left then 1 drag to right:
image.png
Tim McGee
@tmcgee
@carrbrpoa seems familiar but I don't recall the previous reference. Definitely a dojo thing.
César Augusto
@carrbrpoa
No problem
Tim McGee
@tmcgee
both @duckblaster and @carrbrpoa are in the southern hemisphere. Maybe that explains the common problem with jspdf. 😉
César Augusto
@carrbrpoa
:cry:
Denverino
@Denverino
Hello. It is possible to set "zoom to layer" in dynamic sublayer menu option?
Denverino
@Denverino
I found noZoom option, but i can't to set it for each sublayer
biljanaManeva
@biljanaManeva
@carrbrpoa does your report widget working now? I have problem with the encoding UTF 8, i google it for that and look more posts that jspdf script doesnt support UTF8 encoding. Can someone help me about this how to solve it? Thanks.
César Augusto
@carrbrpoa
@biljanaManeva it is working now. What is the problem you see? Does your data come correctly from services?
biljanaManeva
@biljanaManeva
No, its not coming correctly from service and the same problem i have it from text field in config/reportWidget.js.
@carrbrpoa i forgot to tell you, the fields from service are cyrilic.
César Augusto
@carrbrpoa
Just a long shot, but if it's not coming correctly from service, maybe could be a Server issue with encoding? :eyes:
biljanaManeva
@biljanaManeva
i read on forums that jspdf script doesnt support utf8 encoding.
biljanaManeva
@biljanaManeva
does anyone have the same problem with hieroglyphs in report pdf file ?
César Augusto
@carrbrpoa
I just use accented chars. Like ã, é, ó, õ, ô..
Tried to play with the versions of jspdf?
Maybe jspdf-1.5.3.min combined with jspdf.plugin.autotable-3.2.9.min
In some of my testing I remember to use those versions - just don't remember the results :D
Currently I'm with jspdf-1.3.5.min.js and jspdf.plugin.autotable-2.3.1.min.js
biljanaManeva
@biljanaManeva
your characters display okay, but mine characters like these: а, б, в, г, ќ, ж .... its not display :(
Monika
@m0n1que
@tmcgee Is it possible to add custom columns in AttributesTable?
I need to add two additional columns, two buttons for each row in the table, to do some additional actions once the buttons are clicked?
What is the configuration for the columns in gridOptions
gridOptions:{
                    minWidth: 70,
                    columns: ["HOUSE_NUMBER"],  // this is not working 
                    sort: [], 
                    defaultColumnWidth: 100,  
                    columnHide: true,  
                    columnReorder: true,
                    columnResize: true,
                    pagination: true,
                    paginationOptions: {
                        rowsPerPage: 50,
                        previousNextArrows: true,
                        firstLastArrows: true,
                        pagingLinks: 2,
                        pagingTextBox: true,
                        showLoadingMessage: true
                    }
                },
Tim McGee
@tmcgee
@m0n1que This example config shows one way to add a button to the columns array.
biljanaManeva
@biljanaManeva
@tmcgee hey team can i ask you something? Is it possible to set style z-index on map in report widget
map: { top: 25,
left: 15,
height: 550,
width: 550,
dpi: 144, //multiple of 72
format: 'JPG',
preserveScale: false,
border: false
        },
Monika
@m0n1que
@tmcgee thank you so much!
wangadpeng0007
@wangadpeng0007
The interface of the app is not so beautiful,do you have a new version?
tahmedlewisville
@tahmedlewisville
@rylincoln Did you get this to work? I want to do the same, either as a layer or base map. Here's the format we get from Nearmap with our token ... https://api.nearmap.com/wms/v1/places/#############/apikey/**************.
wangadpeng0007
@wangadpeng0007
how to change the layout? the layout is out of date ,the left function panel can be floated?
wangadpeng0007
@wangadpeng0007
@tmcgee how to change the layout? the layout is out of date ,the left function panel can be floated?
Monika
@m0n1que

@tmcgee How can I get selected features from Attributes Table?
Can you give me an example of using this :
``
// get the selected features

topicID + '/getSelectedFeatures'
``

Tim McGee
@tmcgee
@wangadpeng0007 There are other ways to create layouts using dojo toolkit or other tools but those are outside of the CMV framework itself. Have you seen this example using Esri's Calcite Maps?
@m0n1que Not sure I have every actually used that topic to get the selected feature(s). I'll take a look in my client projects and let you know if I have an example.
Tim McGee
@tmcgee
@biljanaManeva JSPDF doesn't have a way to set the z-index of the PDF elements. It draws various elements based on the order they are added to the PDF. The map is a little different from other elements like text or graphics because it must get the map image from the ArcGIS server. That results in less control of timing of when the map is drawn. I seem to remember considering adding settings to tell JSPDF to wait for the map before drawing certain elements. Not sure if completed that or not. I'll check the code when I get a chance.
Tim McGee
@tmcgee
@biljanaManeva Looking at the code, the map image is always added to the PDF first before any other elements on the page. (In actuality, the page header for page 1 is drawn first.)
triesco
@triesco
hello all. I have several attribute tables with tabs coming from different queries. How ever everytime I make a new query it always shows the last tab from attribute tables. I was trying to do something like topic.subscribe('attributesContainer1' + '/selectTab'); but that dont work. Any ideas?
Tim McGee
@tmcgee
@triesco did you mean topic.subscribe? I think you should be using topic.publish and pass in the id or index of tab you want selected.
triesco
@triesco
@tmcgee Hello Tim, I tried both ways with subscribe and publish with no luck. Can you show me where should I pass id or index of tab and from where should I call it??
Tim McGee
@tmcgee
@triesco not knowing your code, I can't say exactly where you should call it. I assume this is your own custom code, not my Search widget where this is handled automatically. In concept, the line of code would look like this:
topic.publish("attributesContainer/selectTab", "yourID");
triesco
@triesco
That worked perfectly Tim! Cant thank you enough.
Tim McGee
@tmcgee
@triesco :thumbsup:
gisfinder
@gisfinder
@tmcgee In cmv-calcite, ESRI's calcite-web.js javascript library is not included? So the components rely on the library can't be used ?
Tim McGee
@tmcgee
@gisfinder That is correct. The various JavaScript libraries are not included in the cmv-calcite-maps example. You can copy them locally, host them on a CDN or place them wherever you'd like. Then you can adjust the locations within the packages array of app.js accordingly.
Ian Shiland
@ishiland
Can a layerGroup be set to expanded by default?
Tim McGee
@tmcgee
@ishiland good question. I don't think that is possible at present though a good option to consider if not there today
I am on mobile so can't check the code today
Ian Shiland
@ishiland
great, thanks. Not a high priority
gisfinder
@gisfinder
in calcitemap, where is the function of click menu item of sidebar? I want to load data into "Show Tables".
gisfinder
@gisfinder
I get it for the above question. It is in "_CalciteMixin.js" , the function is "_createBootstrapWidget".
gisfinder
@gisfinder
@tmcgee I want to load data into "Show Tables" after click the menu item is clicked. So I do not need the title widget window in the right part. How to set config to create widget? Then I can write code for loading data in the widget.